[问题]求助!!无法进入xwindows

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
yaxis
帖子: 33
注册时间: 2006-07-06 18:05

[问题]求助!!无法进入xwindows

#1

帖子 yaxis » 2007-01-29 13:55

为了配置笔记本的中键,我改了一下 /etc/X11/xorg.conf 的内容
重起后,报xserver有问题
我估计是改错了
于是在命令行下进入/etc/X11
想把xorg.conf的内容改回来,但不知道怎么编辑,因为gedit打不开它,可能我的命令不对?

又想我之前备份了xorg.conf,于是想把备份的xorg.conf-backup改名为xorg.conf覆盖,但是也不行,可能是我命令不熟
于是想不要瞎折腾了,先听听大家的意见再动手
到底该怎么办?问题是出在xorg.conf上吗?
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#2

帖子 zhuqin_83 » 2007-01-29 13:57

你xserver都起不来,怎么用gnome程序?
nano代替gedit.
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
yohu
帖子: 955
注册时间: 2006-12-18 17:04
来自: 福建泉州

#3

帖子 yohu » 2007-01-29 13:57

代码: 全选

sudo vi /etc/X11/xorg.conf
vi具体用法自己搜索一下了。
拥有超级牛力的搜索引擎:
http://www.google.com/linux
http://www.google.com/
yaxis
帖子: 33
注册时间: 2006-07-06 18:05

#4

帖子 yaxis » 2007-01-29 14:08

谢谢楼上两位
用nano打开了,但是不知道xorg.conf哪里错了
想用备份的xorg.conf-backup覆盖错误的xorg.conf,应该怎么办才对呢?
littleUbuntu
帖子: 1103
注册时间: 2006-10-19 9:02

#5

帖子 littleUbuntu » 2007-01-29 14:16

mv
yaxis
帖子: 33
注册时间: 2006-07-06 18:05

#6

帖子 yaxis » 2007-01-29 14:27

直接用nano 把xorg.conf-backup保存为xorg.conf可以吗?
ghost0
帖子: 364
注册时间: 2006-08-11 0:28

#7

帖子 ghost0 » 2007-01-29 14:31

可以,不过你不嫌麻烦嘛?用cp就好了,用法和dos的copy差不多
yaxis
帖子: 33
注册时间: 2006-07-06 18:05

#8

帖子 yaxis » 2007-01-29 14:49

用cp 把xorg.conf用xorg.conf-backup覆盖后正常了

谢谢楼上几位兄弟。我对linux命令太生疏了,基本常用的都不会,惭愧一下

不过笔记中键不能用的问题依然没有解决
难道就没有办法么?
yohu
帖子: 955
注册时间: 2006-12-18 17:04
来自: 福建泉州

#9

帖子 yohu » 2007-01-29 16:20

外置鼠标么?如果是外置的,参考一下我的xorg.conf这一段:

代码: 全选

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection
注意先做好备份,不行再恢复回来。
拥有超级牛力的搜索引擎:
http://www.google.com/linux
http://www.google.com/
回复