QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1132|回复: 7

startx后新的问题又出现了

[复制链接]
发表于 2005-7-9 12:45:20 | 显示全部楼层 |阅读模式
装好gentoo后startx可以进gnome了,但重启后黑屏,只显示鼠标的黑叉,报错是

can not connect X server
在线求教
发表于 2005-7-9 13:21:09 | 显示全部楼层
rc-update add xdm default 了没有?
回复

使用道具 举报

 楼主| 发表于 2005-7-9 13:48:16 | 显示全部楼层
还是不行啊,现在的错误是:
引用:
AUDIT:Sat Jul 9 13:30:57 2005:8761 X:client 1 rejected from local host
Xlib:connection to ":0.0"refused by server
Xlib:No protocol specified

.
giving up.
xinit:unable to connect to X server
xinit:No such process (errno 3):Server error.
xauthargv):1:bad display name ":0" in "remove" command
xauthargv):1:bad display name ":0" in "remove" command
回复

使用道具 举报

发表于 2005-7-9 14:18:04 | 显示全部楼层
xorg.conf配置好了没啊?很有可能那里出了问题。
回复

使用道具 举报

 楼主| 发表于 2005-7-9 14:19:59 | 显示全部楼层
我的xorg.conf:
Section "ServerLayout"
Identifier     "X.org Configured"
Screen         "Screen0"
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath      "/usr/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules"
    FontPath  "/usr/share/fonts/misc"
    FontPath  "/usr/share/fonts/TTF"
    FontPath  "/usr/share/fonts/Type1"
    FontPath  "/usr/share/fonts/75dpi"
    FontPath  "/usr/share/fonts/100dpi"
    FontPath  "/usr/local/share/fonts"
    FontPath  "/usr/share/fonts"
    FontPath  "/usr/X11R6/lib/X11/fonts"
    FontPath  "/usr/local/share/fonts/TTF"
EndSection

Section "Module"
Load  "record"
Load  "extmod"
Load  "dbe"
Load  "dri"
Load  "glx"
Load  "xtrap"
Load  "freetype"
Load  "type1"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option     "Protocol" "Auto"
Option     "Device" "/dev/input/mice"
Option     "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"

Option     "XkbModel" "microsoftpro"
# Option     "XkbLayout" "dvorak,us"
Option     "XkbOptions" "grp:alt_shift_toggle"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
HorizSync    31.5 - 92.0
VertRefresh  40.0 - 150.0
EndSection

Section "Device"
Identifier  "Card0"
Driver      "ati"
VendorName  "ATI Technologies Inc"
BoardName   "Unknown Board"
BusID     "PCI:1:0:0"
Option     "AGPMode"   "4"
Option     "AGPFastWrite"  "True"
Option     "EnableDepthMoves"  "True"
Option     "EnablePageFlip"  "True"
Option     "RenderAccel"  "True"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 24
SubSection "Display"
  Depth 16
  Modes "1280x800"
EndSubSection
SubSection "Display"
  Depth   24
  Modes "1280x800"
EndSubSection
EndSection

Section "DRI"
Mode        0666
EndSection

看看有没错
回复

使用道具 举报

发表于 2005-7-9 14:31:07 | 显示全部楼层
爱莫能助,发SOS吧!
回复

使用道具 举报

发表于 2005-7-9 14:48:06 | 显示全部楼层
直接运行 X 行不行??
回复

使用道具 举报

 楼主| 发表于 2005-7-9 14:51:10 | 显示全部楼层
直接运行X是花屏
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-10-3 09:24 , Processed in 0.051920 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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