LinuxSir.cn,穿越时空的Linuxsir!

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

为什么在kde下可以正常显示,在gnome下是花屏呢

[复制链接]
发表于 2005-12-30 14:12:40 | 显示全部楼层 |阅读模式
A在vmware里装得debian3.1,sarge,昨天想把gnome的1024*768调到800*600,从新配置了xorg(dpkg-reconfigure xserver-xorg),结果/etc/X11/xorg.conf文件损坏,先apt-get remove再apt-get install x-window-system-core xserver-xorg xserver-xfree86,按要求的配置一步一步来,结束后还不行,然后把rm /etc/X11/xorg.conf,再用dpkg-reconfigure xserver-xorg,这下配好了,但是只能进kde,进gnome就是花屏(无论1024*768,800*600),并且现在kde是1024*768,但是进gnome是800*600花屏,怎么会是亚,xorg.conf在2楼


B在登陆界面用xterm终端登陆,然后用startx,可是提示没有host,手工在/etc/hosts下添加了一行"debian.example.com",但是还不行,不知A和B有没有联系.

debian:~# startx
hostname: Unknown host
xauth: (argv):1: bad display name "debian.example.com:0" in "list" command
xauth: (stdin):1: bad display name "debian.example.com:0" in "add" command

X: warning; process set to priority -11 instead of requested priority -10

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.


Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.

xauth: (argv):1: bad display name "debian.example.com:0" in "remove" command
debian:~#
 楼主| 发表于 2005-12-30 14:32:47 | 显示全部楼层
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
        FontPath        "unix/:7100"                        # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load        "GLcore"
        Load        "bitmap"
        Load        "dbe"
        Load        "ddc"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "record"
        Load        "speedo"
        Load        "type1"
        Load        "vbe"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "keyboard"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xfree86"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/psaux"
        Option                "rotocol"                "ImPS/2"
        Option                "Emulate3Buttons"        "true"
        Option                "ZAxisMapping"                "4 5"
EndSection
Section "InputDevice"
        Identifier        "Generic Mouse"
        Driver                "mouse"
        Option                "SendCoreEvents"        "true"
        Option                "Device"                "/dev/input/mice"
        Option                "rotocol"                "ImPS/2"
        Option                "Emulate3Buttons"        "true"
        Option                "ZAxisMapping"                "4 5"
EndSection

Section "Device"
        Identifier        "VMWare Inc [VMWare SVGA II] PCI Display Adapter"
        Driver                "vmware"
        Option                "UseFBDev"                "true"
EndSection

Section "Monitor"
        Identifier        "Generic Monitor"
        HorizSync        28-50
        VertRefresh        43-75
        Option                "DPMS"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "VMWare Inc [VMWare SVGA II] PCI Display Adapter"
        Monitor                "Generic Monitor"
        DefaultDepth        16
        SubSection "Display"
                Depth                1
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
        InputDevice        "Generic Mouse"
EndSection

Section "DRI"
        Mode        0666
EndSection
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-30 15:05:12 | 显示全部楼层
debian:~# startx
hostname: Unknown host
xauth: (argv):1:  bad display name "debian.example.com:0" in "list" command
xauth: (stdin):1:  bad display name "debian.example.com:0" in "add" command

X: warning; process set to priority -11 instead of requested priority -10

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the The X.Org Foundation support
         at http://wiki.X.Org
for help.

xauth: (argv):1:  bad display name "debian.example.com:0" in "remove" command
debian:~#
回复 支持 反对

使用道具 举报

发表于 2005-12-30 19:07:24 | 显示全部楼层
看/var/logs/xfree86.log.0类似这个名字的记录文件,里面有详细的出错信息
你这里很奇怪的是host文件里不应该是空的啊
加一个localhost 127.0.0.1进去看看?
回复 支持 反对

使用道具 举报

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

本版积分规则

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