26

从Linux字符界面切换到图形界面的方法

 5 years ago
source link: https://www.linuxprobe.com/linux-picture.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

把其中的id:3:initdefault中的3改为5,这样以后系统启动后将直接进入文本模式。
以下是配置引导进入图形模式的etc/inittab文件的部分内容:

 #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:3:initdefault: //此处若改为3,系统将被引导进入文本登录提示符界


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK