Setting VM Display size

Discussion in 'Linux Virtual Machine' started by LeslieM, Apr 29, 2012.

  1. LeslieM

    LeslieM Junior Member

    Messages:
    15
    I am having trouble with the Ubuntu VM not displaying the same size from session to session. I adjust it to the size I want, then when I leave and return, the VM displays at the default size again. I looked in the configuration options for the VM and didn't see anything, so (and I am not sure this was the correct way to approach it) I tried setting the display size within Ubuntu and ended up with error messages every time the desktop loaded. What is the correct method of setting and saving the display size settings so that the VM restores back to the same size I want it?
     
  2. JEarles

    JEarles Hunter

    Messages:
    119
    You choose the resolution using the Ubuntu Displays application. However, you will also need to edit the xorg.conf file to make sure the options you want are available in Parallels:

    /etc/X11/xorg.conf

    Scroll down until you see a line that looks like:

    Modes "1024x768" "800x600" "640x480"

    If you wanted to use 1280x800, then add that to the available modes:

    Modes "1280x800" "1024x768" "800x600" "640x480"
     
    Last edited: Apr 29, 2012
  3. LeslieM

    LeslieM Junior Member

    Messages:
    15
    I don't seem to have permissions to edit the file, and since I am not the owner (???) I am not allowed to CHANGE the permissions. Please advise the best way around this problem.

    Thank you.
     
  4. JEarles

    JEarles Hunter

    Messages:
    119
    Open a terminal window:

    1) cd /etc/X11
    2) sudo gedit xorg.conf
     
  5. LeslieM

    LeslieM Junior Member

    Messages:
    15
    That did it. Thank you.
     

Share This Page