On Fri, 8 Feb 2013 11:41:07 -0700,
Gregory Nowak <g...@gregn.net> wrote:

> On Fri, Feb 08, 2013 at 11:28:07AM -0600, Seb wrote:
>> On Fri, 08 Feb 2013 09:13:49 +0100,
>> jdd <j...@dodin.org> wrote:

>> > Le 08/02/2013 04:08, Seb a ??crit : >> I will read that, thanks!

>> > http://www.virtualbox.org/manual/ch08.html#vboxmanage-guestcontrol

>> Thanks for these pointers.  The process seems a lot more complicated
>> than I thought.  First, to start the VM, I don't know if I'd need
>> 'VBoxHeadless -s "My Windows VM"' or 'VBoxManage startvm "My Windows
>> VM"'.  The former seems to be relevant to allow remote connections
>> via a particular port (3389).  This has the benefit of being very
>> unobtrusive in my Linux host, but I don't know how control the VM in
>> this way.  The

> Through an rdp client. The one that comes to mind is rdesktop, though
> there are others for unix-like systems. The -s flag with rdesktop
> looks like it might do what you want, though that's not something I
> actually tried.

Thanks for your input.  However, this would require using yet another
layer of complication between the host and the guest.  I think I will
just bite the bullet and have the VM running and logged into, and then
use 'VBoxManage guestcontrol ...'.

Following that route, I just tried:

VBoxManage guestcontrol 'Windows Vista (64-bit)' exec --image 
'C:\\Windows\\System32\\cmd.exe' --username myuser --password mypassword

and I can see the cmd.exe window popping up in the VM, but something is
wrong.  Working directly in the Windows VM guest, cmd.exe displays the
window with the text:

---<--------------------cut here---------------start------------------->---
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\myuser>
---<--------------------cut here---------------end--------------------->---

and one can start typing commands.  However, when doing it with the
'VBoxManage guestcontrol ...' above, then the text doesn't show up.
There's only a black screen and no input is taken, either directly onto
the VM guest, or via the 'VBoxManage guestcontrol ...'

Cheers,

-- 
Seb


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
VBox-users-community mailing list
VBox-users-community@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:  
mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe

Reply via email to