I found that /usr/sbin/gdm-restart will also do the trick. <br><br>thanks, <br><br><div class="gmail_quote">On Thu, Aug 13, 2009 at 5:13 PM, Ron Loftin <span dir="ltr"><<a href="mailto:reloftin@twcny.rr.com">reloftin@twcny.rr.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
On Thu, 2009-08-13 at 16:59 -0700, grace rante wrote:<br>
><br>
> Does anybody know how to restart X in centos 5.3? /etc/init.d/gdm |<br>
> xdm seems to be missing.<br>
><br>
<br>
</div>Those scripts never existed. GDM runs from an entry in /etc/inittab,<br>
not from an "rc" script. You should have these two lines<br>
in /etc/inittab:<br>
<br>
# Run xdm in runlevel 5<br>
x:5:respawn:/etc/X11/prefdm -nodaemon<br>
<br>
So if you have a need to restart X, do "telinit 3 ; telinit 5" and that<br>
will stop and start the gdm process.<br>
<br>
> thanks,<br>
><br>
> _______________________________________________<br>
> CentOS mailing list<br>
> <a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
> <a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
--<br>
Ron Loftin <a href="mailto:reloftin@twcny.rr.com">reloftin@twcny.rr.com</a><br>
<br>
"God, root, what is difference ?" Piter from UserFriendly<br>
<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</blockquote></div><br>