免费注册 查看新帖 |

Chinaunix

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

Install Minimum X11 on ubuntu jeos in a VM [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-08-14 01:15 |只看该作者 |倒序浏览
It looks like there is no need for installing vm-tools on any ubuntu distributions. Ubundu already incoperates drivers for a VMWare virtual machine. Therefore, for jeos or ubuntu server in a vm, a lightwight xorg system can be configured very easilly.
  • apt-get install xorg xdm fluxbox
  • edit /etc/X11/xorg.conf to say as follows, where "Modes" should be referenced to your most favorite screen resolution.
    # xorg.conf (X.Org 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 xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # Note that some configuration settings that could be done previously
    # in this file, now are automatically configured by the server and settings
    # here are ignored.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    Section "Device"
        Identifier  "VMware SVGA"
        Driver      "vmware"
    EndSection
    Section "Screen"
        Identifier    "Default Screen"
        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       "800x600"
            ViewPort    0 0
        EndSubsection
        Subsection "Display"
            Depth       15
            Modes       "800x600"
            ViewPort    0 0
        EndSubsection
        Subsection "Display"
            Depth       16
            Modes       "800x600"
            ViewPort    0 0
        EndSubsection
        Subsection "Display"
            Depth       24
            Modes       "800x600"
            ViewPort    0 0
        EndSubsection
    EndSection
    Section "InputDevice"
      Driver "vmmouse"
      Identifier "VMware Mouse"
      Option "Buttons" "5"
      Option "Device" "/dev/input/mice"
      Option "Protocol" "IMPS/2"
      Option "ZAxisMapping" "4 5"
      Option "Emulate3Buttons" "true"
    EndSection
    Section "Monitor"
        Identifier      "vmware"
        VendorName      "VMware, Inc"
        HorizSync       1-10000
        VertRefresh     1-10000
    EndSection


    本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/8059/showart_2026773.html
  • 您需要登录后才可以回帖 登录 | 注册

    本版积分规则 发表回复

      

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

    清除 Cookies - ChinaUnix - Archiver - WAP - TOP