Ubuntu 7.04 screen resolution

Discussions related to using VirtualBox on Windows hosts.
Post Reply
djxtc
Posts: 3
Joined: 14. May 2007, 10:27

Ubuntu 7.04 screen resolution

Post by djxtc »

Anyone have any ideas? Installed Ubuntu 7.04 and i only get the option 1024x768 for screen resolution. My Windows Vista host has the options of 1280x1024. Is this Ubuntu related or could it be something with VirtualBox?
geeksnap
Posts: 4
Joined: 18. May 2007, 20:09

Post by geeksnap »

Sounds like you need to install the Guest Additions for Ubuntu.

1. Boot your guest
2. Select Devices -> Install Guest Additions (will mount CD in guest)
3. Create a folder on desktop called "vbox"
4. Copy all files from virtual CD to that folder
5. Open Terminal
6. Type:
cd Desktop
cd vbox
sudo sh VBoxLinuxAdditions.run all
7. After installation completes then you will need to reboot
BobK4011
Posts: 2
Joined: 19. May 2007, 15:35

Re: Ubuntu 7.04 screen resolution

Post by BobK4011 »

djxtc wrote:Anyone have any ideas? Installed Ubuntu 7.04 and i only get the option 1024x768 for screen resolution. My Windows Vista host has the options of 1280x1024. Is this Ubuntu related or could it be something with VirtualBox?
This is an Ubuntu issue. I just straight installed Ubuntu on an old box and it did not allow 1280X1024 out of the box. The fix is easy though, you have to edit the xorg.conf file to add that resolution and refresh rate to the data. Ubuntu out of the box only supports up to 1024X768 but WILL easily go to the 1280X1024. I am doing it today.
geeksnap
Posts: 4
Joined: 18. May 2007, 20:09

Post by geeksnap »

Ubuntu does support 1280x1024 (and many other resolutions) without editing your xorg.conf IF you install the correct video drivers. If you are installing Ubuntu in VirtualBox then you just need to install the Guest Additions like in my previous post. After a reboot you should have the other resolutions available. If you are doing a straight forward install without virtualization then you just need to install the correct driver for you video card. If you are using Ubuntu 7.04 then you can install restricted drivers from: System>Administration>Restricted Drivers Manager. Or you can use Envy to install graphics drivers for nVidia and ATI chipsets.

Envy Found Here: http://www.albertomilone.com/nvidia_scripts1.html
BobK4011
Posts: 2
Joined: 19. May 2007, 15:35

Post by BobK4011 »

Sorry Geeksnap, have to disagree on this one. I apparently do not have a "restricted" video card (or it's just too old) as suggested because Ubuntu's response when I follow System>Administration>Restricted Drivers Manager is that I do not have hardware that requires restricted drivers. This issue appears several times in the Ubuntu forums with the best answer (for me!) being to edit xorg.conf. Your mileage may vary. After editing my xorg.conf for resolution and refresh rate my Saumsung monitor performed at its native resoluton 1280X1024 without a hitch. I don't doubt your advice, it just didn't apply for my situation. I might try Envy again though, it didn't work for a Feisty pre-final release, it looks ready now though. Thanks.
djxtc
Posts: 3
Joined: 14. May 2007, 10:27

Post by djxtc »

thanks geeksnap,

your suggestion worked just fine.
Loop
Posts: 2
Joined: 3. Jun 2007, 22:34

Post by Loop »

hi

I have the same problem like djxtc had.

I tried it with the description of geeksnap but I only got an additional screen resolution which ist smaller than 800 x 600.
I hoped to get the screen resolution 1280 x 1024 but I still have no success.

My Host system is Win XP and Ubuntu 7.04 is the guest. I use VirtualBox 1.3.8.

Knows somebody a solution?

Thanks
bodhi.zazen
Volunteer
Posts: 180
Joined: 17. May 2007, 16:02

Post by bodhi.zazen »

LOL Loo

pgeeksnap posted the solution .

1. First install the additions : http://doc.gwos.org/index.php/VirtualBox#Additions_.iso

2. go under Allpications -> Accessories -> Terminal

3. In the terminal enter

Code: Select all

sudo nano /etc/X11/xorg.conf
4. In the "Screen" section add desired resolutions :

Under the "DefaultDepth" line, change from 24 to 16
Section "Screen"

....

DefaultDepth 16
And later add your desired resolution :
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
Then re-start X

On your Virtualbox menu VM -> Insert Ctrl-Alt-Backspace
If is a virtual machine, is it still broken ?
Loop
Posts: 2
Joined: 3. Jun 2007, 22:34

Post by Loop »

wow.... thanks bodhi.zazen, your solution is great and the description is easy to understand. And it works.......

Where have mike posted the solution?
Post Reply