After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 725303 - Unable to reach a tty
Unable to reach a tty
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: 3.22
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
ui-design
: 720848 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-02-27 11:48 UTC by Allan Day
Modified: 2016-03-31 13:22 UTC
See Also:
GNOME target: ---
GNOME version: 3.11/3.12



Description Allan Day 2014-02-27 11:48:19 UTC
I have a gnome-continuous box that I want to update. This requires using a root terminal, but I'm unable to get into session, so I'd like to be able to use a tty to update. Ctrl+Alt+F2 gets eaten by the host rather than the box though.

This might seems like a bit of a corner case, but maybe there are other situations where it is necessary.

virt-manager has a Send Key menu that allows this, fwiw.
Comment 1 Zeeshan Ali 2014-02-27 12:47:29 UTC
I think there is already a bug about sending keys to guest. We need design for this. :)
Comment 2 Lasse Schuirmann 2014-05-28 14:19:00 UTC
See also:
Bug#730826
Comment 3 Zeeshan Ali 2014-05-28 18:42:21 UTC
(In reply to comment #2)
> See also:
> Bug#730826

Yeah but please note that its the opposite case: sending keys to host while this bug is about sending keys to guest.
Comment 4 Lasse Schuirmann 2014-05-28 19:03:07 UTC
I think there's somewhere another bug were we discussed about a shortcut for unfullscreening the VM.

I don't think we should look at all these keyboard bugs without looking at the others. I think we need to collect all requirements for the keyboard input/redirection/ungrabbing and so on and then discuss it together for a consistent and simple to use concept. Maybe we should also ask someone from the a11y team to join the discussion.
Comment 5 Zeeshan Ali 2014-05-29 11:53:16 UTC
(In reply to comment #4)
> I think there's somewhere another bug were we discussed about a shortcut for
> unfullscreening the VM.

Yeah.

> I don't think we should look at all these keyboard bugs without looking at the
> others.

Sure, I was only making the distinction clear. :)

> I think we need to collect all requirements for the keyboard
> input/redirection/ungrabbing and so on and then discuss it together for a
> consistent and simple to use concept. Maybe we should also ask someone from the
> a11y team to join the discussion.

Sure, don't stop me from arranging this meeting. :) #a11y has IRC channel btw.
Comment 6 Zeeshan Ali 2014-05-29 11:54:48 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > I think we need to collect all requirements for the keyboard
> > input/redirection/ungrabbing and so on and then discuss it together for a
> > consistent and simple to use concept. Maybe we should also ask someone from the
> > a11y team to join the discussion.
> 
> Sure, don't stop me from arranging this meeting. :) #a11y has IRC channel btw.

Err.. 'stop me' 'let me stop you'. :)
Comment 7 Zeeshan Ali 2014-06-25 13:04:10 UTC
*** Bug 720848 has been marked as a duplicate of this bug. ***
Comment 8 Lasse Schuirmann 2014-07-30 15:21:17 UTC
On GUADEC 2014 we just decided that we want to have some menu for sending special shortcuts to the VM.
Comment 9 Zeeshan Ali 2014-07-31 09:03:07 UTC
(In reply to comment #8)
> On GUADEC 2014 we just decided that we want to have some menu for sending
> special shortcuts to the VM.

Thanks for updating the bug. Just for the record, several other solutions were considered but all had issues and this is what we ended up with in the end.
Comment 10 Zeeshan Ali 2014-12-12 18:44:20 UTC
commit: abfd78a abfd78ab0ff13aef4d194968fbcc833daf47c8ad

    display: API to send key combos to guest

commit: b47cf6bdb8330cc97006677d282e90a1506146f8

    Add KeysInputPopover
    
    This popover is meant to allow users to easily send key combos to guest
    that would normally be captured by host/client system. The supported
    combos are kept limited to not clutter the UI. Currently supported
    comboxes are:
    
    * Ctrl+Alt+Backspace
    * Ctrl+Alt+F1
    * Ctrl+Alt+F2
    * Ctrl+Alt+F7
    
    The point of supporting these 3 specific FN combos is to allow user to
    easily switch to/from console VT from/to graphics one on X-running
    guests. Once they are on a console VT, they can then use Alt+FN combo to
    get to other VTs but we don't provide a combo for that since its not
    expected to be the most typical use case.

commit: 28fecb547865cd36bbe279b84133c33985feb4e2

    display-toolbar: Add key combo menu button
    
    Add a menu button that, when clicked pops up our new popover to allow
    user to send system key combos to guest.