Page 1 of 1

Autologin with rdesktop-vrdp?

Posted: 4. Oct 2011, 15:17
by chris3110
Hi there,

I'm facing an annoying problem while trying to connect to a Windows Server guest using VRDP, can somebody help me?

My config:
Host = CentOS 5.7 x86_64
Guest = Windows Server 2008 R2 SP1 x86_64
VirtualBox = VirtualBox-4.1-4.1.2_73507_rhel5-1.x86_64.rpm

What I do:
- Connect to the host system from my laptop using NX client; run xterm on the host.

- When connecting directly to the RDP server on the guest (through NAT), autologin works fine:

Code: Select all

> rdesktop-vrdp -E -x l -k fr -g 1210x680 -T ROCware -u Administrator -p xxx localhost:3389 
- When trying to connect to VIrtualBox's RDP server instead (on port 3390)

Code: Select all

> rdesktop-vrdp -E -x l -k fr -g 1210x680 -T ROCware -u Administrator -p xxx localhost:3390
it doesn't autologin, and I'm stuck at the "Press CTRL+ALT+DELETE to log on" prompt; I can't enter the key sequence either, tried all possible combinations. The only way I've been able to log in is to send the sequence from the console

Code: Select all

VBoxManage controlvm ROCware keyboardputscancode 1d 38 53 b8 9d
and then type in the credentials manually. This is very frustrating.

Anyone has an idea what's wrong here?

Thanks for your help,
Chris

Re: Autologin with rdesktop-vrdp?

Posted: 4. Oct 2011, 16:14
by Perryg
A trip to chapter 9.2.1 Automated Windows guest logons in your VirtualBox users manual might provide the solution.

Re: Autologin with rdesktop-vrdp?

Posted: 4. Oct 2011, 17:59
by chris3110
Hi Perry,

by following the steps detailed in the documentation chapter you mentioned I was able to solve the logon problem and can now conveniently multi-connect to the Windows server (using the --vrdemulticon option). Thanks a lot for your help!

Chris

Re: Autologin with rdesktop-vrdp?

Posted: 4. Oct 2011, 22:34
by Sasquatch
As for why you got it: You first connected to the Guest RDP server itself, which means you connect to the OS. In your other attempt, you connect to VB's VRDP server, which is just taking over the screen. It doesn't know about the Guest OS it's running, it can be Windows, it can be Linux, it can be Dos. VRDP doesn't care about the Guest OS, nor does it know about it. Hence it won't 'unlock' or log in when you connect to it.