免费注册 查看新帖 |

Chinaunix

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

关于ubuntu 10.04的xorg.conf 不能进入图形 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-11-17 00:00 |只看该作者 |倒序浏览
虚拟机+ubuntu10.04

我今天安装GTK的那十几个库的时候,好像安装DFB失败,然后虚拟机就出问题了
重启后进入不了图形界面
查了一下 好像是xorg.conf的问题
我把我错误的xorg.conf贴出来  请指点一下

xorg.conf:
# VMware SVGA

Section "Module"
    Load        "dbe"          # Double buffer extension
    SubSection  "extmod"
    EndSubSection
    Load        "type1"
    Load        "freetype"
#    Load       "glx"
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/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
#    ModulePath "/usr/X11R6/lib/modules"
EndSection

Section "ServerFlags"
#    Option NoTrapSignals
EndSection

Section "InputDevice"
    Identifier        "Keyboard1"
    Driver        "keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"        "xfree86"
    Option "XkbModel"        "pc104"
    Option "XkbLayout"        "us"
    Option "XkbCompat"        ""
EndSection

Section "InputDevice"
    Identifier        "Mouse1"
    Driver        "mouse"
    Option "Protocol"    "ps/2"
    Option "Device"      "/dev/mouse"
    Option "ZAxisMapping"        "4 5"
#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"
#    Option "ChordMiddle"
EndSection


Section "Device"
    Identifier  "VMware SVGA"
    Driver      "vmware"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "VMware SVGA"
    Monitor     "vmware"
    # Don't specify DefaultColorDepth unless you know what you're
    # doing. It will override the driver's preferences which can
    # cause the X server not to run if the host doesn't support the
    # depth.
    Subsection "Display"
        # VGA mode: better left untouched
        Depth       4
        Modes       "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       8
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       15
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "Monitor"
    Identifier      "vmware"
    VendorName      "VMware, Inc"
    HorizSync       1-10000
    VertRefresh     1-10000
EndSection

论坛徽章:
0
2 [报告]
发表于 2010-11-17 08:43 |只看该作者
回复 1# jiashao606


    虚拟机里面装的?
装vmtools了么?

论坛徽章:
0
3 [报告]
发表于 2010-11-17 19:04 |只看该作者
装了

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
4 [报告]
发表于 2010-11-17 19:26 |只看该作者
装了
jiashao606 发表于 2010-11-17 19:04



    使用命令vmware-config-tools.pl,重新配置一下。看看行不行。你的那个分辨率也搞得太大了吧?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP