在VM中学习Linux,每次重启系统,都要登录,很单位时间,其实可以修改/etc/gdm/custom.conf 文件就可实现以root用户重新登录
gedit /etc/gdm/custom.conf,按以下添加
AutomaticLoginEnable=True #启用自动登录
AutomaticLogin=root #以root身份登录
然后重启使用命令 init 6 或者 reboot
在VM中学习Linux,每次重启系统,都要登录,很单位时间,其实可以修改/etc/gdm/custom.conf 文件就可实现以root用户重新登录
gedit /etc/gdm/custom.conf,按以下添加
AutomaticLoginEnable=True #启用自动登录
AutomaticLogin=root #以root身份登录
然后重启使用命令 init 6 或者 reboot