QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2825|回复: 18

这gentoo linux怎么退回字符界面啊?

[复制链接]
发表于 2005-7-6 15:27:21 | 显示全部楼层 |阅读模式
下了个老点的nvidia驱动,要退回字符界面安装。
输入init 3没用,修改inittab重启照样进入图形界面---没办法退回字符界面啊?
发表于 2005-7-6 15:48:50 | 显示全部楼层
rc-update -d xdm
回复

使用道具 举报

发表于 2005-7-6 15:55:13 | 显示全部楼层
rm /etc/runlevels/default/xdm
回复

使用道具 举报

发表于 2005-7-7 00:02:11 | 显示全部楼层

Re: 这gentoo linux怎么退回字符界面啊?

[quote:40578afd30="shadyslim"]下了个老点的nvidia驱动,要退回字符界面安装。
输入init 3没用,修改inittab重启照样进入图形界面---没办法退回字符界面啊?[/quote]
ctrl+alt+f[1-6]不就得了
之前可以先logout
没必要重起,当然rc-update也就免了
回复

使用道具 举报

发表于 2005-7-7 07:39:26 | 显示全部楼层
好象是xorg的问题,要在xorg.cong中把XKB给禁用了,让GNOME,KDE等之类的桌面管理器管理键盘,这样才能用ctrl+alt+F1(F2,F3,F4,F5...)
把Option "xkbDisable"前的#去掉
在它下面,EndSection上面的几个Option前加#
保存,注销一次应该就可以了
回复

使用道具 举报

 楼主| 发表于 2005-7-7 09:00:22 | 显示全部楼层

Re: 这gentoo linux怎么退回字符界面啊?

[quote:b2b0d5b411="zhllg"][quote:b2b0d5b411="shadyslim"]下了个老点的nvidia驱动,要退回字符界面安装。
输入init 3没用,修改inittab重启照样进入图形界面---没办法退回字符界面啊?[/quote]
ctrl+alt+f[1-6]不就得了
之前可以先logout
没必要重起,当然rc-update也就免了[/quote]

这样有用的话我就用不着发贴求助了啊!按ctrl+alt+f[1-6]并没有退出x-window。
回复

使用道具 举报

发表于 2005-7-7 12:54:02 | 显示全部楼层
你没开字符终端?
sorry, this situation is beyond my expectation
I assume you've already started agetty or sth like that.
回复

使用道具 举报

 楼主| 发表于 2005-7-7 13:19:11 | 显示全部楼层
nope,i mean that i've started x-window,so if it's in the x-window environment,there's no way to logout of the x,at least it doesn't work in the lastest gentoo linux.

click ctrl+alt+f[1-6] ain't actually layout the x-window.

now i find the way to solve,just rc-update del xdm,then it works fine.
回复

使用道具 举报

发表于 2005-7-8 02:46:14 | 显示全部楼层
it sounds weird
could you post your /etc/inittab here
回复

使用道具 举报

 楼主| 发表于 2005-7-8 11:18:40 | 显示全部楼层
weird?
FC4 doesn't even have the init command,that's exactly weird.
okay,check this out!
[code:1]#
# /etc/inittab:  This file describes how the INIT process should set up
#                the system in a certain run-level.
#
# Author:  Miquel van Smoorenburg, <[email protected]>
# Modified by:  Patrick J. Volkerding, <[email protected]>
# Modified by:  Daniel Robbins, <[email protected]>
# Modified by:  Martin Schlemmer, <[email protected]>
#
# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/files/inittab,v 1.2 2004/12/22 03:25:20 vapier Exp $

# Default runlevel.
id:5:initdefault:

# System initialization, mount local filesystems, etc.
si::sysinit:/sbin/rc sysinit

# Further system initialization, brings up the boot runlevel.
rc::bootwait:/sbin/rc boot

l0:0:wait:/sbin/rc shutdown
l1:S1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork
l3:3:wait:/sbin/rc default
l4:4:wait:/sbin/rc default
l5:5:wait:/sbin/rc default
l6:6:wait:/sbin/rc reboot
#z6:6:respawn:/sbin/sulogin

# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux

# SERIAL CONSOLES
#s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100

# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/sbin/shutdown -r now

# Used by /etc/init.d/xdm to control DM startup.
# Read the comments in /etc/init.d/xdm for more
# info. Do NOT remove, as this will start nothing
# extra at boot if /etc/init.d/xdm is not added
# to the "default" runlevel.
x:a:once:/etc/X11/startDM.sh

# End of /etc/inittab
[/code:1]
回复

使用道具 举报

 楼主| 发表于 2005-7-8 11:19:55 | 显示全部楼层
and i wonder if i wanna install an old version nvidia-kernel,how could i use emerge to do that?
回复

使用道具 举报

发表于 2005-7-8 11:44:20 | 显示全部楼层
emerge =nvidia-kernel-<version>
回复

使用道具 举报

发表于 2005-7-8 15:17:23 | 显示全部楼层
[quote:c506d3f522="shadyslim"]click ctrl+alt+f[1-6] ain't actually layout the x-window.

now i find the way to solve,just rc-update del xdm,then it works fine.[/quote]
You can simply type (after logining as root in another console)
# /etc/init.d/xdm stop
This way you don't have to reboot.
回复

使用道具 举报

 楼主| 发表于 2005-7-8 19:05:02 | 显示全部楼层

无效

[quote:c60492f062="herngwah"]emerge =nvidia-kernel-<version>[/quote]

[code:1]patrix ~ # emerge =nvidia-kernel-6629
Calculating dependencies
emerge: there are no ebuilds to satisfy "=nvidia-kernel-6629".
[/code:1]
回复

使用道具 举报

发表于 2005-7-8 20:05:40 | 显示全部楼层
进入ctrl+f1, 然后杀掉x; 或者直接进入single 安装
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-10-6 16:45 , Processed in 0.089451 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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