[et-mgmt-tools] [PATCH][RESEND] Send [Ctrl+Alt+Del] and [F8]

Masayuki Sunou fj1826dm at aa.jp.fujitsu.com
Mon May 14 07:43:45 UTC 2007


Hi

When I tried "Ctrl Ctrl Ctrl Alt+Del" in this configuration, I was able
to send "Ctrl+Alt+Del" without trouble.
Therefore, I decline applying this patch.

Thank you for advice.

Thanks,
Masayuki Sunou

In message <20070508004731.GC11353 at redhat.com>
   "Re: [et-mgmt-tools] [PATCH][RESEND] Send [Ctrl+Alt+Del] and [F8]"
   ""Daniel P. Berrange" <berrange at redhat.com>" wrote:

> On Mon, May 07, 2007 at 09:11:19AM +0900, Masayuki Sunou wrote:
> > 
> > In message <200704261356.FJE18291.K793ENG2 at aa.jp.fujitsu.com>
> >    "Re: [et-mgmt-tools] [PATCH][RESEND] Send [Ctrl+Alt+Del] and [F8]"
> >    "Masayuki Sunou <fj1826dm at aa.jp.fujitsu.com>" wrote:
> > 
> > "Hugh Brock <hbrock at redhat.com>" wrote:
> > 
> > > Thanks for this, but I guess I still don't understand what the reasoning 
> > > for it is.
> > > 
> > > In both RHEL 5 and Fedora 6, it is possible to pass Ctrl+Alt+Del to a 
> > > guest simply by pressing Ctrl Ctrl Ctrl Alt+Del, if the console has 
> > > keyboard grab in effect. Both the Ctrl and Alt keys can be made sticky 
> > > by pressing them three times. So there's really no need for a special 
> > > Ctrl+Alt+Del button.
> > > 
> > > To send f8, it's not even necessary to use a sticky key; you just click 
> > > the console window and press f8.
> > > 
> > > If this isn't working for you, it's a bug and we need to fix it. Please 
> > > let me know if it is!
> > > 
> > Hi
> > 
> > First, I think the next composition.
> > 
> >                Client Machine
> >               +--------------+
> >               |  +--------+  |
> >               |  | VNC    |  |
> >               |  | Viewer |  |
> >               |  +--------+  |
> >               +-------|------+
> >                       |
> >   Management Machine  |
> >    +------------------|------------------+
> >    |             +--------+              |
> >    |             | VNC    |              |
> >    |             | Server |              |
> >    |             +--------+              |
> >    |                  |                  |
> >    |          +--------------+           |
> >    |          | virt-manager |           |
> >    |          +--------------+           |
> >    |                  |                  |
> >    |       +----------+----------+       |
> >    |       |          |          |       |
> >    |   +-------+  +-------+  +-------+   |
> >    |   |Virtual|  |Virtual|  |Virtual|   |
> >    |   |machine|  |machine|  |machine|   |
> >    |   +-------+  +-------+  +-------+   |
> >    |                                     |
> >    +-------------------------------------+
> > 
> > In this composition, when VNC Viewer of Client Machine can not send
> > Ctrl+Alt+Del the user cannot send Ctrl+Atl+Del to Virtual Machine.
> 
> I've just tested this configuration and using the 'sticky' keys
> I was able to pass Ctrl-Alt-Del  to the guest simply by entering
> 'Ctrl  Ctrl   Ctrl    Alt+Del' in the console window. I tested this
> both running virt-manager on my local machine, and remotely over
> VNC as you illustrate in the diagram above.
> 
> I can't remember if I've mentioned it on the list before, but I've
> also got prototype code which will remove the need for sticky keys
> by changing the key local keyboard grab works. This will let us
> intercept even squences like  Ctrl+Alt+Del  and Ctrl+Alt+F1
> 
> > However, when Virt-manager has the button which sends Ctrl+Alt+Del,
> > the user can send Ctrl+Alt+Del to Virtual Machine. (Even if the user
> > used any kind of VNC Viewer)
> > 
> > Therefore, I think that virt-manager has better have the button which
> > sends Ctrl+Alt+Del.
> 
> Having buttons for certain special key sequences isn't a scale UI paradigm
> because every client has a different set of 'special' key sequences it
> cares about. The only viable solution really is to make sure that the local
> keyboard grab is working correctly. Currently we are able to grab the key
> board in such a way that makes sure we get every key sequence except for
> those beginning  Ctrl+Alt.
> 
> I can't remember if I've mentioned it on the list before, but I've
> also got prototype code which will remove the need for sticky keys
> by changing the key local keyboard grab works. This will let us
> intercept even squences like  Ctrl+Alt+Del  and Ctrl+Alt+F1.
> 
> The addition of remote management capabilities in virt-manager will also
> remove the need to run virt-manager via VNC.
> 
> Regards,
> Dan.
> -- 
> |=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
> |=-           Perl modules: http://search.cpan.org/~danberr/              -=|
> |=-               Projects: http://freshmeat.net/~danielpb/               -=|
> |=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 
> 
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
> 




More information about the et-mgmt-tools mailing list