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 切換回圖形界面
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章