Skip to contentSkip to conversation

getting past the ctrl-alt-del login in NT

Qemu-devel Wesley Parish 9 participants 14 messages Sep 25, 2005 – Sep 26, 2005

lore
Share & tools
lore
#0 lore raw

Does anyone using qemu know how to do that? bochs has a setting in its bochsrc file that allows you to click on "user-configured button" and it sends ctrl-alt-del to WinNT 4.0.

Is there any analogy to that in qemu?

Thanks

Wesley Parish

Signature · 6 lines
Clinersterton beademung, with all of love - RIP James Blish
-----
Mau e ki, he aha te mea nui?
You ask, what is the most important thing?
Maku e ki, he tangata, he tangata, he tangata.
I reply, it is people, it is people, it is people.
#1 lore raw

Hi,

Quoted 5 lines · Wesley Parish

Does anyone using qemu know how to do that? bochs has a setting in its bochsrc file that allows you to click on "user-configured button" and it sends ctrl-alt-del to WinNT 4.0.

Is there any analogy to that in qemu?

I'm almost 100% certain the qemu monitor has an option to send keycodes that you need for workarounds in certain situations.

DISCLAIMER: Not A Qemu User (tm)

Andreas Mohr

#2 lore raw
Quoted 4 lines · Andreas Mohr

Hi,

On Sun, Sep 25, 2005 at 09:58:30PM +1200, Wesley Parish wrote:

Quoted 8 lines
Quoted 3 lines

Does anyone using qemu know how to do that? bochs has a setting in its bochsrc file that allows you to click on "user-configured button" and it sends ctrl-alt-del to WinNT 4.0.

Is there any analogy to that in qemu?

I'm almost 100% certain the qemu monitor has an option to send keycodes that you need for workarounds in certain situations.

DISCLAIMER: Not A Qemu User (tm)

I have an NT4 installation under QEMU on my Linux box - and in grab mode, all I do is... press CTRL-ALT-DEL. Clicking in the window or hitting CTRL-ALT enters grab mode.

Signature · 5 lines
-- Michael "Soruk" McConnell
   Eridani Star System

   MailStripper - http://mailstripper.eridani.co.uk/ - UNIX spam filter
   Mail Me Anywhere - http://www.mailmeanywhere.com/ - email for phones
#3 lore raw

Hi,

Quoted 11 lines · Michael McConnell
Quoted 10 lines · Andreas Mohr

Hi,

Quoted 5 lines · Wesley Parish

Does anyone using qemu know how to do that? bochs has a setting in its bochsrc file that allows you to click on "user-configured button" and it sends ctrl-alt-del to WinNT 4.0.

Is there any analogy to that in qemu?

Quoted 8 lines
Quoted 4 lines

I'm almost 100% certain the qemu monitor has an option to send keycodes that you need for workarounds in certain situations.

DISCLAIMER: Not A Qemu User (tm)

I have an NT4 installation under QEMU on my Linux box - and in grab mode, all I do is... press CTRL-ALT-DEL. Clicking in the window or hitting CTRL-ALT enters grab mode.

FWIW: the CTRL-ALT-DEL sequence has been chosen so that it can't be caught by a any program but windows (that to prevent trojan horses to log your password instead of Windows's logging window). That means that it's probably not possible to directly send the CTRL-ALT-DEL sequence, but instead you need to map another series of keys that qemu can send to the guest OS.

Guillaume

--
Reading doesn't hurt, really!
-- Dominik 'Rathann' Mierzejewski

#4 lore raw
Quoted 6 lines · Guillaume POIRIER

Hi,

Quoted 3 lines

I have an NT4 installation under QEMU on my Linux box - and in grab mode, all I do is... press CTRL-ALT-DEL. Clicking in the window or hitting CTRL-ALT enters grab mode.

Quoted 9 lines

FWIW: the CTRL-ALT-DEL sequence has been chosen so that it can't be caught by a any program but windows (that to prevent trojan horses to log your password instead of Windows's logging window). That means that it's probably not possible to directly send the CTRL-ALT-DEL sequence, but instead you need to map another series of keys that qemu can send to the guest OS.

Guillaume

That restriction doesn't seem to apply to Linux/X.

But I agree, using sendkey is probably smarter.

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
#5 lore raw
In reply to Guillaume POIRIER
Quoted 10 lines
Quoted 3 lines

