In ubuntu, how does one switch between the graphic interface and text interface ?, Ubuntu Gui
The Linux system runs on a specified running level at any time, and different running-level programs and services are different. The work to be done and the purpose to be achieved are different, the system can switch between these running levels to complete different tasks. Ubuntu system running level: * 0: shutdown level * 1: single user running level, run rc. script 2 in the sysinit and rc1.d directories: multiple users, but NFS is not started. In some linux systems, level 2 is the default mode and has network functions, such as ubuntu. debian * 3: multi-user, character mode, system startup with network functions, redhat common run level * 4: User-Defined Level * 5: graphic interface mode, redhat common run level * 6: at the restart level, let's take a look at how to set ubuntu graphics and text mode switching.
First, check the ubuntu version you have installed and run the command: cat/etc/issue.
The operation methods vary depending on different versions. The previous steps for ubuntu 10.10 are as follows:
/Etc/init/rc-sysinit.conf
Env DEFAULT_RUNLEVEL = 3 <------ change the original env DEFAULT_RUNLEVEL = 2 to env DEFAULT_RUNLEVEL = 3
Modify/etc/init/TPD. conf
Start on runlevel [245] <------ Add the stop on runlevel [0136] <----- change the original stop on runlevel [016] To stop on runlevel [0136]