You are not logged in.

#1 2008-06-29 16:31:08

eltr
Member
Registered: 2008-06-28
Posts: 6

Unable to use 1280x1024 resolution in Virtualbox

I know that there is possibility of using arbitrary resolutions in virtualbox if Guest Additions is installed. But this feature doesn't work for me. It's very pity sad smile

I thought that installing virtualbox-ose-xorg-drivers package will be enough thing to get the wishful resolution (this idea turned out to be wrong for me). After installation, I replaced vesa driver to vboxvideo in my xorg.conf (which was originally built by the `hwd -xa` command):

Section "Device"
        Identifier  "Card0"
        Driver      "vboxvideo"
        VendorName  "All"
        BoardName   "All"
EndSection

And then made some fixes in section Screen in order to select apropriate color depth and so on.

The whole xorg.xonf can be found here: http://pastebin.com/m16239a2a

But this didn't help: I got resolution like 800x600 sad

There are two ways to install Gust Additions, so I mounted the iso from virtualbox-additions package and run VBoxLinuxAdditions.run. This also didn't help me sad

Is there everybody who uses custom resolution like 1280x1024? What did you do to get this?

Is running the VBoxLinuxAdditions.run necessary for it? It looks like solutions for other distributions, since Arch has the virtualbox-ose-additions package...

Thanks.

Offline

#2 2008-06-29 18:57:38

kett
Member
Registered: 2008-04-21
Posts: 104

Re: Unable to use 1280x1024 resolution in Virtualbox

Is arch the guest installation or the host installation?

Offline

#3 2008-06-29 19:31:03

eltr
Member
Registered: 2008-06-28
Posts: 6

Re: Unable to use 1280x1024 resolution in Virtualbox

kett wrote:

Is arch the guest installation or the host installation?

Both guest and host.

Offline

#4 2008-06-29 19:40:07

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Unable to use 1280x1024 resolution in Virtualbox

eltr wrote:
kett wrote:

Is arch the guest installation or the host installation?

Both guest and host.

Why would you do such a thing ?


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#5 2008-06-29 19:46:40

eltr
Member
Registered: 2008-06-28
Posts: 6

Re: Unable to use 1280x1024 resolution in Virtualbox

moljac024, Guest arch is used for experements which can break the system (and sometimes it happens). I don't want to break my host system.

Offline

#6 2008-06-29 20:05:43

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Unable to use 1280x1024 resolution in Virtualbox

Thought so smile


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#7 2008-06-30 01:47:21

kett
Member
Registered: 2008-04-21
Posts: 104

Re: Unable to use 1280x1024 resolution in Virtualbox

I just tried it on my arch virtualmachine(Arch guest and host) and it worked. 
I mounted the Guest Additions cd.
Ran "sh ./VBoxLinuxAdditions.run" as root.  And restarted, and it just worked.

Now it lets me resize the window, and automatically sets the resolution for the guest machine properly.

I did this using virtualbox 1.6.2, on a 64 bit host machine.

Offline

#8 2008-06-30 05:10:28

bioe007
Member
Registered: 2007-11-12
Posts: 56

Re: Unable to use 1280x1024 resolution in Virtualbox

Is running the VBoxLinuxAdditions.run necessary for it? It looks like solutions for other distributions, since Arch has the virtualbox-ose-additions package...

you need to run this. it adds both the custom resolutions and bidirectional clipboard stuff, also VBOXSVR (for shared directories)

Offline

#9 2008-06-30 10:03:56

Myav
Member
Registered: 2007-05-07
Posts: 58

Re: Unable to use 1280x1024 resolution in Virtualbox

So do both virtualbox-ose-xorg-drivers + virtualbox-ose-additions packages substitute the VBoxLinuxAdditions.run? Is there possibility to get custom resolution and all other stuff using only virtualbox-ose-xorg-drivers and virtualbox-ose-additions?

you need to run this. it adds both the custom resolutions and bidirectional clipboard stuff, also VBOXSVR (for shared directories)

I thought that virtualbox-ose-xorg-drivers is the solution for custom resolutions and bidirectional clipboard stuff, and virtualbox-ose-additions - for shared directories...