I have an NT4 installation under QEMU on my Linux box - and in grab mode, all I do is... press CTRL-ALT-DEL. Clicking in the window or hitting CTRL-ALT enters grab mode.

FWIW: the CTRL-ALT-DEL sequence has been chosen so that it can't be caught by a any program but windows (that to prevent trojan horses to log your password instead of Windows's logging window). That means that it's probably not possible to directly send the CTRL-ALT-DEL sequence, but instead you need to map another series of keys that qemu can send to the guest OS.

That's only true if you're on a windows host. There's nothing intrinsically special about ctrl-alt-del.

Many environments do trap that combination before it gets to user applications, mainly for consistency with windows/dos, but it's by no means universal.

Paul

#6 lore raw

Indeed, however I've noticed that a few distros' X-Servers (it doesn't seem to apply to vanilla X.org) will pass Ctrl-Alt-Delete to INIT and cause a system reboot or logout the user... on these, there's usually a setting in xorg.conf to prevent Ctrl-Alt-Delete from being passed to INIT and just be a normal part of X's lock on the keyboard.

Quoted 7 lines · Paul Brook

That's only true if you're on a windows host. There's nothing intrinsically special about ctrl-alt-del.

Many environments do trap that combination before it gets to user applications, mainly for consistency with windows/dos, but it's by no means universal.

Quoted 6 lines

Paul
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

--
Mike

#7 lore raw
Quoted 5 lines · Mike Swanson

Indeed, however I've noticed that a few distros' X-Servers (it doesn't seem to apply to vanilla X.org) will pass Ctrl-Alt-Delete to INIT and cause a system reboot or logout the user... on these, there's usually a setting in xorg.conf to prevent Ctrl-Alt-Delete from being passed to INIT and just be a normal part of X's lock on the keyboard.

Thanks. I've got Mandrake10.0, and it does treat ctrl-alt-del as a call to INIT.

Quoted 23 lines · Paul Brook
Quoted 7 lines

That's only true if you're on a windows host. There's nothing intrinsically special about ctrl-alt-del.

Many environments do trap that combination before it gets to user applications, mainly for consistency with windows/dos, but it's by no means universal.

Quoted 5 lines

Paul
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

--
Mike

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 6 lines
Clinersterton beademung, with all of love - RIP James Blish
-----
Mau e ki, he aha te mea nui?
You ask, what is the most important thing?
Maku e ki, he tangata, he tangata, he tangata.
I reply, it is people, it is people, it is people.
#8 lore raw
In reply to Michael McConnell

in qemu monitor (press CTRL ALT 2 to reach to the monitor): type:
sendkey ctrl-alt-del and press Enter
then press CTRL ALT 1 - and viola, you can type your login and password.

Hetz

Quoted 34 lines · Michael McConnell
Quoted 8 lines · Andreas Mohr

Hi,

Quoted 4 lines · Wesley Parish

Does anyone using qemu know how to do that? bochs has a setting in its bochsrc file that allows you to click on "user-configured button" and it sends ctrl-alt-del to WinNT 4.0.

Quoted 6 lines
Quoted 1 line

Is there any analogy to that in qemu?

I'm almost 100% certain the qemu monitor has an option to send keycodes that you need for workarounds in certain situations.

DISCLAIMER: Not A Qemu User (tm)

I have an NT4 installation under QEMU on my Linux box - and in grab mode, all I do is... press CTRL-ALT-DEL. Clicking in the window or hitting CTRL-ALT enters grab mode.

--
-- Michael "Soruk" McConnell
Eridani Star System

MailStripper - http://mailstripper.eridani.co.uk/ - UNIX spam filter Mail Me Anywhere - http://www.mailmeanywhere.com/ - email for phones

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#9 lore raw
Quoted 3 lines · Hetz Ben Hamo

in qemu monitor (press CTRL ALT 2 to reach to the monitor): type:
sendkey ctrl-alt-del and press Enter
then press CTRL ALT 1 - and viola, you can type your login and password.

Thanks. I'll do that.

Quoted 41 lines

Hetz

Quoted 28 lines · Michael McConnell
Quoted 7 lines · Andreas Mohr

Hi,

Quoted 4 lines · Wesley Parish

Does anyone using qemu know how to do that? bochs has a setting in its bochsrc file that allows you to click on "user-configured button" and it sends ctrl-alt-del to WinNT 4.0.

Quoted 6 lines
Quoted 1 line

Is there any analogy to that in qemu?

I'm almost 100% certain the qemu monitor has an option to send keycodes that you need for workarounds in certain situations.

DISCLAIMER: Not A Qemu User (tm)

I have an NT4 installation under QEMU on my Linux box - and in grab mode, all I do is... press CTRL-ALT-DEL. Clicking in the window or hitting CTRL-ALT enters grab mode.

--
-- Michael "Soruk" McConnell
Eridani Star System

MailStripper - http://mailstripper.eridani.co.uk/ - UNIX spam filter Mail Me Anywhere - http://www.mailmeanywhere.com/ - email for phones

Quoted 4 lines

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 6 lines
Clinersterton beademung, with all of love - RIP James Blish
-----
Mau e ki, he aha te mea nui?
You ask, what is the most important thing?
Maku e ki, he tangata, he tangata, he tangata.
I reply, it is people, it is people, it is people.
#10 lore raw
In reply to Hetz Ben Hamo
Quoted 6 lines · Hetz Ben Hamo

in qemu monitor (press CTRL ALT 2 to reach to the monitor): type:
sendkey ctrl-alt-del and press Enter
then press CTRL ALT 1 - and viola, you can type your login and password.

Hetz

Implies a nice feature would be to allow CTRL-ALT combinations above 3 to be bound to key sequences like CTRL-ALT-DEL in guest. So you could bind CTRL-ALT-4 to CTRL-ALT-DEL and skip the intermediate step.

VmWare lets me type in CTRL-ALT-DEL without any problems, but it is also more invasive than QEMU wants to be.

-- John.

#11 lore raw
Quoted 3 lines · John R. Hogerhuis
Quoted 2 lines · Hetz Ben Hamo

in qemu monitor (press CTRL ALT 2 to reach to the monitor): type:
sendkey ctrl-alt-del and press Enter

Incidently, its sendkey ctrl-alt-delete (ctrl-alt-del didn't work for me last time i tried it at least).

Quoted 9 lines
Quoted 4 lines

then press CTRL ALT 1 - and viola, you can type your login and password.

Hetz

Implies a nice feature would be to allow CTRL-ALT combinations above 3 to be bound to key sequences like CTRL-ALT-DEL in guest. So you could bind CTRL-ALT-4 to CTRL-ALT-DEL and skip the intermediate step.

CTRL-ALT-4 is the parallel port console, parallel0. If you added more consoles, those would take up more numbers. Of course, theres no reason why we can't map CTRL-ALT-D to CTRL-ALT-DELETE in the guest, CTRL-ALT-P to the Pause/Break key, CTRL-ALT-B to CTRL-ALT-BACKSPACE, etc.

Quoted 12 lines

VmWare lets me type in CTRL-ALT-DEL without any problems, but it is also more invasive than QEMU wants to be.

-- John.

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
#12 lore raw
Quoted 5 lines · Jim C. Brown

CTRL-ALT-4 is the parallel port console, parallel0. If you added more consoles, those would take up more numbers. Of course, theres no reason why we can't map CTRL-ALT-D to CTRL-ALT-DELETE in the guest, CTRL-ALT-P to the Pause/Break key, CTRL-ALT-B to CTRL-ALT-BACKSPACE, etc.

Yes, those mappings make more sense than what I was saying (easier to remember and no confusion with consoles).

To top if off, maybe CTRL-ALT-H or CTRL-ALT-? which pops up a list of the current mappings in case you forget.

-- John.

#13 lore raw
In reply to Andreas Mohr
Quoted 11 lines · Andreas Mohr

Hi,

Quoted 5 lines · Wesley Parish

Does anyone using qemu know how to do that? bochs has a setting in its bochsrc file that allows you to click on "user-configured button" and it sends ctrl-alt-del to WinNT 4.0.

Is there any analogy to that in qemu?

I'm almost 100% certain the qemu monitor has an option to send keycodes that you need for workarounds in certain situations.

It's called sendkey.

Quoted 10 lines

DISCLAIMER: Not A Qemu User (tm)

Andreas Mohr

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.