VRDP : can't send a ctrl-alt-del

Discussions about using Windows guests in VirtualBox.
Post Reply
redia
Posts: 2
Joined: 10. Dec 2007, 17:22

VRDP : can't send a ctrl-alt-del

Post by redia »

hello everyone,

ok this question sound really weird.
but here is my problem

virtual box running on Windows XP
running a windows 2003 server

I managed to have the vrdp server running.
but although I connect to the server very easily now.. I can't send a CTRL-Alt-Delete to log in !?!?!?
anyone has an idea
I tried ctrl-alt-delete does not work
I tried ctrl-delete (ctrl being my host key).. does not work...

tried different rdp client.. no luck

thanks for your help

R.
FOBioPatel
Posts: 3
Joined: 31. Dec 2007, 19:27

Post by FOBioPatel »

haven't got that far in playing with vrdp, but I know in Remote Desktop for Windows connecting to Win2k3 servers the command is CTRL+ALT+END instead of CTRL+ALT+DEL

Worth a shot?
fx5
Posts: 1
Joined: 6. Oct 2007, 13:10

Post by fx5 »

I fixed this by changing rdesktops sourcecode. I added following code at the beginning of function rdp_send_scancode in file xkeymap.c (line ~1020):

Code: Select all

/* Send keyboard input */
void
rdp_send_scancode(uint32 time, uint16 flags, uint8 scancode)
{
///////////// Change start
    if(scancode == SCANCODE_CHAR_RCTRL) {
                rdp_send_scancode(time,flags,SCANCODE_CHAR_LCTRL);
                rdp_send_scancode(time,flags,SCANCODE_CHAR_LALT);
                return;
        }
//////////// Change End
	update_modifier_state(scancode, !(flags & RDP_KEYRELEASE));

Now you can use right CTRL-Key for sending Ctrl+Alt.
redia
Posts: 2
Joined: 10. Dec 2007, 17:22

Post by redia »

thank you both for your answer.
I will test it.

Cheers,
R.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Post by frank »

There is another way: If you start the remote session with

Code: Select all

export VBOX_VRDP_KEYBOARD_EXT=1
VBoxVRDP -startvm <vm name>
then the builtin VRDP server will translate Ctrl+Del to Ctrl+Alt+Del and Ctrl+R to VM reset (be careful with the latter one, there is no safety question).
Post Reply