Input to TTYs goes to X after returning
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xkeyboard-config (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
xserver-xorg-input-evdev (Ubuntu) |
Fix Released
|
Critical
|
Bryce Harrington |
Bug Description
Binary package hint: xkeyboard-config
After using to a TTY and returning to X, some or all of the input performed in the TTY gets sent to X. This is especially bad as newlines are sent as well, so a user with an IM/IRC entry focused, or any other form, will have data sent from their TTY session to everyone watching, potentially including login passwords.
Additionally, both in Compiz and Metacity, if the cursor was over a window before the TTY switch, returning to X puts that window in "Move" mode (normally triggered by holding Alt+LeftClick on a window), and seems to requires escaping from this mode before the input appears.
Case 1:
1. Put your cursor over a non-maximized window.
2. Press Ctrl+Alt+F1 to go to TTY1.
3. Log-in.
4. Press Alt+F7 to return.
What happens:
1. The window is in "Move" mode, so mouse movement moves the window. You must click to get out of this mode.
2. The help will be invoked of whatever application handled it, presumably because you pressed F1 to use TTY1.
What should happen:
You should be return to X in the state you left it, and no input involved in going to/from, or using the TTY, should later make it to X
Case 2:
1. Open a text editor.
2. Press Ctrl+Alt+F2 to go to TTY2
3. Type your username and press enter.
4. Press Alt+F7 to return.
What happens:
After clicking or otherwise exiting from "move" mode, the username is echoed in the text editor.
What should happen:
See first case.
After Case 2, try going back to TTY2 and typing your password (or a fake password, for safety), and returning. A section of the end of your password is sent to X after returning.
Related branches
description: | updated |
description: | updated |
description: | updated |
Changed in xkeyboard-config: | |
status: | New → Confirmed |
Changed in xkeyboard-config: | |
milestone: | none → ubuntu-8.10 |
I have a similar situation where input i type in TTY1 gets sent to X!
1)open any window with an input field, and the cursor ready to receive input
2)press ctrl-alt-f1
3)put username and password
4) return to X by alt-f7
5) back to TTY1, using ctrl-alt-f1
6)type anything and hit enter
7)ctrl-alt-f7
8) the text got written to the input field of the windows opened!
Kubuntu Intrepid Ibex i386
KDE 4.1.1