22

教你设置linux的登录方式

 5 years ago
source link: https://www.linuxprobe.com/set-linux.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.
导读  linux系统具有多种登录方式,最常见的终端形式的(字符串的界面,黑白屏的)和图形化的界面。每个用户都有自己青睐的界面。

具体的更改方式也很简单,只要改变/etc/inittab文件即可:

1.打开/etc目录下的inittab文件

2.找到:“id:5:initdefault:”这一行

3.其中的5就是指linux系统的登录方式

0 - halt

1 - single user mode

2 - Multiuser,without NFS

3 - Full multiuser mode

4 - unused

5 - xll

6 - reboot

将id后的数字改为3就是字符登录(黑白屏的),改为5就是图形界面

但是不要改为0或6,否则系统无法正常开机


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK