You are not logged in.

#1 2015-01-08 18:15:49

amcooper
Member
Registered: 2015-01-08
Posts: 17
Website

[SOLVED] VirtualBox Guest Additions | Cannot maximize window

I'm running Arch Linux as a guest in VirtualBox 4.3.20 for Mac OS. I've installed the guest additions. Shared folders seem to work. But I can't get the window to expand to the full screen dimensions. Also, the bidirectional clipboard and drag and drop do not work. I'm not sure what logs or other information to include.
Thanks for your help.

$ lsmod | grep box
vboxvideo              12437  1 
drm                   259106  3 vboxvideo
vboxsf                 41351  1 
vboxguest             206301  3 vboxsf
$ uname -a
Linux hooksforeman 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64 GNU/Linux

Last edited by amcooper (2015-01-13 15:57:44)

Offline

#2 2015-01-08 21:41:59

thiagowfx
Member
Registered: 2013-07-09
Posts: 586

Re: [SOLVED] VirtualBox Guest Additions | Cannot maximize window

What is the output of

pacman -Qs xf86-video

?

Offline

#3 2015-01-08 22:06:09

amcooper
Member
Registered: 2015-01-08
Posts: 17
Website

Re: [SOLVED] VirtualBox Guest Additions | Cannot maximize window

$ pacman -Qs xf86-video
local/xf86-video-vesa 2.3.2-5 (xorg-drivers xorg)
    X.org vesa video driver

Offline

#4 2015-01-09 03:33:04

thiagowfx
Member
Registered: 2013-07-09
Posts: 586

Re: [SOLVED] VirtualBox Guest Additions | Cannot maximize window

It's all right, I thought you could be without video drivers. Well, I'm afraid I can't help you then. But I'll suggest some things:

- Try searching for some information in our Wiki
-  How exactly have you installed the guest additions? I supposed you loaded the ISO on Arch, then executed some script or installer that was present on it, right

But I can't get the window to expand to the full screen dimensions

When you say this, it means that the window refuse to expand, or that the window of your OS X expands, but the resolution of Arch stays the same? I'm not sure if this could help other person to help you in some way, but maybe providing a screenshot (of your OS X, trying to expand the VirtualBox window) could be a good idea. (PS. if you do that, please don't post the full image here (see this))

Last edited by thiagowfx (2015-01-09 03:35:06)

Offline

#5 2015-01-09 15:16:48

amcooper
Member
Registered: 2015-01-08
Posts: 17
Website

Re: [SOLVED] VirtualBox Guest Additions | Cannot maximize window

I followed the instructions in the Arch Linux Wiki for the standard Linux kernel. I included the line exec VBoxClient-all at the end of my .xinitrc file.

Screenshot below. That's as big as my Arch window gets, about half the size of the screen.
image320681.png

Offline

#6 2015-01-09 21:58:01

Soukyuu
Member
Registered: 2014-04-08
Posts: 854

Re: [SOLVED] VirtualBox Guest Additions | Cannot maximize window

Hmm, I just checked and I actually don't have any xf86-video* drivers installed on my arch VM, only the guest additions are running. Don't they include their own video driver, vboxvideo or something? Try removing the vesa driver and see what it does.


[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]

Offline

#7 2015-01-12 15:56:02

amcooper
Member
Registered: 2015-01-08
Posts: 17
Website

Re: [SOLVED] VirtualBox Guest Additions | Cannot maximize window

That was a good suggestion. I ran

sudo pacman -Rs xf86-video-vesa
sudo reboot

But it didn't repair it. Any other ideas?

Offline

#8 2015-01-13 15:47:50

amcooper
Member
Registered: 2015-01-08
Posts: 17
Website

Re: [SOLVED] VirtualBox Guest Additions | Cannot maximize window

I found the answer. I created the file /etc/X11/xorg.conf.d/10-monitor.conf:

Section "Monitor"
  Identifier             "Monitor0"
EndSection

Section "Device"
  Identifier             "Device0"
  Driver                 "vboxvideo" # Choose the driver
EndSection

Section "Screen"
  Identifier             "Screen0"  
  Device                 "Device0"
  Monitor                "Monitor0"
  DefaultDepth           24 # Choose the depth (16||24)
  SubSection             "Display"
    Depth                24
    Modes                "1230x780" # Choose the resolution
  EndSubSection
EndSection

Note that 1230x780 is not the resolution of my MacBook Pro, but of the good-looking Crunchbang VM I'm running.

I found the answer here: http://superuser.com/questions/528715/a … resolution.

This makes the VM screen size big enough to be usable. Still can't go seamless, but it doesn't matter. It gives me an opportunity to try out Arch for a while. Thank you for all your help!

Last edited by amcooper (2015-01-13 16:10:33)

Offline

Board footer

Powered by FluxBB