Help with VRDP settings (ReuseSingleConn)?

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

Help with VRDP settings (ReuseSingleConn)?

Post by jtalarico »

Before I get flamed, yes, I've already searched both Google and this forum for any clues.

I'm trying to work around an issue whereby a dropped VRDP connection results in a failure to reconnect. If a network hiccup causes my remote desktop connection to fail, I try to reconnect and keep getting rejected. The logs say that multiple connections are not allowed, even though there's no active connection.

Out of curiosity, I see "ReuseSingleConn: off" when I get info about the running VM. What does this mean? It isn't in the docs and there are no explanations online.
stevem
Posts: 2
Joined: 21. Oct 2009, 11:12
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Debian 4.0

Re: Help with VRDP settings (ReuseSingleConn)?

Post by stevem »

I'd love to know too.

I currently have one VirtualBox host with two VMs and it seems that I can never connect to both
at the same time because of the same error.

It also happened to me that my connection dropped and I couldn't open another one until I restartet the VM.
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: Help with VRDP settings (ReuseSingleConn)?

Post by MarkCranness »

stevem wrote:I currently have one VirtualBox host with two VMs and it seems that I can never connect to both
at the same time because of the same error.
You need to assign different ports to each VM and then use those port numbers when connecting.
Settings>Display>Remote Display>Server Port.
In Windows, connect to localhost:<port>, certainly similar can be done in Linux.
stevem wrote:It also happened to me that my connection dropped and I couldn't open another one until I restartet the VM.
Same as the OP, I don't know on this one.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Help with VRDP settings (ReuseSingleConn)?

Post by Perryg »

See section 7.4.7. VRDP multiple connections of the VBox Users Guide to set it up for multiple connections.
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: Help with VRDP settings (ReuseSingleConn)?

Post by jtalarico »

Thanks - I've got it running Multiple connections now and that works...for now...but seems awfully hackish. Shouldn't the dropped connection be recognized more effectively and allow for reconnection more quickly?

I'd prefer to use a single connection to prevent multiple different users hitting the same VM. I kinda' thought it was a good idea to limit connections to 1.

PerryG: Any comments on my original question? What does ReuseSingleConn do? There's no documentation I can find.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Help with VRDP settings (ReuseSingleConn)?

Post by Perryg »

PerryG: Any comments on my original question? What does ReuseSingleConn do? There's no documentation I can find.
I honestly can not tell you other than what I think it does.
I will see what I can find out though.
shaibn
Posts: 18
Joined: 1. Dec 2009, 17:51
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: MS Windows 7, Ubuntu, CentOS

Re: Help with VRDP settings (ReuseSingleConn)?

Post by shaibn »

So what is ReuseSingleConn?
Post Reply