VBoxManage list vms empty

Discussions related to using VirtualBox on Linux hosts.
Post Reply
ccyril95
Posts: 2
Joined: 1. Sep 2008, 20:34

VBoxManage list vms empty

Post by ccyril95 »

Hi,

When i do VBoxManage list vms, i have nothing, the list is empty

I have created the vm by the GUI, and i can launch it. but not in command line :

Code: Select all

VboxManage startvm [b]win [/b]: 
VirtualBox Command Line Management Interface Version 1.6.4
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

[!] FAILED calling virtualBox->FindMachine(Bstr(argv[0]), machine.asOutParam()) at line 5443!
[!] Primary RC  = NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value
[!] Full error info present: true , basic error info present: true 
[!] Result Code = NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value
[!] Text        = Could not find a registered machine named '[b]win[/b]'
[!] Component   = VirtualBox, Interface: IVirtualBox, {2d3b9ea7-25f5-4f07-a8e1-7dd7e0dcf667}
[!] Callee      = IVirtualBox, {2d3b9ea7-25f5-4f07-a8e1-7dd7e0dcf667}
The file file:///home/user1/.VirtualBox/VirtualBox.xml

Code: Select all

<MachineRegistry>
<MachineEntry uuid="{a560c615-1a60-4cbf-5b8d-e07ef250f260}" src="Machines/win/win.xml"/>
</MachineRegistry>
The file file:///home/user1/.VirtualBox/Machines/win/win.xml :

Code: Select all

<VirtualBox version="1.3-linux">
<Machine OSType="win2k" lastStateChange="2008-09-01T18:05:43Z" name="win" uuid="{a560c615-1a60-4cbf-5b8d-e07ef250f260}" snapshotFolder="Snapshots">
I use ubuntu 8.04

Thanks for your help
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

How do you run each command? From the GUI, that should be with your own user credentials. If you run VBoxManage as root (with sudo) then it's obvious that you don't get a list.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
ccyril95
Posts: 2
Joined: 1. Sep 2008, 20:34

Post by ccyril95 »

Sasquatch wrote:How do you run each command? From the GUI, that should be with your own user credentials. If you run VBoxManage as root (with sudo) then it's obvious that you don't get a list.
It's right !!!

thanks
Post Reply