Re: Questions about PAM, GDM and gnome-screensaver
- From: Alan Coopersmith <alan coopersmith sun com>
- To: Ray Strode <halfline gmail com>
- Cc: Gary Winiger <gww eng sun com>, screensaver-list gnome org, Brian Cameron <Brian Cameron sun com>
- Subject: Re: Questions about PAM, GDM and gnome-screensaver
- Date: Thu, 20 Dec 2007 08:42:57 -0800
Ray Strode wrote:
It doesn't prevent snooping either. All grabbing the server does is
prevent events from getting delivered, it doesn't prevent sniffing the
key presses as they come in.
A 10 line program that calls XQueryKeymap in a loop can catch key
presses even when the server is grabbed.
How? When the server is grabbed, that program will be removed from
the server's select() mask, so those XQueryKeymap calls won't be processed
until after the grab is released.
--
-Alan Coopersmith- alan coopersmith sun com
Sun Microsystems, Inc. - X Window System Engineering
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]