Hi,
In my daily work, I’m running OpenSUSE Leap on all my desktop clients and CentOS on all my servers. I’m using VirtualBox and Vagrant to test various setups on my workstation.
Until two days ago, my workstation was running OpenSUSE Leap 15.1 with VirtualBox 5.2.44 installed manually. This setup worked perfectly.
Yesterday I upgraded this machine to OpenSUSE Leap 15.2. I wiped VirtualBox 5.2.44 from /opt and decided to give the VirtualBox 6.1.14 packages from the OpenSUSE Leap repositories a spin.
Currently I need three different virtual machines for testing purposes: OpenSUSE Leap 15.2, CentOS 7.8 (headless) and CentOS 8.2 (headless).
I installed the OpenSUSE Leap 15.2 guest in VirtualBox, but after rebooting I only managed to get the basic 800x600 resolution. On a side note, my workstation has a dual monitor, each with 1280x1024 resolution.
The next step consists in installing the virtualbox-guest-x11 package in my guest system. After rebooting it, I still can’t set the correct resolution.
I tried to replaced VirtualBox 6.1.14 provided by OpenSUSE with VirtualBox 6.1.16 provided by VirtualBox.org. Installation went fine, but unfortunately the problem persists. There’s no way I can display my guest OpenSUSE Leap KDE desktop in a better resolution than 800x600.
My next attempt consisted in deleting the virtualbox-guest-x11 package and building the Guest Additions manually. Same result.
From there, I went to replace the VirtualBox 6.1 branch by a lower branch. This solution has worked well in the past (see my blog article on the subject), since on OpenSUSE Leap 15.1 VirtualBox 5.2.x worked perfectly. Probably due to the fact that Leap uses an older kernel based on SLES.
I downloaded the installers for VirtualBox 5.2.44 and 6.0.24 and tried to install them, but unfortunately I got kernel module build errors on both of these.
So it looks like in the current state of things, there’s no way to install an OpenSUSE Leap 15.2 desktop guest on an OpenSUSE Leap 15.2 host with VirtualBox with a proper resolution.
Any suggestions?
Cheers from the locked down South of France.