目的:解决在某些情况下需要开机启动某些软件,但是登录验证阻止了开机自启。
解决方式:跳过登录验证,直接登录用户。
修改配置文件:
sudo vim /etc/gdm3/custom.conf
# 或者使用
sudo gedit /etc/gdm3/custom.conf
修改文件中的
AutomaticLoginEnable = true
AutomaticLogin = <user name>
参考:https://askubuntu.com/questions/967847/ubuntu-17-10-gdm-auto-login-not-working/974937#974937
本文介绍了解决在Ubuntu系统中因登录验证导致无法开机自启软件的问题。通过修改配置文件/etc/gdm3/custom.conf,设置AutomaticLoginEnable为true并指定AutomaticLogin用户名,实现跳过登录验证直接登录用户,从而确保软件能正常开机自启。
1662

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



