Problems with starting VirtualBox VMs

got this:

[guido@nixosl1:~]$ VBoxManage startvm hello
Waiting for VM "hello" to power on...
VBoxManage: error: The virtual machine 'hello' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine

[guido@nixosl1:~]$ echo $?
1

[guido@nixosl1:~]$ id
uid=1000(guido) gid=100(users) Gruppen=100(users),1(wheel),57(networkmanager),72(vboxusers),3000(eltern)

Starting with the GUI gives me: “kernel driver not accessible”.

I had searched the internet and the forum but I didn’t come to a helpful end.

[root@nixosl1:~]# lsmod|sort
8021q                  28672  0
ac                     16384  0
aes_generic            36864  6
af_packet              53248  6
agpgart                40960  4 intel_gtt,ttm,nouveau,drm
ahci                   40960  1
asus_nb_wmi            32768  0
asus_wmi               40960  1 asus_nb_wmi
at24                   24576  0
ath                    32768  3 ath9k_common,ath9k,ath9k_hw
ath9k                 118784  0
ath9k_common           20480  1 ath9k
ath9k_hw              454656  2 ath9k_common,ath9k
atkbd                  32768  0
autofs4                49152  0
backlight              20480  5 video,asus_wmi,i915,nouveau,drm
battery                20480  1 asus_wmi
blake2b_generic        20480  0
bridge                241664  0
btrfs                1474560  1
button                 24576  1 nouveau
ccm                    20480  9
cdrom                  61440  1 sr_mod
cec                    53248  1 i915
cfg80211              831488  4 ath9k_common,ath9k,ath,mac80211
configfs               49152  1
coretemp               20480  0
crc32c_generic         16384  0
crc32c_intel           24576  2
crc32_pclmul           16384  0
crc_t10dif             20480  1 t10_pi
crct10dif_common       16384  3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
crct10dif_generic      16384  0
crct10dif_pclmul       16384  1
cryptd                 20480  2 crypto_simd,ghash_clmulni_intel
crypto_simd            16384  0
ctr                    16384  3
dm_mod                139264  0
drm                   512000  13 drm_kms_helper,i915,ttm,nouveau
drm_kms_helper        212992  2 i915,nouveau
ehci_hcd               94208  1 ehci_pci
ehci_pci               20480  0
evdev                  24576  18
fan                    20480  0
fb_sys_fops            16384  1 drm_kms_helper
fuse                  135168  1
ghash_clmulni_intel    16384  0
glue_helper            16384  0
hid                   135168  2 usbhid,hid_generic
hid_generic            16384  0
i2c_algo_bit           16384  2 i915,nouveau
i2c_core               86016  11 videodev,drm_kms_helper,i2c_algo_bit,at24,i2c_smbus,i2c_i801,i915,psmouse,regmap_i2c,nouveau,drm
i2c_i801               36864  0
i2c_smbus              20480  1 i2c_i801
i8042                  28672  1 asus_nb_wmi
i915                 2617344  38
input_leds             16384  0
intel_cstate           20480  0
intel_gtt              24576  1 i915
intel_pmc_bxt          16384  1 iTCO_wdt
intel_powerclamp       20480  0
intel_rapl_common      28672  1 intel_rapl_msr
intel_rapl_msr         20480  0
intel_uncore          147456  0
ip6table_filter        16384  1
ip6table_nat           16384  0
ip6table_raw           16384  1
ip6_tables             32768  5 ip6table_filter,ip6table_raw,ip6table_nat
ip6t_rpfilter          16384  1
ip_set                 49152  2 xt_set,ip_set_hash_net
ip_set_hash_net        45056  2
iptable_filter         16384  1
iptable_nat            16384  0
iptable_raw            16384  1
ip_tables              28672  4 iptable_filter,iptable_raw,iptable_nat
ipt_rpfilter           16384  1
irqbypass              16384  1 kvm
iTCO_wdt               16384  0
joydev                 28672  0
kvm                   790528  1 kvm_intel
kvm_intel             315392  0
led_class              20480  6 snd_hda_codec_generic,input_leds,rtsx_usb_sdmmc,ath9k,asus_wmi,nouveau
ledtrig_audio          16384  1 snd_hda_codec_generic
libaes                 16384  1 aes_generic
libahci                36864  1 ahci
libarc4                16384  1 mac80211
libata                249856  2 libahci,ahci
libcrc32c              16384  3 nf_conntrack,nf_nat,btrfs
libphy                102400  3 r8169,mdio_devres,realtek
libps2                 20480  2 atkbd,psmouse
llc                    16384  2 bridge,stp
loop                   36864  0
lpc_ich                28672  0
mac80211              819200  1 ath9k
mac_hid                16384  0
macvlan                28672  0
mc                     53248  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
mdio_devres            16384  1 r8169
mei                   118784  3 mei_hdcp,mei_me
mei_hdcp               24576  0
mei_me                 40960  1
memstick               20480  1 rtsx_usb_ms
mmc_core              163840  1 rtsx_usb_sdmmc
Module                  Size  Used by
mousedev               24576  0
mxm_wmi                16384  1 nouveau
nf_conntrack          143360  2 xt_conntrack,nf_nat
nf_defrag_ipv4         16384  1 nf_conntrack
nf_defrag_ipv6         24576  1 nf_conntrack
nf_log_common          16384  2 nf_log_ipv4,nf_log_ipv6
nf_log_ipv4            16384  1
nf_log_ipv6            16384  1
nf_nat                 45056  2 ip6table_nat,iptable_nat
nfnetlink              16384  1 ip_set
nouveau              2236416  1
psmouse               155648  0
pstore                 28672  1
r8169                 102400  0
raid6_pq              118784  1 btrfs
rapl                   16384  0
realtek                24576  1
regmap_i2c             16384  1 at24
rfkill                 24576  6 asus_wmi,cfg80211
rtc_cmos               28672  1
rtsx_usb               28672  2 rtsx_usb_sdmmc,rtsx_usb_ms
rtsx_usb_ms            24576  0
rtsx_usb_sdmmc         32768  0
sch_fq_codel           20480  3
scsi_mod              229376  3 sd_mod,libata,sr_mod
sd_mod                 53248  2
serio                  24576  6 serio_raw,atkbd,psmouse,i8042
serio_raw              20480  0
snd                    90112  16 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
snd_hda_codec         135168  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_codec_generic    90112  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     69632  4
snd_hda_codec_realtek   131072  1
snd_hda_core           86016  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hda_intel          49152  4
snd_hwdep              16384  1 snd_hda_codec
snd_intel_dspcfg       28672  1 snd_hda_intel
snd_pcm               114688  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              36864  1 snd_pcm
soundcore              16384  1 snd
sparse_keymap          16384  1 asus_wmi
sr_mod                 28672  0
stp                    16384  1 bridge
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
t10_pi                 16384  1 sd_mod
tap                    28672  0
thermal                20480  0
tiny_power_button      16384  0
ttm                    98304  1 nouveau
tun                    53248  0
usb_common             16384  4 xhci_hcd,usbcore,uvcvideo,ehci_hcd
usbcore               278528  7 xhci_hcd,ehci_pci,usbhid,rtsx_usb,uvcvideo,ehci_hcd,xhci_pci
usbhid                 57344  0
uvcvideo              110592  0
vboxdrv               450560  2 vboxnetadp,vboxnetflt
vboxnetadp             28672  0
vboxnetflt             32768  0
video                  49152  3 asus_wmi,i915,nouveau
videobuf2_common       53248  2 videobuf2_v4l2,uvcvideo
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         28672  1 uvcvideo
videobuf2_vmalloc      20480  1 uvcvideo
videodev              249856  3 videobuf2_v4l2,uvcvideo,videobuf2_common
watchdog               24576  1 iTCO_wdt
wmi                    28672  3 asus_wmi,mxm_wmi,nouveau
x86_pkg_temp_thermal    20480  0
xhci_hcd              270336  1 xhci_pci
xhci_pci               20480  0
xhci_pci_renesas       20480  1 xhci_pci
xor                    24576  1 btrfs
x_tables               40960  13 ip6table_filter,xt_conntrack,ip6table_raw,iptable_filter,ip6t_rpfilter,xt_LOG,xt_tcpudp,xt_set,ip6_tables,ipt_rpfilter,xt_pkttype,iptable_raw,ip_tables
xt_conntrack           16384  2
xt_LOG                 20480  2
xt_pkttype             16384  2
xt_set                 16384  2
xt_tcpudp              20480  9

[root@nixosl1:~]# grep -i virtual -A 3 /etc/nixos/configuration.nix
    virtualbox
    vlc
    wget 
    ##wifi-password
--
  virtualisation.virtualbox.host.enable = true;
  users.extraGroups.vboxusers.members = [ "guido" ];
[root@nixosl1:~]# nix-channel --list | grep nixos
nixos https://nixos.org/channels/nixos-21.05

I tried to track it with “strace VBoxManage startvm hello” but that didn’t produce extra insight to me. If needed I could prvide that output as well.

Many thanks in advance