Re: how do I stop X / gnome via SSH?

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



On Wednesday 23 July 2008, Paul Bijnens wrote:
> Rudi Ahlers wrote:
> > Hi all
> >
> > I need to disable / stop X from running on a remote server, to which I
> > only have SSH access, and I have never done this before. So, can
> > someone please tell me how todo it?
>
> telinit 3

This will cause the server to switch from runlevel 5 (which includes X) to 
runlevel 3 (which does not). _But_ a small warning here: runlevel 3 may very 
well differ in more ways that just lacking X. Depending on how your server is  
configured you may shutdown some services you wanted to keep (you may also 
start new ones you didn't expect).

To further investigate what you server does indeed run in runlevel 3 and 5 
study relevant columns from the command: "chkconfig --list".

/Peter

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
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