修改/etc/gdm/custom.conf
# GDM configuration storage
[daemon]
# Uncoment the line below to force the login screen to use Xorg
#WaylandEnable=false
#TimedLoginEnable=true
#TimedLogin=root
#TimedLoginDelay=1
AutomaticLoginEnable=true
AutomaticLogin=root
[security]
[xdmcp]
[greeter]
[chooser]
[debug]
# Uncomment the line below to turn on debugging
#Enable=true
红色部分需要加的
本文介绍如何通过编辑GDM配置文件实现Linux系统的自动登录功能,具体步骤包括修改/etc/gdm/custom.conf文件中的[daemon]部分设置,启用AutomaticLogin并指定默认登录用户。
4397

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



