蓝森林首页 | 返回主页 | 本站地图 | 站内搜索 | 联系信箱 |
 您目前的位置:首页 > 自由软件 > 技术交流 > 系统管理


    

蓝森林 http://www.lslnet.com 2006年4月6日 20:18


[菜鸟求助]

为什么我不能启动X啊

# startx
xauth:  creating new authority file /root/.Xauthority
xauth: (argv):1:  bad display name ":0" in "list" command
xauth:  creating new authority file /root/.Xauthority
Using authority file /root/.Xauthority
xauth: (stdin):1:  bad display name ":0" in "add" command
xauth:  creating new authority file /root/.Xauthority
xauth: (argv):1:  bad display name ":0" in "list" command
xauth:  creating new authority file /root/.Xauthority
Using authority file /root/.Xauthority
xauth: (stdin):1:  bad display name ":0" in "add" command


XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 5.2.1 i386 [ELF]
Build Date: 13 February 2004
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Aug  3 17:23:00 2004
(==) Using config file: "/etc/X11/XF86Config-4"
(WW) VMWARE: No matching Device section for instance (BusID PCI:0:15:0) found
(EE) No devices detected.

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.

X connection to :0.0 broken (explicit kill or server shutdown).
xauth:  creating new authority file /root/.Xauthority
xauth: (argv):1:  bad display name ":0" in "remove" command
xauth: (argv):1:  bad display name ":0" in "remove" command

[菜鸟求助]

用xinit命令吧
网络设置的问题

[菜鸟求助]

在root权限下
#cd /etc/X11
#ee XF86Config

然后参照下面的范本修改你的XF86Config

Section "Module"  

Load "dbe"  
Load "type1"  
Load "speedo"  

Load "glx"  
Load "dri"  

EndSection  



Section "Files"  
RgbPath "/usr/X11R6/lib/X11/rgb"  

FontPath "/usr/X11R6/lib/X11/fonts/local/"  
FontPath "/usr/X11R6/lib/X11/fonts/misc/"  
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"  
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"  
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"  
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"  
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"  
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"  
EndSection  



Section "ServerFlags"  

EndSection  



Section "InputDevice"  

Identifier "VMware-Keyboard"  
Driver "Keyboard"  
Option "AutoRepeat" "500 30"  
Option "XkbRules" "xfree86"  
Option "XkbModel" "pc105"  
Option "XkbLayout" "us"  

EndSection  


Section "InputDevice"  
Identifier "VMware-Mouse"  
Driver "mouse"  
Option "Protocol" "Auto"  
Option "Device" "/dev/sysmouse"  
Option "ChordMiddle"  

EndSection  

Section "Monitor"  

Identifier "VMWare Virtual Monitor"  
HorizSync 31.5 - 57.0  
VertRefresh 50-100  

EndSection  


Section "Device"  
Identifier "VMWare Virtual Card"  
Driver "vmware"  

EndSection  


Section "Screen"  
Identifier "VMware Screen"  
Device "VMWare Virtual Card"  
Monitor "VMware Virtual Monitor"  
DefaultDepth 16

Subsection "Display"  
Depth 16  
Modes "800x600"  
ViewPort 0 0  
EndSubsection  
EndSection  



Section "ServerLayout"  

Identifier "Simple Layout"  
Screen "VMware Screen"  
InputDevice "VMware-Mouse" "CorePointer"  
InputDevice "VMware-Keyboard" "CoreKeyboard"  

EndSection

[菜鸟求助]

不好意思,你的应该是
#cd /etc/X11
#ee XF86Config-4

然后在修改XF86Config-4



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 蓝森林网站 版权所有。 E-mail : webmaster@lslnet.com