I found that you do not need any virtualbox pieces in OpenSUSE guests - 15.2 or Tumbleweed.
But everytime virtualbox (any piece) updates - zypper installs the removed virtualbox pieces again.
I have to zypper -n rm virtualbox* to get rid of them.
Without the “improved” guest additions - everything works fine and sound is perfect.
The only thing missing is dynamic screen resizing - cvt and xrandr can fix that.
How to I keep zypper from reinstalling the virtualbox pieces - do I need to create a bugzilla for that?
If it has been removed by zypper - why would it reinstall it. It was removed. It is not installed so it should not update.
If I remove any other program - it does not reinstall when a new version of the removed program comes out.
I should not have to force zypper to stop installing any virtualbox component if none is installed when it is updating.
Meaning that, there’s a component supplied by either the package virtualbox-guest-tools or the package virtualbox-guest-x11 which has remained in the Guest system and, that triggers the re-installation of the “guest” packages at every VirtualBox update.
Please check the contents of the “guest” packages and ensure that there ain’t a forgotten VirtualBox Guest mouse driver or video driver in the /usr/ libraries.
Any time a kernel changes, kernel modules need to be re-built specifically to support the new module unless the module was originally built with DKMS. I had thought that virtualobx now comes with DKMS included (no need to add DKMS as a dependency), but who knows… and it’s also conceivable that a specific new kernel may be so different that DKMS might not work for that specific upgrade.
As for installing Virtualbox Guest Additions in general…
It’s usually a good thing and like other virtualization technologies if openSUSE detects the machine is running in a virtualizaed environment any Guest enhancements are usually installed automatically.
See the Virtualbox User Manual for the functionality it provides.
But, of course it’s not necessary and if you don’t want it, you can uninstall and lock so it isn’t re-installed later.