Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1362313
  • 博文数量: 343
  • 博客积分: 13098
  • 博客等级: 上将
  • 技术积分: 2862
  • 用 户 组: 普通用户
  • 注册时间: 2005-07-06 00:35
文章存档

2012年(131)

2011年(31)

2010年(53)

2009年(23)

2008年(62)

2007年(2)

2006年(36)

2005年(5)

分类: LINUX

2009-08-14 01:15:17

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. 

  1. apt-get install xorg xdm fluxbox 
  2. 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

阅读(1181) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~