LinuxSir.cn,穿越时空的Linuxsir!

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

求助及询问:我的华丽的图形界面呢?

[复制链接]
发表于 2005-6-21 23:02:51 | 显示全部楼层 |阅读模式
小弟负责学校里的一台linux服务器(非正式的,练习用的),虽然小弟是初学者。
最近把内核从2.4.20升到了2.6.11.11,已耗时约一周多(大一课余时间)。参考了很多文档,帖子等,目前已经大多数搞定。

但图形界面一直没能进去,在此发帖求助。

废话不说了。再说要挨打了……

该机子用的是华硕i810主板,应该是集成的i810显卡吧?(本人硬件白痴)

编译内核时与XFree86可能相关的项情况大致如下:

Device Drivers --> Character devices:

<M> /dev/agpgart (AGP Support)
--- Intel 440LX/BX/GX,I8XX and E7X05 chipset support ### ---是不是表示这个暂时不能选,需要其它某些选项作依赖?
<M> Direct Rendering Manager (XFree86 4.10 and higher DRI support)
<M> Intel I810

Device Drivers --> Graphics support:
  • Support for frame buffer support
    <M> VGA 16-color graphics support
  • VESA VGA graphics support
    <M> Intel 810/815 support(EXPERIMENTAL)
  • Multihed support

    我怀疑是不是哪些地方还没选上,导致这个情况的。

    接下来:

    ##################################
    #
    #startx
    Using authority file /root/.Xauthority
    Writing authority file /root/.Xauthority
    Using authority file /root/.Xauthority
    Writing authority file /root/.Xauthority

    XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)
    Release Date: 27 February 2003
    X Protocol Version 11, Revision 0, Release 6.6
    Build Operating System: Linux 2.4.20-3bigmem i686 [ELF]
    Build Date: 27 February 2003
    Build Host: porky.devel.redhat.com

            Before reporting problems, check http://www.XFree86.Org/
            to make sure that you have the latest version.
    Module Loader present
    OS Kernel: Linux version 2.6.11.11 (root@localhost.localdomain) (gcc version 2.96 20000731 (Red Hat Linux 7.3

    2.96-118)) #3 Tue Jun 21 20:07:04 CST 2005
    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 Jun 21 21:59:11 2005
    (==) Using config file: "/etc/X11/XF86Config"

    (EE) GARTInit: Unable to open /dev/agpgart (No such device)
    (EE) I810(0): AGP GART support is not available.  Make sure your kernel has
            agpgart support or that the agpgart kernel module is loaded.
    (EE) Screen(s) found, but none have a usable configuration.

    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.

    XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
          after 0 requests (0 known processed) with 0 events remaining.
    #
    ##################################

    三个Error:
    第一个我怀疑是不是驱动没装好?
    第二个我想当时选的是编译为模块,于是就“# modprobe agpgart”,接下来“# lsmod”后,“agpgart”模块能找到,但还是

    不能进,出同样的错。是不是这个模块还需要依赖其它模块?
    第三个不知道是什么错误。实在没办法了。

    接下来在网上找了一堆资料,并干过以下事情:
    ##################################
    #
    # XFree86 -configure

    XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)
    Release Date: 27 February 2003
    X Protocol Version 11, Revision 0, Release 6.6
    Build Operating System: Linux 2.4.20-3bigmem i686 [ELF]
    Build Date: 27 February 2003
    Build Host: porky.devel.redhat.com

            Before reporting problems, check http://www.XFree86.Org/
            to make sure that you have the latest version.
    Module Loader present
    OS Kernel: Linux version 2.6.11.11 (root@localhost.localdomain) (gcc version 2.96 20000731 (Red Hat Linux 7.3

    2.96-118)) #3 Tue Jun 21 20:07:04 CST 2005
    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 Jun 21 22:43:14 2005
    List of video drivers:
            atimisc
            radeon
            r128
            mga
            glint
            nv
            tga
            s3
            s3virge
            sis
            rendition
            neomagic
            i740
            tdfx
            savage
            cirrus
            tseng
            trident
            chips
            apm
            fbdev
            i128
            nsc
            ati
            i810   ###显卡驱动应该没问题吧?
            ark
            cyrix
            siliconmotion
            vesa
            vga
            dummy
            v4l
    (++) Using config file: "/root/XF86Config.new"


    XFree86 detected your mouse at device /dev/mouse.
    Please check your config if the mouse is still not
    operational, as by default XFree86 tries to autodetect
    the protocol.

    Your XF86Config file is /root/XF86Config.new

    To test the server, run 'XFree86 -xf86config /root/XF86Config.new'

    ##################################
    然后:
    # XFree86 -xf86config /root/XF86Config.new
    出错!情况如初。

    另外,//etc/X11/XF86Config 如下(节选):

    ##################################
    Section "Monitor"
            Identifier   "Monitor0"
            VendorName   "Monitor Vendor"
            ModelName    "LG 563N"
            DisplaySize  310        230
            HorizSync    30.0 - 63.0
            VertRefresh  50.0 - 120.0
            Option      "dpms"
    EndSection

    Section "Device"
            Identifier  "Videocard0"
            Driver      "i810"
            VendorName  "Videocard vendor"
            BoardName   "Intel 815"
            VideoRam    16384
    EndSection

    Section "Screen"
            Identifier "Screen0"
            Device     "Videocard0"
            Monitor    "Monitor0"
            DefaultDepth     24
            SubSection "Display"
                    Depth     24
                    Modes     "1024x768" "800x600" "640x480"
            EndSubSection
            SubSection  "Display"
                    Depth       8
                    Modes       "640x480" "800x600" "1024x768"
                    ViewPort    0 0
            EndSubSection
            SubSection  "Display"
                    Depth       16
                    Modes       "640x480" "800x600" "1024x768"
                    ViewPort 0 0
            EndSubSection
    EndSection

    Section "DRI"
            Group        0
            Mode         0666
    EndSection
    ##################################

    本人走投无路,参考众人帖子皆无果下,不得不抛头露面发帖求助了。望达人赐教!
    另外,询问XFree86Config配置文件的格式写法!

    在下先谢!
  • 发表于 2005-6-21 23:06:03 | 显示全部楼层
    楼主好厉害,小弟拜一个....
    回复 支持 反对

    使用道具 举报

     楼主| 发表于 2005-6-21 23:07:28 | 显示全部楼层
    汗~叉叉坏人~~~

    明天请我吃西瓜,记倒。
    回复 支持 反对

    使用道具 举报

     楼主| 发表于 2005-6-21 23:15:42 | 显示全部楼层
    请大家一定帮小弟一下啊。
    要不axqd(就抢一那家伙)要欺负我的……
    回复 支持 反对

    使用道具 举报

     楼主| 发表于 2005-6-21 23:49:17 | 显示全部楼层
    OK,终于搞定在。在一们前辈的远程指挥下搞定。与后面一大堆无关。就是最前面那个。
    <M> /dev/agpgart (AGP Support)
    改为:
    <*> /dev/agpgart (AGP Support)
    这个必须要编译进内核。然后下一项:
    --- Intel 440LX/BX/GX,I8XX and E7X05 chipset support
    就可以选了。有两个选项:*和M。我选的是M,编译成模块。
    然后make;make install;reboot;startx

    然后终于看到我华丽的X-window了!还是师爷同学强!再次感谢。帖子暂留,估计和我一样笨的人不会没有吧?
    回复 支持 反对

    使用道具 举报

    发表于 2005-6-21 23:53:35 | 显示全部楼层
    楼主太厉害啦!!!呜呜,亲一个...
    回复 支持 反对

    使用道具 举报

     楼主| 发表于 2005-6-21 23:54:03 | 显示全部楼层
    西瓜……
    回复 支持 反对

    使用道具 举报

    发表于 2005-6-22 05:50:22 | 显示全部楼层
    恩,楼主很不错哦,希望看到此贴的兄弟都能象楼主一样在解决问题后把答案写上来与大家共享。同时请axqd001同学注意,不要灌水。
    回复 支持 反对

    使用道具 举报

    发表于 2005-6-22 08:31:10 | 显示全部楼层
    xx不要带坏小朋友,技术区是严禁灌水的~
    回复 支持 反对

    使用道具 举报

    发表于 2005-6-22 08:46:49 | 显示全部楼层
    服务器用图形界面实在是没有必要
    回复 支持 反对

    使用道具 举报

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

    本版积分规则

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