Chinaunix

标题: X-window起不来. [打印本页]

作者: 笨@笨    时间: 2006-06-11 23:24
标题: X-window起不来.
版本为6.1,显卡硬件为:Trident video accelerator 9525DVD.
用#xorgcfg -textmode配置后,startx启动不了,提示no screen.
还缺少哪些步骤不?
作者: congli    时间: 2006-06-11 23:33
看提示,看日志,重新配置X.
作者: cdcchen    时间: 2006-06-12 00:39
楼主这样安装就行

pkg_add -r xorg

然后运行/usr/X11R6/bin/xorgconfig

然后把~/下的xorg.conf.new复制为/etc/X11/xorg.conf

pkg_add -r fvwm(我用的是fvwm)

然后就是fvwm的配置了

然后就是startx
作者: bdwy    时间: 2006-06-12 09:29
VM?
作者: 笨@笨    时间: 2006-06-12 21:03
是在实际机器中的.
Xorg.0.log:

X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: FreeBSD 6.1 i386 [ELF]
Current Operating System: FreeBSD TEST.FreeBSD6.1 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:32:43 UTC 2006     root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 24 March 2006
        Before reporting problems, check http://wiki.X.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/Xorg.0.log", Time: Mon Jun 12 21:14:15 2006
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"


:
:
:
:
:
:


(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(WW) The directory "/usr/X11R6/lib/X11/fonts/CID/" does not exist.
        Entry deleted from font path.
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(**) Option "Protocol" "auto"
(**) Mouse0: Device: "/dev/sysmouse"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/sysmouse"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5 6 7"
(**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse0: Buttons: 11
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Mouse0: SetupAuto: protocol is SysMouse
(==) TRIDENT(0): Write-combining range (0x0,0x1000) was already clear
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing.

[ 本帖最后由 笨@笨 于 2006-6-12 21:18 编辑 ]
作者: 笨@笨    时间: 2006-06-12 21:06
xorg.conf

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

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

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

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/sysmouse"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                   # [<bool>]
        #Option     "PciRetry"                   # [<bool>]
        #Option     "NoAccel"                    # [<bool>]
        #Option     "SetMClk"                    # <freq>
        #Option     "MUXThreshold"               # <i>
        #Option     "ShadowFB"                   # [<bool>]
        #Option     "Rotate"                     # [<str>]
        #Option     "VideoKey"                   # <i>
        #Option     "NoMMIO"                     # [<bool>]
        #Option     "NoPciBurst"                 # [<bool>]
        #Option     "MMIOonly"                   # [<bool>]
        #Option     "CyberShadow"                # [<bool>]
        #Option     "CyberStretch"               # [<bool>]
        #Option     "XvHsync"                    # <i>
        #Option     "XvVsync"                    # <i>
        #Option     "XvBskew"                    # <i>
        #Option     "XvRskew"                    # <i>
        #Option     "FpDelay"                    # <i>
        #Option     "Display1400"                # [<bool>]
        #Option     "Display"                    # [<str>]
        #Option     "GammaBrightness"            # [<str>]
        #Option     "TVChipset"                  # [<str>]
        #Option     "TVSignal"                   # <i>
        Identifier  "Card0"
        Driver      "trident"
        VendorName  "Trident Microsystems"
        BoardName   "Cyber 9525"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes        "800*600"
        EndSubSection
EndSection

[ 本帖最后由 笨@笨 于 2006-6-12 21:19 编辑 ]
作者: ocean390    时间: 2006-06-12 21:11
倒数第三行的Mode应该为Modes
作者: 笨@笨    时间: 2006-06-12 21:29
暂时好了!
谢谢!

[ 本帖最后由 笨@笨 于 2006-6-12 21:32 编辑 ]
作者: 笨@笨    时间: 2006-06-12 23:02
进入KDE或者gnome桌面后,分辨率只能设成640*480,没办法修改.
是否要装显卡驱动?
该如何安装?
显卡为:Trident,Cyber 9525.
作者: ocean390    时间: 2006-06-12 23:30
在Monitor    "Monitor0"这行下面加入一行
DefaultDepth 24
把Modes "800*600"改为
Modes "1024*768" "800*600"
作者: zero-B    时间: 2006-06-12 23:48
原帖由 笨@笨 于 2006-6-12 23:02 发表
进入KDE或者gnome桌面后,分辨率只能设成640*480,没办法修改.
是否要装显卡驱动?
该如何安装?
显卡为:Trident,Cyber 9525.



看样子你的这个显卡是老得不能再老了吧!?你先上网看看你的这个显卡支持多高的分辨啊!不要把显卡弄坏了。
作者: 笨@笨    时间: 2006-06-13 22:59
2M显存,支持800*600,24真彩!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2