被公司的服务器搞得有点心烦,redhat系统的服务器,重启进入登录界面的时候网络就是断开,必须输入账号密码登录才能连上网,百度谷歌了很多,也没找到好的解决方法。网卡配置都已经设置了,ONBOOT=yes仍然不管用,突然想到设置开机自动登录,避免更多的麻烦,当然这不是很安全的方式。
vim /etc/gdm/custom.conf
在【daemon】下添加:
AutomaticLoginEnable=True
AutomaticLogin=root