Alpline Linux 3.6.0 as Virtualbox Guest - no resizing
#1
Mon, 2017-05-29 00:16
jradxl
-
- Offline
- 6 months 4 weeks ago
- 2017-05-28
Hi,
I have Alpine Linux (standard / sys ) running as a Guest in Virtualbox 5.1.22 running with Xfce4 and Mate working.
But re-sizing of the display does not work - max available is 1024x768.
Cut and Paste between the Host and Guest also does not work.
However dmesg shows that the three vbox modules are loaded.
apk info virtualbox-additions-grsec shows version 4.9
so I imagine that is the reason.
Is there a up to date Guest Additions, or can I compile my own?
Thx
John
alpine-standard-3.6.0-x86_64
Ok, I've now realised that the Package name, such as "virtualbox-additions-hardened-4.9.30-r0" is referring to the Kernel Version number.
Looking at the code, I see that this version is for Virtualbox 5.1.14, so that is probably why I don't have resizing working.
Pity...
Hi,
have you been able to resize now? I am running into the same problem with the most recent versions (Alpine, Virtualbox) and have no idea what to do else. I really need the seamless mode.
Anybody else an additional idea?
Thnx
winux
Hi @winux
Not yet...
I digressed to get x2goserver working, as that gives resizing. X2goserver is really good.
I'm finding the problem with the guest additions is two fold
1. The vbox video library is not loading. modprobe just gives an unhelpful message
2. There is no VBoxClient being built.
I intend to return to this task over the next few days and will post here my findings.
For example, I want to try a Alpine Vanilla image in case it is the hardened kernels that are preventing the load.
Meanwhile, x2goserver is the work around.
Cheers
John
Hi John,
as far as I see, vboxguest module is loaded (in my case). vboxvideo is NOT. I'm not that deep in Linux anymore to figure out why and how to change this.
I'm using alpine-standard-3.6.1-x86_64 in VirtualBox 5.1.22 r115126, but alpine-virt-3.6.1 shows the same behaviour. I guess it is the missing module but have no idea how to fix it.
Cheers
winux
Hi,
now I have tried it with different Kernels including Vanilla. Still I am not able to load the vbox modules to get a resizable screen within Virtualbox.
I also tried the Kernel optimized for VMs. When installing the virtualbox-additions it installs the hardened kernel as well. When booting this, lsmod shows the vboxvideo module, but due to other errors the system does not come up clearly. I am not good enough in linux to understand an fix, and do not have any other ideas. I extremely regret but will give up at this point. Of course it would be very happy if you (or someone else) have additional ideas.
Cheers
Winux
Hi @winux
See Bug #7421 I've just raised..
See Bug #7406 raised on similar subject.
The VirtualBox Vboxvideo.ko module requries DRM to be loaded, and as far as I can see is provided by MESA package
Bit I think it is all out of date
Watch the Bug report
Hi John or anybody who could help,
coming back to the issue after almost three months: Have you (or someone else) been able to get the guest additions within a Virtualbox running with resizable display now?
Thanks in advance
Winux
Hi Winux
Thanks for responding.
No I haven't. Summer holidays have got in the way!!
I was digressed for some time as LinuxHeaders is included in build and are for 4.4. But then realised this is only used for ./configure complier checking.
My next step was to check each and every build option as per Virtualbox's build instructions but haven't had time.
I'm sure for someone with a detailed knowledge of compiling for Xorg it's an easy fix. But for me I'm having to work from beginning.
I was hoping to learn how to debug a kernel to see if I could find out why the library wasn't loading.
All this from memory as I'm still on hols in Colombia!!
Thx
John
Hey there! I'm also encountering the same issue, I have all the details here: https://forum.alpinelinux.org/forum/installation/virtualbox-vm-xfce4-desktop-not-able-use-full-screen-resolution
I'm still at a loss on how to resolve the issue, if either of you guys figure it out please let me know. Similarly if I come across a solution I will be sure to update both threads (this one and the linked one).
Sorry, web browser bugged out and I posted twice.
I fired up my virtual Alpine install today to check out some stuff unrelated to this vbox addition thing. It seems all the modules are loading, but still stuck on limited resolution and no shared clipboard. Anyone have anything to add or news on this?
Although a fully functional vbox install is likely FAR from the intended or targeted use case, it would be nice to have this working none the less. As an arch user, I'm thinking along the lines of running an initramfs from ram, with persistent changes possibly wrote to a USB. Figured this would be the best distro to figure out some of this stuff. I may just go ahead and do an install on some real hardware to see what I can learn.
I 'd also like to congratulate and thank the Alpine team for providing a tiny, secure, versatile, and very cool distro! I feel quite comfortable using this coming from Arch. Now if I was only skilled enough to get this going on one of my Pogo plugs.