如果不设置,每次要用到root用户时都要输入密码,感觉比较麻烦
vim /etc/gdm/custom.conf
在[daemon]加入两行
# GDM configuration storage
[daemon]
AutomaticLoginEnable=True
AutomaticLogin=root
[security]
[xdmcp]
[greeter]
[chooser]
[debug]
重启机器才会生效
博客提到不设置的话,使用root用户每次都需输入密码,较为麻烦。可在[daemon]中加入两行内容,且设置完成后需重启机器才能生效。
如果不设置,每次要用到root用户时都要输入密码,感觉比较麻烦
vim /etc/gdm/custom.conf
在[daemon]加入两行
# GDM configuration storage
[daemon]
AutomaticLoginEnable=True
AutomaticLogin=root
[security]
[xdmcp]
[greeter]
[chooser]
[debug]
重启机器才会生效
9984
3万+
1936
9077
1万+

被折叠的 条评论
为什么被折叠?
