WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Syntax for Tiny Core VM with VM TOOLS  (Read 2222 times)

Offline klasikrkade

  • WikiUser
  • *
  • Posts: 6
Syntax for Tiny Core VM with VM TOOLS
« on: May 27, 2011, 06:50:31 AM »
What is the exact syntax that I need to add to my xorg.conf file to get my VM TOOLS enabled tiny core vm to run with a specified resolution?

My current file looks like this:

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/local/lib/X11/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  "glx"
   Load  "extmod"
   Load  "dri2"
   Load  "dri"
   Load  "dbe"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "vmmouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
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     "HWcursor"              # [<bool>]
        #Option     "Xinerama"              # [<bool>]
        #Option     "StaticXinerama"        # <str>
   Identifier  "Card0"
   Driver      "vmwlegacy"
   VendorName  "Unknown Vendor"
   BoardName   "Unknown Board"
   BusID       "PCI:0:15: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


Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
Re: Syntax for Tiny Core VM with VM TOOLS
« Reply #1 on: May 27, 2011, 07:33:07 AM »
From the open-vm-tools-x.info:

-- Resolution
The screen resolution can be specified with the xvirt bootcode
(xvirt=1024x768x24, for example) or in xorg.conf as shown:
Section "Screen"
  ...
  SubSection "Display"
    ...
    Depth 24
    Virtual 1024 768
  EndSubsection
EndSection

I underlined the line you need to add.

Offline klasikrkade

  • WikiUser
  • *
  • Posts: 6
Re: Syntax for Tiny Core VM with VM TOOLS
« Reply #2 on: May 27, 2011, 07:47:04 AM »
That was what I needed!

Thanks much!