LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 904|回复: 9

怎么关掉无用的X界面啊,我只想用TEXT的。

[复制链接]
发表于 2006-10-10 19:46:38 | 显示全部楼层 |阅读模式
研究了半天,没研究出来。
发表于 2006-10-10 20:37:56 | 显示全部楼层
你的X 是什么? KDE? GNOME?

关掉服务不就行了


/etc/init.d/gdm stop
/etc/init.d/kdm stop
回复 支持 反对

使用道具 举报

发表于 2006-10-10 22:40:36 | 显示全部楼层
ctrl+alt+backspace就可以进字符界面了吧.
回复 支持 反对

使用道具 举报

发表于 2006-10-10 22:45:50 | 显示全部楼层
ctrl+alt+backspace就可以进字符界面了吧.
回复 支持 反对

使用道具 举报

发表于 2006-10-10 23:16:48 | 显示全部楼层
1. edit  /etc/inittab
change
    # default runlevel
    id:5:.............
to
    id:3:..............

2. reboot
回复 支持 反对

使用道具 举报

发表于 2006-10-11 09:40:47 | 显示全部楼层
[QUOTE=][/QUOTE]
vi /etc/inittab
id:5:initdefault:-->id:3:initdefault
reboot
或是修改# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty vc/1
2:2345:respawn:/sbin/mingetty vc/2
3:2345:respawn:/sbin/mingetty vc/34:2345:respawn:/sbin/mingetty vc/4
5:2345:respawn:/sbin/mingetty vc/56:2345:respawn:/sbin/mingetty vc/6
中的2345中所有的5都删除了。。
回复 支持 反对

使用道具 举报

发表于 2006-10-11 17:02:03 | 显示全部楼层
楼上正解!!!!!!!!!!!!!!

id:5:initdefault:-->id:3:initdefault  ---->将中间的5改成3就可以了,这样子重启之后就会停在你想要的字符界面
回复 支持 反对

使用道具 举报

发表于 2006-10-11 17:02:21 | 显示全部楼层
楼上正解!!!!!!!!!!!!!!

id:5:initdefault:-->id:3:initdefault  ---->将中间的5改成3就可以了,这样子重启之后就会停在你想要的字符界面
回复 支持 反对

使用道具 举报

发表于 2006-10-11 20:23:19 | 显示全部楼层
Post by 神秘人物
研究了半天,没研究出来。
First of all, you should describe which distro you are using!

To 5,6,7 楼:

Different distribution may have different way to login X.  In some distro, like Debian, making changes to inittab will not work.  In such case, you should use windwiny's method (2nd floor) to stop xdm/kdm/gdm etc and then use freeman431's method (3rd floor) to kill X window.
回复 支持 反对

使用道具 举报

发表于 2006-10-11 20:35:45 | 显示全部楼层
直接装archlinux吧,很符合你的要求.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表