Posted on 2007-11-29 12:32
dybjsun 阅读(570)
评论(0) 编辑 收藏 所属分类:
Linux专题
在
命令行或者X-windows下修改/etc/inittab文件,代码如下:
.......
# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:
........
3为命令行,5为X-Windows