You are not logged in.
HelloArchers,
I have a question that I have not been able to solve on my own. I build my own iso with archiso. A little while back I decided to replace vbox for qemu. Now I want to use vbox, installed it and is working, but, every time I start the iso trough vbox, I have to run depmod first, then restart the systemd-modules-load, log out of X, log back in and there I have all the vbox modules (vboxguest etc.) working.
I thought depmod.service was static, but I created a systemd service file for it, no success.
The guest-utils/modules, extensions and guest-iso packages are installed
Vbox is started trough a very standard 'xdg' desktop file, '/etc/xdg/virtualbox.desktop'
[Desktop Entry]
Type=Application
Encoding=UTF-8
Version=1.0
Name=vboxclient
Name[C]=vboxclient
Comment[C]=VirtualBox User Session Services
Comment=VirtualBox User Session Services
Comment[it]=Servizi di sessione utente di VirtualBox
Comment[pl]=Usługi sesji użytkownika VirtualBox
Exec=/usr/bin/VBoxClient-all
X-GNOME-Autostart-enabled=true
X-KDE-autostart-after=panelAnd /etc/modules-load.d/virtualbox.conf
vboxguest
vboxvideo
vboxsfNo systemd service file and no 'VboxClient-all' in xinitrc.
This has worked since I first build this ISO, over a year ago.
Am I overlooking something, or is this way not possible anymore
These I tried, non solve it:
depmod.service I got from https://github.com/lucasdemarchi/system … od.service.
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
[Unit]
Description=Updating Module Dependencies
DefaultDependencies=no
Before=sysinit.target systemd-modules-load.serice vboxservice.service
After=remount-rootfs.service
Requires=remount-rootfs.service
[Service]
ExecStart=/usr/bin/depmod -a
Type=oneshotvboxservice.service
[Unit]
Description=VirtualBox Guest Service
ConditionVirtualization=oracle
After=depmod.service
[Service]
ExecStartPre=/usr/bin/modprobe vboxguest
ExecStartPre=/usr/bin/modprobe vboxvideo
ExecStartPre=/usr/bin/modprobe vboxsf
ExecStart=/usr/bin/VBoxService -f
[Install]
WantedBy=multi-user.targetxinitrc
VBoxClient-allOffline