Virtualbox 6.1.12-4 fails

Beginning with VirtualBox 6.1.14, which is the current version, I find that this problem has been resolved, even when running most Arch-based distros as a VirtualBox guest. I first updated VirtualBox and the VirtualBox Extension Pack on the host, and updated VirtualBox Guest Additions on the guest:

  1. On the host, I performed a normal pacman update to bring VirtualBox to version 6.1.14.
  2. On the host, I downloaded Oracle_VM_VirtualBox_Extension_Pack-6.1.14-140239.vbox-extpack from the Oracle site, and installed it via the VirtualBox GUI.
  3. With VBoxSVGA temporarily set as the graphics controller, and with 3D Acceleration temporarily disabled, I booted into my Arch-based guest.
  4. On the guest, I performed a normal pacman update to bring VirtualBox Guest Additions to version 6.1.14.
  5. I shut down my Arch-based guest, set the graphics controller to VMSVGA, enabled 3D Acceleration, and booted again into my Arch-based guest.

Everything worked perfectly in the guest, including 3D acceleration. In particular, window manager effects worked. No trickery was necessary to keep these VirtualBox graphics settings (as had been necessary with prior versions of VirtualBox).

I find that all of these distros now work without problem (with VMSVGA and 3D Acceleration enabled) as VirtualBox guests:

  • EndeavourOS Xfce
  • EndeavourOS Cinnamon
  • ArchLabs Openbox
  • Manjaro Xfce

Only this distro fails to load its desktop completely with VMSVGA and 3D Acceleration enabled:

  • Manjaro KDE

As Manjaro KDE loads on the virtual machine, this message is displayed: ā€œFailed to start VirtualBox Guest VMSVGA resize client.ā€ A similar issue (but with Xfce) was reported by another user on the Manjaro forums, but no solution has yet been offered:

1 Like

I havent tried Manjaro in a long time. I used to run Manjaro Cinnamon. Anyway you may be right mostly that the settings stay but i tend to go into the settings after creating a vm and shutting down. I do that which is not always necessary but i do anyway to remove the optical drive. That’s when i find the setting for the graphics reverts back to default. Once it’s all set and you start a vm it won’t change unless you go back in to those settings. That’s my experience with it anyway and I’ve been using it for years. Not that i know anything because i know little in the world of Linux. It’s like a galaxy! I will have to try Manjaro though and see. Originally I used to always use VboxVGA but now i use VBoxSVGA.

I’ll have to also try this also:

I shut down my Arch-based guest, set the graphics controller to VMSVGA , enabled 3D Acceleration , and booted again into my Arch-based guest.

1 Like

So, I struggled a bit. Only caught the full size icon once, but it worked. It requires hyperspeed to catch it lol.
I then tried VBOXVGA and enabled both accelerations (VBOXSVGA only has 3d acceleration). When I was able to install guest editions from the bottom VB panel they went to full size.
I tried installing Manjaro, just to see the changes and it wouldn’t boot, all sorts of errors.
But Linux Mint worked fine

Which version of the VirtualBox Extension Pack have you installed on the host?

https://download.virtualbox.org/virtualbox/6.1.14

I was also experiencing lots of errors with most guests, but I found that the errors went away after I installed Oracle_VM_VirtualBox_Extension_Pack-6.1.14-140239.vbox-extpack. VMSVGA and 3D Acceleration work for me now with all guests except Manjaro KDE.

I’ve installed all the latest ones from the repo. I’ll check again when I’m home.

Manjaro KDE installs then during installation it throws a bunch of errors that fill the screen very fast. I’m not to bothered by that, don’t really care for Manjaro. I tried Linux Mint, it worked fine and full screen.
I tried Garuda, easy full screen but the KDE version is very heavily themed, so I got to try it out. Fedora is the hardest one I tried, that bugger wont go to full screen no matter what I do.

I had no problem installing Manjaro Cinnamon on virtual-box full screen the way i do it.

Screenshot_20200915_091937

3 Likes

@Alexander
I did an install of KDE Plasma also just to show you and there were no errors or any issues installing in Virtualbox and is full screen. The resolution currently on this machine is 1680x1050 When installing in virtualbox i always start the installer and when it starts the install i maximize the box. Then as the install starts i click on the view tab in virtual box and wait until the view virtual screen becomes available and i set the resolution. Then it automatically changes at a certain stage. It just works for me and i find this easier than some other ways such as the display settings or using xrandr. This works 99.9% of the time on most distros if you are using VBoxSVGA and setting it as i explained in my earlier post.

Screenshot_20200915_093139

Edit: I do not do anything with inserting guest additions cd image if that’s where you say you are getting errors.

4 Likes

@Alexander
Here is Fedora for you full screen.

Screenshot_20200915_101632

3 Likes

I don’t understand what I’m doing wrong. I’ll keep trying and doing it it your way as closely as possible.
Thanks for all your help @ricklinux

I wish there was an easy way to post a video. Maybe I’ll post one off my google drive just so you can see exactly how i set the settings and go through the install. Others may do things differently but this is the way i use virtual-box and i don’t have any issues. I like it because i can set full screen and still have my host taskbar at the bottom or if i want i can go full full screen and cover that too.

1 Like

@Alexander
Here is link to a video on google drive of a virtualbox install.

https://drive.google.com/file/d/1M1MwE9eyKvq0lK_s6rsX-20a-UY6dNMC/view?usp=sharing

Edit: The link has expired.

2 Likes

Thank you!
So far in the first 2 minutes, I see huge differences in the way I did it and you do it. I’ll finish the video and begin a new install copying your steps.

Yes it is important at the end of the video once the vm is installed to shutdown Virtual-Box and remove optical drive in settings and set VBoxSVGA. Then boot into the newly installed vm and you should be good and it will keep those settings so long as you don’t go into the settings of that particular vm. If you do you must reset the VBoxSVGA because it will revert to default which doesn’t work.

Edit: The reason i do this is because you are no longer booting from the ISO when you start the vm. You are booting from the virtual drive you created and installed to. This way it won’t try to boot the iso which also can happen sometimes if you are mucking about so to speak.

1 Like

I don’t seem to have a choice in the drop down menu to enable 1920x1080 like you have, it stays greyed out. I made sure I followed your steps (just used Fedora Cinnamon instead). It’s mind boggling.

I don’t know what your hardware is?
inxi -Gxxxa

Edit: Also what does this show

xrandr

May i ask what you current resolution is set at on the installed system. Not sure what desktop you are on? You can check that because it may need to be set to that because virtual-box may not go to a resolution that is higher than the host? I’m not sure?

I’m on 1920X1080
One other difference is that on system–>processor–>extended features, you were able to click on both PAE/NX and the next one, Nested something, on mine that second option is not selectable, I wonder If this has something to do with it?

No that’s just a processor variable and i can run it without those checked anyway. What does xrandr show on the installed system?

1 Like

I’m not sure why it’s not showing in the list if you have it set to that. You may be able to set it in virtual-box using xrandr. Just look at the man pages.

man xrandr

xrandr command will show what it is capable of. Some resolutions can be added.

1 Like