[CentOS] how do I stop X / gnome via SSH? [SOLVED]
Rudi Ahlers
Rudi at SoftDux.com
Wed Jul 23 08:02:44 UTC 2008
Paul Bijnens wrote:
> 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:
>
> _______________________________________________
>
Cool, thanx :)
--
Kind Regards
Rudi Ahlers
Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff
More information about the CentOS
mailing list