Re: Turning off X-Windows

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

thus ML spake:
> Hi All,
> 
> How does one best turn of X-Windows? I dont need it, ssh works just  
> fine for me.
> 
> I seem to recall it was complicated and since I know enough to do my  
> stuf and not well versed yet in fixing things I break, I dont want to  
> blow this up.

Just edit /etc/inittab and choose the appropriate runlevel:

(...)

# Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have
networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:
   ^
Change this vaulue to '2' or '3' (see decriptions above).

(...)

> Best,
> -ML

HTH,

Timo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org/

iD8DBQFK4vzVO/2mgkVVV7kRArL/AKDDixr+pULH2+P3gi7bpDh0Igg6JQCgmmLX
tuDB0Z/CDLjg1eSAbKTPusw=
=fYi3
-----END PGP SIGNATURE-----
_______________________________________________
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