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

Bug#505746: xserver-xorg-input-evdev: Keys pressed under Xorg affect tty



Julien Cristau a écrit :
> On Fri, Nov 14, 2008 at 22:18:33 +0100, Lionel Le Folgoc wrote:
> 
>> On my MacBook1,1, since the latest upgrade to 2.0.99.3, keys pressed in a
>> graphical session in Xorg are leaking to the underlying tty. For example, if I
>> stop gdm and switch to tty7, I can see what I typed during my graphical session.
>> But the most annoying fact is that ctrl+c affects the tty as well, and kills
>> Xorg immediately.
>>
>> This seems to be related to this change:
>> [...]
>>   * New upstream release.
>>     + don't grab the device by default
>> [...]
>> since if I revert back to the old evdev behaviour (with the GrabDevice option),
>> this issue (and #505635) disappears.
>>
> There was a matching change in the X server (putting the console in RAW
> mode) which was supposed to prevent the key presses leaking to the
> console.  I can't seem to reproduce the problem here, so any debugging
> you can do would be appreciated.
> 
> Cheers,
> Julien

I played a bit with "-logverbose n" and "-verbose n" but nothing useful
showed up.

Then I re-created an empty xorg.conf with only:
Section "ServerFlags"
	Option		"AllowEmptyInput"	"true"
EndSection

... which seems to fix the issue (and #505635 hasn't occurred anymore
since then).

Right after I found this commit that explains the situation:
http://cgit.freedesktop.org/xorg/xserver/commit/?id=d936a4235c9625bd41569cef3452dd086284e0d7

Thus this is probably not a bug but a config issue on my side.
Maybe this could be explained more clearly in xorg.conf manpage or in
the fdi file
(http://cgit.freedesktop.org/xorg/xserver/tree/config/x11-input.fdi)?

Cheers,
Lionel

-- 
Lionel Le Folgoc - https://launchpad.net/~mrpouit
EEBA 555E 0CDE 92BB 3AF4  4AB3 45A0 357B 5179 5910

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: