Use any resolution with linux !

Discussion in 'Parallels Desktop for Mac' started by rascuacho, Oct 17, 2006.

  1. rascuacho

    rascuacho Bit poster

    Messages:
    7
    Hi,

    I've found a way to set my X Windows resolution to any value in my Fedora Core 5 guest OS.
    I thought it could be interesting to let you know.

    STEP 1

    In the Guest OS configuration, add the resolution to the custom resolutions (video settings) if it's not a standard one. As an example, I've added 1680x950 (I got a 17'' Mac Book Pro).
    Otherwise just go to step 2 :)

    STEP 2

    Start the OS, and edit /etc/X11/xorg.conf (with root priviledges)
    Ideally make a copy of this file so you can rollback the change...
    The file path and name is as in Fedora Core 5...
    It might be a little different on other distributions.

    Locate the Section "Monitor"
    Keep the lines : Identifier,VendorName,ModelName (you can set them to anything you want)
    Comment out all other lines (except of course the EndSection one).

    Now, go to : http://zaph.com/Modeline
    You only need to enter the Horizonta/Verticall pixels you want (so for me 1680 and 950)
    Then you MUST set Vertical Frequency to 60Hz (I read that somewhere)
    Then click on "calculate"
    This will give you something like this (result for my 1680x950@60Hz):

    # 1680x950 @ 60Hz, 58.86 kHz hsync
    Mode "1680x950"
    DotClock 121.02
    HTimings 1680 1712 1840 2056
    VTimings 950 953 956 981
    EndMode

    Copy it and paste it before the EndSection line of the config file.

    Now, go to the Section "Screen".

    Change all the Modes lines to add the new resolution as the first entry (you can only leave that resolution if you want).

    In my case:
    Modes "1680x950"
    (one line for 16bits depth, one for 24bits depth)

    Save the file

    STEP 3

    Reboot the Guest OS

    --

    That worked perfect for me... I hope it will for you !!

    --

    IF SOMETHING GOES WRONG

    You should still have console access to your Guest OS.
    In that case, just revert the xorg.conf changes and restart your Guest OS.
     
  2. rascuacho

    rascuacho Bit poster

    Messages:
    7
    Just installed latest Ubuntu and applied same method: it perfectly works too ! :cool:
     
  3. palter

    palter Hunter

    Messages:
    243
    Works perfectly for me as well (FC5). Excellent detective work to find this solution. You might want to consider posting this in the How To forum as I believe it applies to Parallels Workstation as well as Parallels Desktop.
     
  4. rascuacho

    rascuacho Bit poster

    Messages:
    7
    Thanks for the advice. Wasn't sure about best place for this post...
    So now it is in both ;)
     
  5. ivanjs

    ivanjs Bit poster

    Messages:
    6
    UPDATE: Nevermind, it works now. Did a complete shutdown of Parallels instead of just rebooting Ubuntu. Thanks for the info.
     
    Last edited: Nov 5, 2006
  6. outlawrocketman

    outlawrocketman Junior Member

    Messages:
    12
    Works on Solaris (Nevada) too

    Thanks for the posting. I just used your directions on Solaris (Nevada build 55) within Parallels and it worked like charm.
     
  7. coolllmann

    coolllmann Bit poster

    Messages:
    1
    RE : FC6 Parallel Install

    Hi,
    1)) It simply crashes for me when I tried to install xen of FC6


    2)) I tried 2 install image frm this site http://tekartist.blogspot.com/search/label/parallels

    then it got installed ( of course wid minimal configuration ))

    3)) When I tried to increase the screen resolution using ur script ( ne resolution for Linux )

    it simply crashes saying Parse Error at line 41 of xorg.conf file and also Mode is not a word

    under this section when I tried to do tat

    4)) It works coolll @ 1024x768 resolution....

    FC6 2.6.2798 SMP kernel

    Thnx in Advance

    Coollllmann
     
    Last edited: Jan 30, 2007

Share This Page