

[SOLVED] openSUSE Tumbleweed VirtualBox guest: Resolution stuck at 800x600 after...
source link: https://msiyer.com/opensuse-tumbleweed-as-virtualbox-guest-resolution-stuck-at-800x600-after-fresh-install/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

[SOLVED] openSUSE Tumbleweed VirtualBox guest: Resolution stuck at 800x600 after fresh install
A VirtualBox Guest Additions bug defined in the Ticket #19496 caused my freshly installed openSUSE Tumbleweed to have resolution stuck at 800x600. This blog post is about my experiments and observations.
The plan was to install openSUSE Tumbleweed as a VirtualBox guest in an openSUSE Leap 15.1 host with VirtualBox version 6.0.18_SUSE r136238 installed in it. Got the latest openSUSE Tumbleweed Network Image - openSUSE-Tumbleweed-NET-x86_64-Snapshot20200509-Media.iso
.
RESOLUTION STUCK AT 800x600
Installation was smooth and uneventful. The only issue is that the resolution is 800x600
. The Display utility in KDE Plasma 5 lets me change the resolution and it works for a couple of seconds and reverts to 800x600
.
My experience with openSUSE Tumbleweed as a VirtualBox guest has always been good. Not this time. However, before blaming it, I wanted to understand the root cause of the problem.
Looked around on the world wide web and found that the VirtualBox bug tracker has Ticket #19496 already open for the same issue:
The virtualbox 6.1.6 update seems to be okay, but if the matching guest additions is applied to the guest, the auto-resize or resize to any resolution is unavailable. I applied guest additions to several hosts before discovering this issue, including Centos-6, Centos-7, Centos-8, kali linux, and OracleLinux-8. Guests that have not gotten the update seem to be working fine.
MY EXPERIMENTS
VirtualBox Guest Additions from openSUSE repositories
I checked if VirtualBox Guest Additions were installed by default or not:
zypper se --installed-only | grep virtualbox
i | virtualbox-kmp-default | Kernel modules for VirtualBox | package
Surprisingly, found the packages missing. I was expecting them to be present. I installed virtualbox-guest-tools
and virtualbox-guest-x11
and restarted the machine:
sudo zypper in virtualbox-guest-tools virtualbox-guest-x11
sudo reboot
Did not work. So, the bug seems to be affecting openSUSE Tumbleweed too. I purged the packages:
sudo zypper rm virtualbox-guest-tools virtualbox-guest-x11
VirtualBox Guest Additions from VirtualBox repositories
On the host running openSUSE Leap 15.1:
VirtualBox UI
-> Devices
-> Insert Guest Additions CD image...
The download began, but failed. Twice. So,:
- Confirmed my VirtualBox version - 6.0.18_SUSE r136238.
- Downlaoded the matching VirtualBox Guest Additions
iso
file. - Install build tools
sudo zypper in kernel-devel gcc make
- Inserted it into the virtual machine and:
cd /run/media/msiyer/VBox_GAs_6.0.18
sudo ./VBoxLinuxAdditions.run
The output was a bit confusing:
Verifying archive integrity... All good.
Uncompressing VirtualBox 6.0.18 Guest Additions for Linux........
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules. This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 5.6.11-1-default.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what
went wrong
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted
Even without a restart the resolution was properly set and all was beautiful. I restarted for good measure. All is well.
CONCLUSION
- Virtualbox 6.1.6 is broken - Ticket #19496
- Packages
virtualbox-guest-tools
andvirtualbox-guest-x11
not available by default in openSUSE Tumbleweed. The packages do not work even when installed. - Installed VirtualBox Guest Additions by downloading
iso
from VirtualBox website. - Success.
Recommend
-
50
到目前为止,openSUSE Tumbleweed滚动操作系统现在由最新和最先进的Linux 4.17内核系列提供支持,该系列在之前发布的最新快照中发布。 Tumbleweed snapshot 20180615于今天(2018年6月17...
-
30
Dear Tumbleweed users and hackers, This week I canceled more snapshots than I released – only 2 snapshots have been sent out (0201 and 0205). Feels quite bad, but on the other hand, I’m glad we have openQA protecti...
-
31
Dear Tumbleweed users and hackers, At SUSE we had so-called hackweek. Meaning everybody could do something out of their regular tasks and work for a week on something else they wish to invest time on. I used the ti...
-
9
Linux openSUSE adventures - Leaped onto Tumbleweed, tumbled for a while and rolled back on to Leap due to a Dolphin bug KDE Plasma's official File Manager,...
-
8
Linux [SOLVED] Fedora 32 VirtualBox guest: Resolution stuck at 800x600 after fresh install Fedora 32 as a VirtualBox guest is stuck at 800x600 resolution. I...
-
4
Virtualization Virtualbox on OpenSUSE 13.1: vboxdrv troubles and troubleshooting ...
-
4
Linux NoMachine adventures on openSUSE Leap and Tumbleweed NoMachine is a very good remote desktop solution for Linux. It installs fine on openSUSE Leap whi...
-
9
openSUSE Leap 与 Tumbleweed,我该选择哪一个 | Linux 中国如果你是 openSUSE 的新手,很容易把 Tumbleweed 和 Leap 搞混。来源:
-
5
Virtualization Windows 11 VirtualBox guest in openSUSE Tumbleweed host How to install Windows 11 as VirtualBox guest in openSUSE Tumbelweed...
-
4
openSUSE Tumbleweed gains optional x86-64-v3 optimization 2. Mar 2023 | Dirk Müller | CC-BY-SA-3.0
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK