Page 1 of 1

Can you force an RDP connection to drop from VBoxManage?

Posted: 21. Oct 2009, 21:39
by jtalarico
As I've mentioned in other posts, I'm having issues with dropped RDP connections leaving the VM in a state where it thinks it is still connected. This prevents a reconnect because multiple connections are not allowed.

But, until that's fixed is there a way to drop an existing RDP connection via command-line? I can ssh into the Host machine and manage the VMs.

Re: Can you force an RDP connection to drop from VBoxManage?

Posted: 23. Oct 2009, 10:48
by ThomasLocke
jtalarico wrote:As I've mentioned in other posts, I'm having issues with dropped RDP connections leaving the VM in a state where it thinks it is still connected. This prevents a reconnect because multiple connections are not allowed.

But, until that's fixed is there a way to drop an existing RDP connection via command-line? I can ssh into the Host machine and manage the VMs.
Hello,

I'm still very much a VB beginner, so take this advice with a grain of salt, but couldn't you just do this: http://www.virtualbox.org/manual/UserMa ... connection

That way users can just reconnect.

I know it's not really solving the actual problem of users getting dropped in the first place, but it does present a solution to your problem here and now. :)

/Thomas

Re: Can you force an RDP connection to drop from VBoxManage?

Posted: 23. Oct 2009, 12:07
by Etepetete
I haven't gotten into rdp at all, but after looking in the on-line manual (followed the link Thomas posted) I would try using VBoxManage modifyvm --vrdpport <port> consecutively to switch the port being used to a vacant one and back again.

Lot' of luck!

Re: Can you force an RDP connection to drop from VBoxManage?

Posted: 23. Oct 2009, 18:00
by jtalarico
Allowing multiple connections works as a temporary hack, but I'd prefer to limit to 1 connection and just have the VM do a better job of cleaning up dropped connections.