How To: Increase the Screen Resolution of the VMWare Demo Version of the Management Gateway Appliance

Version 5

    Description

    The screen resolution in the VMWare demo version of the Management Gateway Appliance is only 800x600 which makes it cumbersome to work with.  Increasing the resolution is desired.

     

    Increasing the Screen Resolution

    To increase the screen resolution, follow the following steps.

     

    1. Log into the Management Gateway.
       

    2. Press Alt-F2 to switch to a different screen.
        

      Note:

      To switch back to the main screen press Alt-F1.  The windows manager that the Gateway uses is Fluxbox.
       

    3. Right-click anywhere on the desktop to get the Fluxbox menu to appear.  It will display some options as follows:

      • xterm

      • Admin Console

      • fluxbox menu

        • Logout

        • Reboot

        • Shutdown
           

    4. Choose xterm.  This opens an xterm command prompt.
       

    5. In the command prompt, backup /etc/X11/xorg.conf.
       

    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak


     

    1. Open /etc/X11/xorg.conf with the vi editor.
       

    sudo vi /etc/X11/xorg.conf


      
    The following file opens: 
     

    Section "ServerLayout"      Identifier     "X.org Configured"      Screen      0  "Screen0" 0 0      InputDevice    "Mouse0" "CorePointer"      InputDevice    "Keyboard0" "CoreKeyboard" EndSection  Section "Files"      RgbPath      "/usr/lib/X11/rgb"      ModulePath   "/usr/lib/modules"      FontPath     "/usr/lib/X11/fonts/misc/"      FontPath     "/usr/lib/X11/fonts/TTF/"      FontPath     "/usr/lib/X11/fonts/Type1/"      FontPath     "/usr/lib/X11/fonts/100dpi/"      FontPath     "/usr/lib/X11/fonts/75dpi/" EndSection  Section "Module"      Load  "extmod"      Load  "glx"      # no dri for nvidia drivers      # Load  "dri"      Load  "dbe"      Load  "record"      Load  "xtrap"      Load  "type1"      Load  "freetype" EndSection  Section "InputDevice"      Identifier  "Keyboard0"      Driver      "kbd" EndSection  Section "InputDevice"      Identifier  "Mouse0"      Driver      "mouse"      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: &#60;i>: integer, <f>: float, <bool>: "True"/"False",         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"         ### [arg]: arg optional         #Option     "HWcursor"                # [<bool>]         #Option     "NoAccel"                 # [<bool>]      Identifier  "Card0"      Driver      "vmware"      VendorName  "VMware Inc"      BoardName   "[VMware SVGA II] PCI Display Adapter"      BusID       "PCI:0:15:0" EndSection  Section "Screen"      Identifier "Screen0"      Device     "Card0"      Monitor    "Monitor0"      DefaultDepth     24      SubSection "Display"           Viewport   0 0           Depth     16           Modes      "1024x768" "800x600"      EndSubSection      SubSection "Display"           Viewport   0 0           Depth     24           Modes      "1024x768" "800x600"      EndSubSection EndSection


     

    1. Using vi, change the video card driver to use the vesa driver instead of the vwware driver (commenting out the lines that call the vmware driver).
        

    2. Also, change the resolution to the desired size. These changes are done in the Device and Screen sections as shown below. 
        

      Note:

      A reference sheet for vi can be found by doing a web search for vi cheat sheet.  Such a reference sheet can be found here:
             http://www.viemu.com/vi-vim-cheat-sheet.gif 
       

    Section "Device"         ### Available Driver options are:-         ### Values: &#60;i>: integer, <f>: float, <bool>: "True"/"False",         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"         ### [arg]: arg optional         #Option     "HWcursor"                # [<bool>]         #Option     "NoAccel"                 # [<bool>]      Identifier  "Card0"         #     Driver      "vmware"         #     VendorName  "VMware Inc"         #     BoardName   "[VMware SVGA II] PCI Display Adapter"         #     BusID       "PCI:0:15:0"              Driver      "vesa"              VendorName  "Generic Vesa Driver" EndSection  Section "Screen"      Identifier "Screen0"      Device     "Card0"      Monitor    "Monitor0"      DefaultDepth     24      SubSection "Display"           Viewport   0 0           Depth     16           Modes      "1024x768" "800x600"      EndSubSection      SubSection "Display"           Viewport   0 0           Depth     24           Modes      "1152x864" "1024x768" "800x600"      EndSubSection EndSection


     

    1. Close and save the file.  To close, press ESC. Then hold down Shift and press :. Then type wq!
         ESC then Shift + : then wq!* 
       

    2. Exit xterm
       

    exit

     

    1. Reboot the Management Gateway by right-clicking on anywhere on the screen and choosing fluxbox menu | Reboot.
       

    2. The VMWare demo version of Management Gateway Appliance should now boot with the desired screen resolution.