Tiny Core Linux

General TC => Tiny Core on Virtual Machines => Topic started by: klasikrkade on May 27, 2011, 09:50:31 AM

Title: Syntax for Tiny Core VM with VM TOOLS
Post by: klasikrkade on May 27, 2011, 09: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

Title: Re: Syntax for Tiny Core VM with VM TOOLS
Post by: danielibarnes on May 27, 2011, 10: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.
Title: Re: Syntax for Tiny Core VM with VM TOOLS
Post by: klasikrkade on May 27, 2011, 10:47:04 AM
That was what I needed!

Thanks much!