免费注册 查看新帖 |

Chinaunix

广告
  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3166 | 回复: 0
打印 上一主题 下一主题

[FreeBSD] FreeBSD 8.0 startx的错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-28 11:35 |只看该作者 |倒序浏览
在装好OS,Xorg后,startx可以正常的进入vesa模式
现在我再装显卡驱动,
bsd# ls /usr/ports/x11 |grep nvidia
nvidia-driver
nvidia-driver-173
nvidia-driver-71
nvidia-driver-96
nvidia-settings
nvidia-xconfig
bsd#
以上几个目录我都make安装了, 以下是xorg的conf文件
bsd# cat xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "dri2"
        Load  "extmod"
        Load  "glx"
        Load  "record"
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"
        #DisplaySize      340   270     # mm
        Identifier   "Monitor0"
        VendorName   "SAM"
        ModelName    "SyncMaster"
        HorizSync    30.0 - 81.0
        VertRefresh  56.0 - 75.0
        Option      "DPMS"
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     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        #Option     "FPScale"                   # [<bool>]
        #Option     "FPTweak"                   # <i>
        #Option     "DualHead"                  # [<bool>]
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "G72 [GeForce 7300 SE/7200 GS]"
        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
        EndSubSection
EndSection

bsd#

按理驱动啊,监视器都正常了,可是startx还是出错
bsd# tail /var/log/messages
Dec 28 11:16:44 bsd dhclient: New Subnet Mask (age0): 255.255.255.0
Dec 28 11:16:44 bsd dhclient: New Broadcast Address (age0): 255.255.255.255
Dec 28 11:16:44 bsd dhclient: New Routers (age0): 192.168.1.1
Dec 28 11:16:47 bsd kernel: age0: link state changed to UP
Dec 28 11:19:27 bsd login: ROOT LOGIN (root) ON ttyv0
Dec 28 11:20:34 bsd gnome-session[1442]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Dec 28 11:20:34 bsd gnome-session[1442]: CRITICAL: dbus_g_connection_get_connection: assertion `gconnection' failed
Dec 28 11:20:34 bsd gdm[1450]: ******************* START **********************************
Dec 28 11:20:35 bsd gdm[1450]: ******************* END **********************************
Dec 28 11:20:35 bsd kernel: pid 1451 (gdb), uid 0: exited on signal 6 (core dumped)
bsd# startx
xauth:  creating new authority file /root/.serverauth.1490
xauth: (stdin):1:  bad display name "bsd.banwin.com:0" in "add" command


X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 8.0-RELEASE i386
Current Operating System: FreeBSD bsd.banwin.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 21 October 2009  04:11:47AM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
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 Dec 28 11:31:24 2009
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
gnome-session[1512]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
gnome-session[1512]: CRITICAL: dbus_g_connection_get_connection: assertion `gconnection' failed
process 1512: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3298.
This is normally a bug in some application using the D-Bus library.
  D-Bus not compiled with backtrace support so unable to print a backtrace
gdm[1520]: ******************* START **********************************
gdm[1520]: ******************* END **********************************
Killed

waiting for X server to shut down

bsd#
请高手出招,freebsd的桌面搞了我两天了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP