VirtualBox

Ticket #6808 (reopened defect)

Opened 4 years ago

Last modified 22 months ago

vboxmanage list runningvms does not list anything

Reported by: xodox Owned by:
Priority: major Component: other
Version: VirtualBox 3.2.0 Keywords: vboxmanage list
Cc: Guest type: other
Host type: Windows

Description

Hello, I´m using "vboxmanage list runningvms" in an script to automatically suspend all listed machines, because they are located on an external disk i have to unmount manually.

In the new Version of VirtualBox (3.2.0) this command doesn´t show any running machines anymore while "vboxmanage list vms" still shows all available Machines on the Host (Windows Seven 64bit). In Version 3.1.6, I just upgraded from, it just worked well. This error is reproduceable on a second Host.

Change History

comment:1 Changed 4 years ago by frank

Unable to reproduce. Still relevant with VBox 3.2.4?

comment:2 Changed 4 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

No response, closing.

comment:3 Changed 4 years ago by tomljones3

  • Status changed from closed to reopened
  • Resolution fixed deleted

I have, unfortunately, reproduced this issue. My Environment: Host: Windows 2003 Server, VirtualBox 3.2.8 VMs: Windows 2003 Server

My steps to reproduce:

  1. Login to host as user "vmrunner"
  2. Execute "vboxmanage.exe startvm WinXP --type vrdp"
  3. Execute "vboxmanage list runningvms". The result shows WinXP as expected.
  4. From another computer remote desktop into WinXP and confirm that it is running
  5. Login to host as user "Tom" and execute "vboxmanage list runningvms". The result is an empty list. Expected result is to see WinXP

These steps can be reproduced regardless of the method used to start the VM and regardless of the method used to look for the VM. For example if I do not start the VM using phpVirtualBox then phpVirtualBox will never see the VM as running.

comment:4 Changed 3 years ago by frank

  • Status changed from reopened to closed
  • Resolution set to worksforme

I assume you the users which starts the VM and the user which tries to list the running VMs are different. Note that only running VMs of the corresponding user are displayed.

comment:5 Changed 22 months ago by jh3141

  • Status changed from closed to reopened
  • Resolution worksforme deleted

I'm seeing the same problem with virtualbox 4.1.14, also windows 7, even using a single user. Steps to reproduce:

  1. Have two users, e.g. 'admin' and 'user', the latter of which is not an administrator.
  2. Log in as 'user'.
  3. Right click on the VirtualBox manager icon, select 'run as administrator'. Give admin password to let it start.
  4. Examine the process in task manager, note that it is running as user 'admin'
  5. Start a virtual machine running.
  6. In the start menu, search for 'cmd.exe'.
  7. Shift-right click, choose 'run as a different user' and log in as admin.
  8. vboxmanage list runningvms shows an empty list, despite the fact that it is running as the same user as at least one running vm.
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use