* [Qemu-devel] getting past the ctrl-alt-del login in NT
@ 2005-09-25 9:58 Wesley Parish
2005-09-25 10:28 ` Andreas Mohr
0 siblings, 1 reply; 14+ messages in thread
From: Wesley Parish @ 2005-09-25 9:58 UTC (permalink / raw)
To: qemu-devel
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
--
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.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] getting past the ctrl-alt-del login in NT
2005-09-25 9:58 [Qemu-devel] getting past the ctrl-alt-del login in NT Wesley Parish
@ 2005-09-25 10:28 ` Andreas Mohr
2005-09-25 12:09 ` Michael McConnell
2005-09-25 13:17 ` Jim C. Brown
0 siblings, 2 replies; 14+ messages in thread
From: Andreas Mohr @ 2005-09-25 10:28 UTC (permalink / raw)
To: qemu-devel
Hi,
On Sun, Sep 25, 2005 at 09:58:30PM +1200, Wesley Parish wrote:
> 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] getting past the ctrl-alt-del login in NT
2005-09-25 10:28 ` Andreas Mohr
@ 2005-09-25 12:09 ` Michael McConnell
2005-09-25 12:48 ` Guillaume POIRIER
2005-09-25 13:00 ` Hetz Ben Hamo
2005-09-25 13:17 ` Jim C. Brown
1 sibling, 2 replies; 14+ messages in thread
From: Michael McConnell @ 2005-09-25 12:09 UTC (permalink / raw)
To: qemu-devel
Andreas Mohr wrote:
> Hi,
>
> On Sun, Sep 25, 2005 at 09:58:30PM +1200, Wesley Parish wrote:
>
>>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.
--
-- 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] getting past the ctrl-alt-del login in NT
2005-09-25 12:09 ` Michael McConnell
@ 2005-09-25 12:48 ` Guillaume POIRIER
2005-09-25 13:19 ` Jim C. Brown
2005-09-25 13:33 ` Paul Brook
2005-09-25 13:00 ` Hetz Ben Hamo
1 sibling, 2 replies; 14+ messages in thread
From: Guillaume POIRIER @ 2005-09-25 12:48 UTC (permalink / raw)
To: qemu-devel
Hi,
On 9/25/05, Michael McConnell <soruk@eridani.co.uk> wrote:
> Andreas Mohr wrote:
> > Hi,
> >
> > On Sun, Sep 25, 2005 at 09:58:30PM +1200, Wesley Parish wrote:
> >
> >>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.
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] getting past the ctrl-alt-del login in NT
2005-09-25 12:09 ` Michael McConnell
2005-09-25 12:48 ` Guillaume POIRIER
@ 2005-09-25 13:00 ` Hetz Ben Hamo
2005-09-26 8:28 ` Wesley Parish
2005-09-26 17:44 ` John R. Hogerhuis
1 sibling, 2 replies; 14+ messages in thread
From: Hetz Ben Hamo @ 2005-09-25 13:00 UTC (permalink / raw)
To: qemu-devel
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
On 9/25/05, Michael McConnell <soruk@eridani.co.uk> wrote:
> Andreas Mohr wrote:
> > Hi,
> >
> > On Sun, Sep 25, 2005 at 09:58:30PM +1200, Wesley Parish wrote:
> >
> >>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.
>
> --
> -- 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
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] getting past the ctrl-alt-del login in NT
2005-09-25 10:28 ` Andreas Mohr
2005-09-25 12:09 ` Michael McConnell
@ 2005-09-25 13:17 ` Jim C. Brown
1 sibling, 0 replies; 14+ messages in thread
From: Jim C. Brown @ 2005-09-25 13:17 UTC (permalink / raw)
To: qemu-devel
On Sun, Sep 25, 2005 at 12:28:14PM +0200, Andreas Mohr wrote:
> Hi,
>
> On Sun, Sep 25, 2005 at 09:58:30PM +1200, Wesley Parish wrote:
> > 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.
> DISCLAIMER: Not A Qemu User (tm)
>
> Andreas Mohr
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] getting past the ctrl-alt-del login in NT
2005-09-25 12:48 ` Guillaume POIRIER
@ 2005-09-25 13:19 ` Jim C. Brown
2005-09-25 13:33 ` Paul Brook
1 sibling, 0 replies; 14+ messages in thread
From: Jim C. Brown @ 2005-09-25 13:19 UTC (permalink / raw)
To: Guillaume POIRIER, qemu-devel
On Sun, Sep 25, 2005 at 02:48:51PM +0200, Guillaume POIRIER wrote:
> Hi,
>
> > 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
>
That restriction doesn't seem to apply to Linux/X.
But I agree, using sendkey is probably smarter.
--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] getting past the ctrl-alt-del login in NT
2005-09-25 12:48 ` Guillaume POIRIER
2005-09-25 13:19 ` Jim C. Brown
@ 2005-09-25 13:33 ` Paul Brook
2005-09-26 0:46 ` Mike Swanson
1 sibling, 1 reply; 14+ messages in thread
From: Paul Brook @ 2005-09-25 13:33 UTC (permalink / raw)
To: qemu-devel, Guillaume POIRIER
> > 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] getting past the ctrl-alt-del login in NT
2005-09-25 13:33 ` Paul Brook
@ 2005-09-26 0:46 ` Mike Swanson
2005-09-26 8:28 ` Wesley Parish
0 siblings, 1 reply; 14+ messages in thread
From: Mike Swanson @ 2005-09-26 0:46 UTC (permalink / raw)
To: qemu-devel
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.
On 9/25/05, Paul Brook <paul@codesourcery.com> wrote:
> 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
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
--
Mike
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] getting past the ctrl-alt-del login in NT
2005-09-26 0:46 ` Mike Swanson
@ 2005-09-26 8:28 ` Wesley Parish
0 siblings, 0 replies; 14+ messages in thread
From: Wesley Parish @ 2005-09-26 8:28 UTC (permalink / raw)
To: Mike Swanson, qemu-devel
On Mon, 26 Sep 2005 12:46, Mike Swanson wrote:
> 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.
>
> On 9/25/05, Paul Brook <paul@codesourcery.com> wrote:
> > 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
> > _______________________________________________
> > Qemu-devel mailing list
> > Qemu-devel@nongnu.org
> > http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
> --
> Mike
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
--
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.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] getting past the ctrl-alt-del login in NT
2005-09-25 13:00 ` Hetz Ben Hamo
@ 2005-09-26 8:28 ` Wesley Parish
2005-09-26 17:44 ` John R. Hogerhuis
1 sibling, 0 replies; 14+ messages in thread
From: Wesley Parish @ 2005-09-26 8:28 UTC (permalink / raw)
To: Hetz Ben Hamo, qemu-devel
On Mon, 26 Sep 2005 01:00, Hetz Ben Hamo wrote:
> 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.
>
> Hetz
>
> On 9/25/05, Michael McConnell <soruk@eridani.co.uk> wrote:
> > Andreas Mohr wrote:
> > > Hi,
> > >
> > > On Sun, Sep 25, 2005 at 09:58:30PM +1200, Wesley Parish wrote:
> > >>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.
> >
> > --
> > -- 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
> > Qemu-devel@nongnu.org
> > http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
--
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.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] getting past the ctrl-alt-del login in NT
2005-09-25 13:00 ` Hetz Ben Hamo
2005-09-26 8:28 ` Wesley Parish
@ 2005-09-26 17:44 ` John R. Hogerhuis
2005-09-26 20:08 ` Jim C. Brown
1 sibling, 1 reply; 14+ messages in thread
From: John R. Hogerhuis @ 2005-09-26 17:44 UTC (permalink / raw)
To: qemu-devel, Hetz Ben Hamo
On Sun, 2005-09-25 at 15:00 +0200, Hetz Ben Hamo wrote:
> 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.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] getting past the ctrl-alt-del login in NT
2005-09-26 17:44 ` John R. Hogerhuis
@ 2005-09-26 20:08 ` Jim C. Brown
2005-09-26 21:05 ` John R. Hogerhuis
0 siblings, 1 reply; 14+ messages in thread
From: Jim C. Brown @ 2005-09-26 20:08 UTC (permalink / raw)
To: jhoger, qemu-devel
On Mon, Sep 26, 2005 at 10:44:37AM -0700, John R. Hogerhuis wrote:
> On Sun, 2005-09-25 at 15:00 +0200, Hetz Ben Hamo wrote:
> > 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).
> > 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.
> 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
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] getting past the ctrl-alt-del login in NT
2005-09-26 20:08 ` Jim C. Brown
@ 2005-09-26 21:05 ` John R. Hogerhuis
0 siblings, 0 replies; 14+ messages in thread
From: John R. Hogerhuis @ 2005-09-26 21:05 UTC (permalink / raw)
To: qemu-devel, Jim C. Brown
On Mon, 2005-09-26 at 16:08 -0400, Jim C. Brown wrote:
> 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.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2005-09-26 21:06 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-25 9:58 [Qemu-devel] getting past the ctrl-alt-del login in NT Wesley Parish
2005-09-25 10:28 ` Andreas Mohr
2005-09-25 12:09 ` Michael McConnell
2005-09-25 12:48 ` Guillaume POIRIER
2005-09-25 13:19 ` Jim C. Brown
2005-09-25 13:33 ` Paul Brook
2005-09-26 0:46 ` Mike Swanson
2005-09-26 8:28 ` Wesley Parish
2005-09-25 13:00 ` Hetz Ben Hamo
2005-09-26 8:28 ` Wesley Parish
2005-09-26 17:44 ` John R. Hogerhuis
2005-09-26 20:08 ` Jim C. Brown
2005-09-26 21:05 ` John R. Hogerhuis
2005-09-25 13:17 ` Jim C. Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).