Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: monk on 21 February 2022, 15:23:13

Title: Help with virtualbox-guest-utils on openrc
Post by: monk on 21 February 2022, 15:23:13
I am trying Artix openrc in a vm with eos host. Guest resizing work without any issue on both manjaro and eos in vm and for arch one has to install virtualbox-guest-utils and enable the service vboxservice. I am not able to acheive this in openrc or runit. Please help.
Title: Re: Help with virtualbox-guest-utils on openrc
Post by: nous on 23 February 2022, 20:06:53
What is the graphics controller of the VM? I use VBoxSVGA which autoresizes fine. VMSVGA supports resizing but you have to set it in the monitor properties of your guest OS's DE settings. At least it remembers the set window size after reboot. Modules loaded: vboxdrv and vboxvideo. Packages installed:
Code: [Select]
$ pacman -Qq|grep virtualbox
virtualbox
virtualbox-ext-oracle
virtualbox-ext-vnc
virtualbox-guest-iso
virtualbox-guest-utils
virtualbox-host-dkms
Title: Re: Help with virtualbox-guest-utils on openrc
Post by: monk on 23 February 2022, 21:43:04
Thank you so much nous for replying. I am on a manjaro host right now. 2 problems right now

The modules show a failed status on boot and aren't loaded. I have added them in `/lib/modules-load.d/modules.conf`. Please help

Secondly which packages should be installed on the host? I have right now virtualbox-guest-utils, virtualbox-guest-iso and virtualbox-host-dkms.

Thank you
Title: Re: Help with virtualbox-guest-utils on openrc
Post by: nous on 24 February 2022, 19:02:15
The canonical place to designate autoloaded modules is /etc/modules-load.d/modulename.conf

I literally gave you the list of my installed virtualbox packages...
Title: Re: Help with virtualbox-guest-utils on openrc
Post by: lq on 25 February 2022, 09:06:21
I am trying Artix openrc in a vm with eos host. Guest resizing work without any issue on both manjaro and eos in vm and for arch one has to install virtualbox-guest-utils and enable the service vboxservice. I am not able to acheive this in openrc or runit. Please help.
It is not that complicated. see screenshot 1.

If you hate Microsoft and want to have the setting like on screenshot 2,
you have to create /etc/X11/xorg.conf.d/10-monitor.conf with the following content:

Code: [Select]
Section "Monitor"
    Identifier "Virtual1"
    Option   "PreferredMode" "1920x1080"
EndSection

That's all you have to do.