Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Using Virtualbox, is it possible to execute a shell command on the guest operating system from the host operating system? I'd like to create a script that runs the command firefox http://www.google.com on a Linux guest machine (from a Windows host machine.)

share|improve this question
    
It appears that it's possible to do this on Linux (for a Linux host and a Windows guest): seechrisblog.com/2010/06/21/making-virtualbox-more-seamless –  Anderson Green Nov 8 '12 at 3:32
1  
You can use sshd on linux guest and ssh client putty.exe on windows host, but it requires network between host and guest. –  week Nov 8 '12 at 3:37
    
@week Could you use this command to run a program from a Linux guest on a Windows host? "VBoxManage guestcontrol execute "Windows XP" "C:\Program Files\Internet Explorer\iexplore.exe" --username windowsusername –  Anderson Green Nov 8 '12 at 3:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.