Can you force an RDP connection to drop from VBoxManage?

This is for discussing general topics about how to use VirtualBox.
Post Reply
jtalarico
Posts: 9
Joined: 16. Oct 2009, 20:14
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win7, Win2003, WinXP

Can you force an RDP connection to drop from VBoxManage?

Post 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.
ThomasLocke
Posts: 4
Joined: 20. Oct 2009, 19:44
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows and various *nix

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

Post 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
Etepetete
Posts: 400
Joined: 7. Oct 2009, 10:19
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Slackware 14.2
Location: Berlin

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

Post 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!
jtalarico
Posts: 9
Joined: 16. Oct 2009, 20:14
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win7, Win2003, WinXP

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

Post 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.
Post Reply