I found that /usr/sbin/gdm-restart will also do the trick.

thanks,

On Thu, Aug 13, 2009 at 5:13 PM, Ron Loftin <reloftin@twcny.rr.com> wrote:

On Thu, 2009-08-13 at 16:59 -0700, grace rante wrote:
>
> Does anybody know how to restart X in centos 5.3? /etc/init.d/gdm |
> xdm seems to be missing.
>

Those scripts never existed.  GDM runs from an entry in /etc/inittab,
not from an "rc" script.  You should have these two lines
in /etc/inittab:

# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon

So if you have a need to restart X, do "telinit 3 ; telinit 5"  and that
will stop and start the gdm process.

> thanks,
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
--
Ron Loftin                      reloftin@twcny.rr.com

"God, root, what is difference ?"       Piter from UserFriendly

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos