Disable X-Window In Ubuntu
Ubuntu uses X Display Manager(xdm、gdm、kdm or wdm) to startup X-Window, if we want to disabled X-window, we need to disable X Display Manager.
Operations
check run level
$runlevel
# output N 2
rename X Display Manager
base on runlevel (2), we can found the file name like S30gdm
under
/ect/rc2.d
, this is X Display Manager. we rename it to _s30gdm, and
reboot.
file name pattern
S30gdm
- S for start up, K or shut down
- 30 : priority, maybe difference with yours
- gdm : a kind of X Display Manager.