ShareOpenSolaris


Home » OpenSolaris.com Forums » Desktop

Thread: Screen Resolution within Virtualbox 1.6



Permlink Replies: 3 - Pages: 1 - Last Post: May 9, 2008 3:39 PM Last Post By: wordwarrior
wordwarrior

Posts: 25
Registered: 5/8/08
Screen Resolution within Virtualbox 1.6
Posted: May 8, 2008 7:59 PM
  Click to reply to this thread Reply
Currently, I'm running OpenSolaris 2008-05 within a Virtualbox 1.6 VM on an Ubuntu 8.0.4 64-bit host.

My screen resolution is limited to 1024x768. I'm trying to increase it.

I tried the suggestions on this blog:

http://blogs.sun.com/daner/entry/running_opensolaris_2008_05_under

----
If you want a higher res screen, the default in VBox is 1024x768, before starting the VirtualBox guest run:

VBoxManage setextradata "Solaris 10" "CustomVideoMode1" "1280x10240x24"

Where "Solaris 10" is the name of VBox vm and I'd recommend bumping the video memory to at least 64MB. I had to do this for each vm I created.

Note that the xorg.conf that Alan provides on his blog currently causes X to crash on the latest Nevada and OpenSolaris. I'm currently trying to figure out why.
----

The name of my VM is "OpenSolarisIndiana". I tried running the following command:

----
me@mysystem:~$ VBoxManage setextradata "OpenSolarisIndiana" "CustomVideoMode1" "1280x10240x24"
VirtualBox Command Line Management Interface Version 1.6.0
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.


I also increased my video RAM to 64 Mb.

I tried restarting my VM and VirtualBox several times, and this solution doesn't work.

I googled and searched the forums, but I couldn't find anything.

Any ideas?
yuan

Posts: 2
Registered: 5/8/08
Re: Screen Resolution within Virtualbox 1.6
Posted: May 8, 2008 9:17 PM   in response to: wordwarrior in response to: wordwarrior
  Click to reply to this thread Reply
I increased the VRAM to 64MB and installed VB Tools. Now even the Seamless mode works. I am using VB1.6 on Mac.

    • Yuan
farvardin

Posts: 31
Registered: 5/4/08
Re: Screen Resolution within Virtualbox 1.6
Posted: May 9, 2008 12:00 AM   in response to: wordwarrior in response to: wordwarrior
  Click to reply to this thread Reply
install the vb tools, as suggested above. (It's an option in the menu of vb, it will load a virtual cd on the desktop)

Otherwise, before using vb 1.6, after setting the resolution to 1280x10240x24, I had to start xorgconfig, and create a new definition from there. Select the 24 bits screen depth, and save the generated file into /etc/X11/. In the previous link, the guy selected 32 bits, but I can't even find this in xorg...

But the vb tools may be enough to get full screen easily (and the mouse works better, much faster)
wordwarrior

Posts: 25
Registered: 5/8/08
Re: Screen Resolution within Virtualbox 1.6
Posted: May 9, 2008 3:39 PM   in response to: farvardin in response to: farvardin
  Click to reply to this thread Reply
I figured out what I did wrong. I didn't install the VirtualBox tools properly.

Initially, I su'd and ran:

./VBoxSolarisAdditions.pkg

This gave me a misleading message that it had installed correctly by telling me to logout of X11. The installation had in fact failed.

I downloaded the PDF for the VirtualBox user manual, and figured out I had to in fact run this:

pkgadd -d ./VBoxSolarisAdditions.pkg

Once I logged back in, I was able to change my screen resolution at will, even going to full screen.

Point your RSS reader here for a feed of the latest messages in all forums