VBoxManage does not show running vms (after Userswitch)
Posted: 28. Nov 2017, 13:10
Hello,
i encountered a strange problem with VBoxManage.
With the following steps i am able to reproduce the problem:
# Start a VM via VirtualBox GUI under your normal user (user that is in group: vboxusers)
# Check that VM is up and running: VBoxManage list runningvms (shows running vm)
# Become root on your linux system (su) via Terminal
# Issue: VBoxManage --version (gives version number)
# Try to check that VM is up and running again via root: su - <username> -c "VBoxManage list runningvms" -> doesn't show any output even the VM is still running
# Cancel root mode: exit
#Try to check that VM is up and running again via user: VBoxManage list runningvms -> still doesn't show any output even the VM is still running
When i shutdown the VM via GUI, close the Virtualbox GUI and open it again everything is working fine.
Do you agree that this could a possible bug or do i harm some rules with my steps described above?
VBoxVersion: 5.1.30 r118389
Linux Host: Oracle Linux 7.4
Kernel: 3.10.0-693.5.2.el7.x86_64
thanks for your help
i encountered a strange problem with VBoxManage.
With the following steps i am able to reproduce the problem:
# Start a VM via VirtualBox GUI under your normal user (user that is in group: vboxusers)
# Check that VM is up and running: VBoxManage list runningvms (shows running vm)
# Become root on your linux system (su) via Terminal
# Issue: VBoxManage --version (gives version number)
# Try to check that VM is up and running again via root: su - <username> -c "VBoxManage list runningvms" -> doesn't show any output even the VM is still running
# Cancel root mode: exit
#Try to check that VM is up and running again via user: VBoxManage list runningvms -> still doesn't show any output even the VM is still running
When i shutdown the VM via GUI, close the Virtualbox GUI and open it again everything is working fine.
Do you agree that this could a possible bug or do i harm some rules with my steps described above?
VBoxVersion: 5.1.30 r118389
Linux Host: Oracle Linux 7.4
Kernel: 3.10.0-693.5.2.el7.x86_64
thanks for your help