Page 1 of 1
how to show running vms with VBoxManage list runningvms
Posted: 28. Mar 2018, 20:46
by Dirk_Lehmann
If I enter:
on the host I do not get any output. graphical interface shows running vms. how to use VBoxManage list runningvms corretly to get a output?
DL
Re: how to show running vms with VBoxManage list runningvms
Posted: 28. Mar 2018, 21:28
by andyp73
It looks as though you may be running the VBoxManage command as a different user to the one that started the virtual machines.
On my live Debian 9 machine they get started by a user called "virtualbox" and the VBoxManage command has to be run by that user. Running it as root, for example, shows no output.
-Andy.
Re: how to show running vms with VBoxManage list runningvms
Posted: 28. Mar 2018, 23:18
by Dirk_Lehmann
Might be, I tried it with my username and with superuser. Which user might it be? How to figure that out?
Re: how to show running vms with VBoxManage list runningvms
Posted: 28. Mar 2018, 23:28
by andyp73
Run "ps -aux" as root and look or grep through the output. The first field is the owner of the running process.
-Andy.
Re: how to show running vms with VBoxManage list runningvms
Posted: 28. Mar 2018, 23:55
by Dirk_Lehmann
Thank you very much, see maybe:
Code: Select all
dirk 22697 2.1 0.3 4903436 105952 ? Sl Mär26 78:35 /usr/lib/virtualbox/VirtualBox --comment Webserver --startvm 59e4efc3-4866-4931-a560-92808
I was wondering why I do net get any output as dirk by using the command mentioned?!