Centos7桌面版开机自动登陆root
vi /etc/gdm/custom.conf 下的[daemon]加如下: [daemon] AutomaticLoginEnable=True AutomaticLogin=root