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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 07, 2007 at 09:11:19AM +0900, Masayuki Sunou wrote:
> 
> In message <200704261356.FJE18291.K793ENG2@xxxxxxxxxxxxxxxxx>
>    "Re: [et-mgmt-tools] [PATCH][RESEND] Send [Ctrl+Alt+Del] and [F8]"
>    "Masayuki Sunou <fj1826dm@xxxxxxxxxxxxxxxxx>" wrote:
> 
> "Hugh Brock <hbrock@xxxxxxxxxx>" 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  -=| 


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux