A late thought on this: If you're on a GUI virtual terminal (say Ctrl-Alt-F7) running an xterm window and you type "chvt 1" Enter to switch to virtual terminal 1, the key-down event for pressing the Enter key is registered on vt7 but I'm guessing that the vt switch occurs immediately and the key-up event is passed to vt1 (which probably ignores it). Back on the vt7 window (no longer visible to the user) it has registered a key-down event but no corresponding key-up. So it concludes that the Enter key is still being held down and performs an auto-repeat forever. I hit this problem and it caused me a lot of instability when switching between virtual terminals. My solution was to put the vt switch into the background, preceeded by a 1 second sleep. That allows the key-up event to occur in the same vt session before changing to the new vt session. This isn't perfect (because the user may hold the key for 2s) but it works fine for me. Maybe this has some bearing on the problem described above. Apologies in advance for posting so late after the author's original post, but it may help others experiencing a virtual terminal switch causing X to freeze, loop, or die.
-- GDM causing keyrepeat using shutdown command or telinit S https://bugs.launchpad.net/bugs/29175 You received this bug notification because you are a member of Ubuntu-X, which is a direct subscriber. _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp