CentOS自动登录X11桌面 和 修改CentOS 默认启动


希望搭建一个基本的基于网络的协作服务器,开始拿自己的旧PC 开刀了, 慢慢积累先 。

CentOS自动登录X11桌面

http://shellfish.iteye.com/blog/580158

vim /etc/gdm/custom.conf

[daemon]

AutomaticLoginEnable=true

AutomaticLogin=simonsun

TimedLoginEnable=true

TimedLogin=simonsun

TimedLoginDelay=7


[security]

AllowRoot=false

-------------------------------------------------------

CentOS 默认启动 :


#vi /etc/inittab

修改 id : 3 : initdefault

3 - Full multiuser mode

如果要进入图形界面, 可以用 startx .

Ctrl + Alt +F1 ~ F6 可以在六个终端间切换, Ctrl + Alt + F7 切换回图形界面

相关内容