Re: /etc/init.d/gdm for centos5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxx> 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@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
--
Ron Loftin                      reloftin@xxxxxxxxxxxx

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

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

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

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux