vim /etc/gdm/custom.conf#[daemon]#AutomaticLoginEnable=True#AutomaticLogin=rootreboot 查看bash进程,可以使用ps -aux | grep ‘bash’