Autologin with rdesktop-vrdp?

Discussions about using Windows guests in VirtualBox.
Post Reply
chris3110
Posts: 7
Joined: 13. Apr 2010, 14:16
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows Server 2003

Autologin with rdesktop-vrdp?

Post 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
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Autologin with rdesktop-vrdp?

Post by Perryg »

A trip to chapter 9.2.1 Automated Windows guest logons in your VirtualBox users manual might provide the solution.
chris3110
Posts: 7
Joined: 13. Apr 2010, 14:16
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows Server 2003

Re: Autologin with rdesktop-vrdp?

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Autologin with rdesktop-vrdp?

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply