Debian安装图形界面

#环境 Linux 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64

#安装gnome图形相关软件
apt install x-window-system-core gnome-core  

#设置系统为图形界面启动,该命令执行后系统会重启
init 6 

#===设置系统可以root登录===

#修改/etc/gdm3/daemon.conf文件
vi /etc/gdm3/daemon.conf
#在[security]下增加一行AllowRoot = true

#修改/etc/pam.d/gdm-password文件
vi /etc/pam.d/gdm-password

#注释掉auth required pam_succeed_if.so user != root quiet_success

#重启系统后,即可使用root登录。

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注