VirtualBox

Ticket #10221 (closed defect: worksforme)

Opened 2 years ago

Last modified 5 months ago

VBoxManage guestcontrol execute: XP to Linux Not Working

Reported by: __LEO__ Owned by:
Priority: minor Component: guest control
Version: VirtualBox 4.1.8 Keywords: VBoxManage guestControl Not Working
Cc: Guest type: other
Host type: other

Description

I can not run a program/script on my guest OS from my host OS.

I type the following code into a cmd prompt:

VboxManage guestcontrol “Linux Red Hat” execute –image “/bin/ls” –username root –password 12345
VBoxManage.exe error: The guest execution service is not ready (yet)

The VM is currently running. Here is the output:

    C:\Program Files\Oracle\VirtualBox>VBoxManage list runningvms
    "Red Hat Linux" {07a1f39d-bf93-406c-a840-1f86ace08636}

I also have "shared folders" working.

The attached log file shows verr_not_found

The attached log file shows /pwd not /ls but that shouldn't matter. I gave an up to date log output.

My Setup

Host OS Windows XP SP3

Guest OS Red Hat Linust (RHEL) 5.7

VirtualBox 4.1.8 for Windows hosts

Guest Additions Installed (Verified because I can share a folder from Host OS to Guest OS no problems)

Guest OS Network is working with NAT.

My original post to the forum:  https://forums.virtualbox.org/viewtopic.php?f=3&t=47757

Please contact me for the attachment. The PDF is too large to submit. I won't be able to get you a *.txt.

Attachments

vb_issue_small.zip Download (244.2 KB) - added by __LEO__ 2 years ago.
Only 9/20 pages becuase of your size constraint.

Change History

Changed 2 years ago by __LEO__

Only 9/20 pages becuase of your size constraint.

comment:1 follow-up: ↓ 2 Changed 2 years ago by Technologov

It may be, that you forgot to install the GA.

Also See  Test Results

-Technologov

comment:2 in reply to: ↑ 1 Changed 2 years ago by __LEO__

Technologov - I looked over your weblink and downloaded the stability matrix. I agree the auto-install for the guest additions does not work.

However, I am able to manually install the guest additions and get the shared folders to work. Now of course I am using 4.1.8 and not 4.1.6.

After the shared folders are setup, I still get the errors that I posted above. According to your excel sheet, this should work for guest OS linux RHEL 5.7.

-LEO

comment:3 Changed 2 years ago by Technologov

Try this command:

VBoxManage guestcontrol "my VM" execute --image "/bin/uname" --username root --password 123456 --wait-stdout -- -a

(documented in my Excel file)

-Technologov

comment:4 Changed 2 years ago by __LEO__

Same Results when i tried the posted command.

VboxManage guestcontrol “Linux Red Hat” execute –image “/bin/uname” –username root –password 12345 --wait-stdout -- -a
VBoxManage.exe error: The guest execution service is not ready (yet)

And like last time. The "Shared Folder" functionality that comes with guest additions is up and working.

comment:5 Changed 2 years ago by __LEO__

Re: VBoxManage guestcontrol execute: XP to Linux Not Working

Postby LEO » 13. Feb 2012, 22:17 VBoxManage guestcontrol is now Working!

The guest additions were installed but not successfully. Meaning, I was able to use shared folders but the graphics portion of guest additions was not working. In a dialogue with a co-worker we discovered I compiled the guest additions against a xen kernel by accident. When I compiled again against a non-xen kernel everything worked.

In other words, kernel 2.6.18-274.el5-xen-i686 did not work with the installation of guest additions. Kernel 2.6.18-274.el5-i686 did work. The xen kernel was corrupted and I had to run the non-xen one.

Please close this bug. The solution was "Do not install guest additions against a *xen* kernel".

comment:6 Changed 2 years ago by frank

  • Component changed from other to guest control

comment:7 Changed 5 months ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use