Ubuntu使用root用户登录图形界面
打开配置文件vim /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
在最后一行添加:
greeter-show-manual-login=true
打开配置文件vim /root/.profile
将最后一行修改为:
tty -s && mesg n || true
打开配置文件vim /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
在最后一行添加:
greeter-show-manual-login=true
打开配置文件vim /root/.profile
将最后一行修改为:
tty -s && mesg n || true