misc/175288: FreeBSD VirtualBox guest unable to execute command issued by Linux host using VBoxManage
Stelios Tsampas
stelios.ece at gmail.com
Mon Jan 14 13:50:00 UTC 2013
>Number: 175288
>Category: misc
>Synopsis: FreeBSD VirtualBox guest unable to execute command issued by Linux host using VBoxManage
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 14 13:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Stelios Tsampas
>Release: FreeBSD 9.1-RELEASE
>Organization:
freelancer
>Environment:
FreeBSD freebsdvm 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
I am using the following command from the Arch Linux x64 host to execute another command in the FreeBSD guest and grab the output:
VBoxManage --nologo guestcontrol "myvm" execute --image "/usr/bin/uname" --username root --password mypass --wait-exit --wait-stdout
However, every time I get the error "VBoxManage: error: Invalid user/password credentials."
That's the output from the VirtualBox logs:
00:11:50.410165 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={dfa39a36-5d43-4840-a025-67ea956b3111} aComponent={GuestProcess} aText={Invalid user/password credentials}, preserve=false
The problem has been posted in the VirtualBox forums as you can see from this link: https://forums.virtualbox.org/viewtopic.php?f=4&t=53580. They confirmed it and insisted it's a FreeBSD problem.
>How-To-Repeat:
1. Boot the FreeBSD guest.
2. Ensure that the virtualbox-ose-additions are installed and the services are running.
3. from the host machine run
VBoxManage --nologo guestcontrol <vmname> execute --image "/usr/bin/uname" --username <guest_username> --password <guest_password> --wait-exit --wait-stdout
where <vmname> is the name of the VirtualBox virtual machine, <guest_username> is a user on the FreeBSD guest and <guest_password> is the password.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list