Last edited by Myav (2008-06-30 10:10:51)

Offline

#10 2008-06-30 14:59:30

kett
Member
Registered: 2008-04-21
Posts: 104

Re: Unable to use 1280x1024 resolution in Virtualbox

I personally haven't looked into the package.  I just used the script from the cd image.

Offline

#11 2008-07-12 00:52:12

live4nothing
Member
Registered: 2008-07-12
Posts: 12

Re: Unable to use 1280x1024 resolution in Virtualbox

kett wrote:

I just tried it on my arch virtualmachine(Arch guest and host) and it worked. 
I mounted the Guest Additions cd.
Ran "sh ./VBoxLinuxAdditions.run" as root.  And restarted, and it just worked.

Now it lets me resize the window, and automatically sets the resolution for the guest machine properly.

I did this using virtualbox 1.6.2, on a 64 bit host machine.

I did the same thing but does not work. However mine is a 32 bit host. Maybe this is the reason

Offline

#12 2008-07-12 02:41:51

kett
Member
Registered: 2008-04-21
Posts: 104

Re: Unable to use 1280x1024 resolution in Virtualbox

Well, I have a 32 bit machine as well, and I've gotten the guest additions to work there too.   I believe all the script does is add lines to the /etc/rc.local script, which in turn run /etc/rc.vboxadd, /etc/rc.vboxvfs and /etc/rc.vboxadd-timesync.  And on startup, VBoxClient should start in the guest machine if it was successful.  If its not there, you could try calling the scripts mentioned and looking for error messages.

Offline

#13 2008-07-12 22:46:51

live4nothing
Member
Registered: 2008-07-12
Posts: 12

Re: Unable to use 1280x1024 resolution in Virtualbox

kett wrote:

Well, I have a 32 bit machine as well, and I've gotten the guest additions to work there too.   I believe all the script does is add lines to the /etc/rc.local script, which in turn run /etc/rc.vboxadd, /etc/rc.vboxvfs and /etc/rc.vboxadd-timesync.  And on startup, VBoxClient should start in the guest machine if it was successful.  If its not there, you could try calling the scripts mentioned and looking for error messages.

For some reason, I can't find VBoxClient. I got rc.vboxadd and rc.vboxfvs

Offline

#14 2008-10-24 08:21:57

yvonney
Member
Registered: 2008-06-11
Posts: 671

Re: Unable to use 1280x1024 resolution in Virtualbox

My own struggles then breakthroughs with a for testing install of arch in VBox 1.x and 2.0 and now 2.0.2 gleaned a few things... relating a bit to this thread I found that the addons really do need to be installed AFTER arch is fully installed and running.. for me anyways.

I had been thinking that arch would like it better if I installed the addons before xorg etc.... or at least from the command line...

I got everything I could want... amazing screen resizing with no scrolbars whatver I resized to... WHEN I instlaled the addons after the desktop GUI was running...  I've been playing with gnome again and gdm...after tons of fun with openbox/enlightenment and about 8 other DMs...

anyhoo... I was having a nasty time getting the addons to work in vbox 2.0.2... so I installed full gnome  gnome-extra.. WITH gdm... I had to just type gdm and gnome started.... 


good for getting some insights I found..

best wishes

Offline

#15 2008-10-24 20:27:07

Square
Member
Registered: 2008-06-11
Posts: 435

Re: Unable to use 1280x1024 resolution in Virtualbox

Back when I used Virtualbox... I went nuts trying to get 1280x1024 resolution to work.
The solution to get it to work was to maximize the VirtualBox window first, and then startx/set the resolution.

Not sure if this will help, but might as well throw it out there.


 

Offline

#16 2010-05-22 15:57:20

zane
Member
Registered: 2010-03-31
Posts: 4

Re: Unable to use 1280x1024 resolution in Virtualbox

I was struggling with this too - vbox additions installed, 1280x1024 mode added to xorg, but a mocked up screen when using the resolution.

The solution was to set the correct screen resolution in /boot/grub/menu.lst. Just add "vga=795" in the kernel command.

/Zane

Offline

Board footer

Powered by FluxBB