tastyminerals
Posts: 11
Joined: Fri Mar 23, 2018 11:52 pm

Virtualbox guest additions package does not seem to work

Wed Aug 15, 2018 8:06 am

I have installed Virtualbox for current kernel with the required packages including guest-additions to have resizable guest OS window. However, the "Auto-resize guest display" option is greyed out. I have checked official Solus instructions for using virtualbox to check if I need to download anything else but everything looks fine and I should have all the necessary dependencies in place. Can somebody please check and confirm that Windows as guest with guest-additions installed is working?

snork
Posts: 16
Joined: Tue May 29, 2018 11:31 am

Re: Virtualbox guest additions package does not seem to work

Wed Aug 15, 2018 10:52 am

Most likely You have a kernel and guest-additions mismatch.
If you use current kernel (most do), you must install virtualbox-guest-current.

Code: Select all

$ eopkg search virtualbox-guest
virtualbox-guest-common  - Common components for the VirtualBox guest packages
virtualbox-guest         - VirtualBox guest additions for the linux-lts kernel
virtualbox-guest-current - VirtualBox guest additions for the linux-current kernel

User avatar
kyrios
Posts: 2162
Joined: Thu Sep 22, 2016 4:20 pm

Re: Virtualbox guest additions package does not seem to work

Wed Aug 15, 2018 11:37 am

Also make sure your virtual machine is up-to-date

tastyminerals
Posts: 11
Joined: Fri Mar 23, 2018 11:52 pm

Re: Virtualbox guest additions package does not seem to work

Sun Aug 19, 2018 7:26 am

I have all the required components installed. That's the point. The system is up to date unless there is something else I need to do in Solus in addition to "eopkg upgrade". The "Auto-resize guest display" option is still greyed out and is not available.

User avatar
kyrios
Posts: 2162
Joined: Thu Sep 22, 2016 4:20 pm

Re: Virtualbox guest additions package does not seem to work

Sun Aug 19, 2018 9:39 am

tastyminerals wrote:
Sun Aug 19, 2018 7:26 am
I have all the required components installed. That's the point. The system is up to date unless there is something else I need to do in Solus in addition to "eopkg upgrade". The "Auto-resize guest display" option is still greyed out and is not available.

Could you please provide the output of the following commands ?

Code: Select all

ls /opt/VirtualBox

Code: Select all

uname -r

Code: Select all

eopkg li | grep virtualbox

Code: Select all

eopkg info virtualbox-guest-common

tastyminerals
Posts: 11
Joined: Fri Mar 23, 2018 11:52 pm

Re: Virtualbox guest additions package does not seem to work

Sun Aug 19, 2018 9:52 pm

Code: Select all

pavel@pavel ~ $ ls /opt/VirtualBox
ls: cannot access '/opt/VirtualBox': No such file or directory

Code: Select all

pavel@pavel ~ $ uname -r
4.17.14-86.current

Code: Select all

pavel@pavel ~ $ eopkg li | grep virtualbox
virtualbox-common                           - Common components for VirtualBox host packages
virtualbox-current                          - VirtualBox host modules for the linux-current kernel
virtualbox-guest-common                     - Common components for the VirtualBox guest packages
virtualbox-guest-current                    - VirtualBox guest additions for the linux-current kernel

Code: Select all

pavel@pavel ~ $ eopkg info virtualbox-guest-common
Installed package:
Name                : virtualbox-guest-common, version: 5.2.16, release: 67
Summary             : Common components for the VirtualBox guest packages
Description         : VirtualBox is a free powerful open source solution for running other x86 and x86_64 operating systems
                      virtually on your computer.
Licenses            : GPL-2.0-only
Component           : virt
Dependencies        : libxcomposite libxdamage libxfixes libxmu libxrandr pam 
Distribution        : Solus, Dist. Release: 1
Architecture        : x86_64, Installed Size: 7.67 MB
Reverse Dependencies: virtualbox-guest-current 

Package found in Solus repository:
Name                : virtualbox-guest-common, version: 5.2.16, release: 67
Summary             : Common components for the VirtualBox guest packages
Description         : VirtualBox is a free powerful open source solution for running other x86 and x86_64 operating systems
                      virtually on your computer.
Licenses            : GPL-2.0-only
Component           : virt
Dependencies        : libxcomposite libxdamage libxfixes libxmu libxrandr pam 
Distribution        : Solus, Dist. Release: 1
Architecture        : x86_64, Installed Size: 7.67 MB, Package Size: 1.14 MB
Reverse Dependencies: virtualbox-guest virtualbox-guest-current 

virtualbox-guest-common package is not found in source repositories

User avatar
kyrios
Posts: 2162
Joined: Thu Sep 22, 2016 4:20 pm

Re: Virtualbox guest additions package does not seem to work

Sun Aug 19, 2018 10:21 pm

The versions of the components are fine.

One thing that isn't normal is that you have installed the guest but also the host packages on your VM. I don't think that is the problem, but you can uninstall virtualbox-common and virtualbox-current from your virtual machine.
tastyminerals wrote:
Sun Aug 19, 2018 9:52 pm

Code: Select all

pavel@pavel ~ $ eopkg li | grep virtualbox
virtualbox-common                           - Common components for VirtualBox host packages
virtualbox-current                          - VirtualBox host modules for the linux-current kernel
virtualbox-guest-common                     - Common components for the VirtualBox guest packages
virtualbox-guest-current                    - VirtualBox guest additions for the linux-current kernel
Could you also check if the service is running ?

Code: Select all

systemctl status vboxservice.service

Return to “Other Questions”