You are not logged in.
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
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
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
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
Is arch the guest installation or the host installation?
Offline
Is arch the guest installation or the host installation?
Both guest and host.
Offline
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
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
Thought so
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
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
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
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
I personally haven't looked into the package. I just used the script from the cd image.
Offline
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
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
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
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
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
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