[CentOS] /etc/init.d/gdm for centos5

Fri Aug 14 00:13:57 UTC 2009
Ron Loftin <reloftin at twcny.rr.com>

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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos
-- 
Ron Loftin                      reloftin at twcny.rr.com

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