[CentOS] how do I stop X / gnome via SSH?

A. Kirillov nevis2us at infoline.su
Wed Jul 23 08:09:42 UTC 2008

>> 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

If you need the server to stay at runlevel 3 after a reboot
change id:5:initdefault: to id:3:initdefault: in /etc/inittab.
Make sure the required services are enabled at this runlevel.

More information about the CentOS mailing list