[CentOS] how do I stop X / gnome via SSH?
Paul Bijnens
paul.bijnens at xplanation.com
Wed Jul 23 07:59:32 UTC 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
And forgot to mention that, to disable it when the next time the server
reboots
edit the file /etc/inittab and set the default runlevel to 3, instead of
5, by
editing this line:
id:3:initdefault:
More information about the CentOS
mailing list