vboxmanage can't list running vm

Discussions related to using VirtualBox on Linux hosts.
Post Reply
j194
Posts: 9
Joined: 4. Jun 2018, 20:18

vboxmanage can't list running vm

Post by j194 »

New to virtualbox user on Debian testing, with Virtual Box 5.2.12

VBoxManage list hostinfo works fine.
I start a vm up from the gui, and vm is working.
VBoxManage list vms --long returns nothing.

Searching forums returned several thousand hits on "vboxmanage", but I do not know enough about this problem to narrow the search.
Is there a way to tell Vboxmanage to look for the vm where the gui finds it? Or is there a more appropriate fix ?

Thanks
j194
Posts: 9
Joined: 4. Jun 2018, 20:18

Re: vboxmanage can't list running vm

Post by j194 »

I found out that vboxmanage will see the vms if the cli is logged as that user but not if as root. Seems this may be enough to modify the vms or clone them, etc. I am unclear on permissions and how they work here, but at least this much is clearer.
Sorry for any inconvenience; Hope the info may help other newbies.
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: vboxmanage can't list running vm

Post by andyp73 »

VirtualBox is a per user application so if you are logged in as user j194 then VBoxManage will show you the virtual machines you have created / have running. If you are logged in as root then they will have a different set of virtual machines that may or may not be running separately.

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Post Reply