Fedora之root用户自动登陆
Fedora之root用户自动登陆
Fedora Workstation Version: 31
😄 Written by Zak Zhu
参考
- jonathanzhan/centos_7自动以root身份登录gnome桌面(https://blog.csdn.net/whatlookingfor/article/details/52382479)
- archlinux wiki: GDM (https://wiki.archlinux.org/index.php/GDM_(简体中文)#在登录列表中隐藏用户)
- gnome help administrators: Configuration (https://help.gnome.org/admin/gdm/stable/configuration.html.en#daemonsection)
配置自动登陆
添加GDM配置如下, 重启后生效
vim /etc/gdm/custom.conf
[daemon] AutomaticLoginEnable=true AutomaticLogin=root