Linux ubuntu普通用户登录默认以root用户登录设置方法
首先修改/etc/lightdm/lightdm.conf,设置autologin-user=root
然后修改/root/.profile,注释掉mesg n || true,并且新添加一行:tty -s && mesg n
重启即可看到效果。
然后修改/root/.profile,注释掉mesg n || true,并且新添加一行:tty -s && mesg n
重启即可看到效果。