[27616] in Athena Bugs
Re: gnome-screensaver doesn't give me an unlock dialog
daemon@ATHENA.MIT.EDU (Jonathan Reed)
Wed Dec 5 11:20:40 2012
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Jonathan Reed <jdreed@mit.edu>
In-Reply-To: <3733652736F99C44A89022B307A1A0742A6732D4@OC11EXPO29.exchange.mit.edu>
Date: Wed, 5 Dec 2012 11:20:30 -0500
Message-Id: <A2418B08-E332-4C02-ACF1-C2C5354D4A60@mit.edu>
To: Camilla R Fox <cfox@mit.edu>
Content-Transfer-Encoding: 8bit
Cc: "bugs@mit.edu" <bugs@mit.edu>
Errors-To: bugs-bounces@mit.edu
This sounds a lot like the symptoms described in https://athena10.mit.edu/trac/ticket/1162. This may be better in Quantal, but I haven't actually tested it. I can try to reproduce it, but unless there's some upstream fix, I'm not optimistic. I suspect the right answer here is to document disabling gnome-screensaver (or at least its locking features) and running something like Xscreensaver when locking is desired.
That having been said, the last time I tried to reproduce something like this, I couldn't (that is, I was unable to unlock successfully, long after tokens and even tickets had expired). As the login dialog is not actually appearing (if I'm reading this correctly), it may be a slightly different problem.
-Jon
On Dec 5, 2012, at 10:59 AM, Camilla R Fox wrote:
> host: red-herring.mit.edu
>
> I had killed off the screensaver in frustration, last time around; the power outage reset my login state, and I found I was running it again when I got back to my login and was unable to unlock.
>
> I see the pink spotlight/gradient screen, with a mouse pointer on it, which moves.
>
> These processes are running, with the 10:40 time stamp corresponding to when I got back and disturbed my screen.
>
> cfox 26666 26035 0 Dec04 ? 00:00:00 gnome-screensaver
> cfox 29092 26666 0 10:40 ? 00:00:00 /usr/lib/gnome-screensaver/gnome-screensaver-dialog --status-message= --enable-switch
>
> strace attached to the gnome-screensaver process spews at any mouse movement
> strace attached to the gnome-screensaver-dialog process is looping through this:
>
> stat("/afs/athena.mit.edu/user/c/f/cfox/.local/share//mime/mime.cache", {st_mode=S_IFREG|0644, st_size=188, ...}) = 0
> munmap(0x7f105139e000, 111236) = 0
> stat("/afs/athena.mit.edu/user/c/f/cfox/.local/share//mime/mime.cache", {st_mode=S_IFREG|0644, st_size=188, ...}) = 0
> open("/afs/athena.mit.edu/user/c/f/cfox/.local/share//mime/mime.cache", O_RDONLY) = -1 EACCES (Permission denied)
> stat("/afs/athena.mit.edu/user/c/f/cfox/.local/share//mime/globs2", 0x7fffc57d6130) = -1 EACCES (Permission denied)
> stat("/afs/athena.mit.edu/user/c/f/cfox/.local/share//mime/globs", 0x7fffc57d6130) = -1 EACCES (Permission denied)
> stat("/afs/athena.mit.edu/user/c/f/cfox/.local/share//mime/magic", 0x7fffc57d6130) = -1 EACCES (Permission denied)
> open("/afs/athena.mit.edu/user/c/f/cfox/.local/share//mime/aliases", O_RDONLY) = -1 EACCES (Permission denied)
> open("/afs/athena.mit.edu/user/c/f/cfox/.local/share//mime/subclasses", O_RDONLY) = -1 EACCES (Permission denied)
> open("/afs/athena.mit.edu/user/c/f/cfox/.local/share//mime/icons", O_RDONLY) = -1 EACCES (Permission denied)
> open("/afs/athena.mit.edu/user/c/f/cfox/.local/share//mime/generic-icons", O_RDONLY) = -1 EACCES (Permission denied)
> stat("/usr/share/athena/mime/mime.cache", 0x7fffc57d6130) = -1 ENOENT (No such file or directory)
> stat("/usr/share/athena/mime/globs2", 0x7fffc57d6130) = -1 ENOENT (No such file or directory)
> stat("/usr/share/athena/mime/globs", 0x7fffc57d6130) = -1 ENOENT (No such file or directory)
> stat("/usr/share/athena/mime/magic", 0x7fffc57d6130) = -1 ENOENT (No such file or directory)
> open("/usr/share/athena/mime/aliases", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/share/athena/mime/subclasses", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/share/athena/mime/icons", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/share/athena/mime/generic-icons", O_RDONLY) = -1 ENOENT (No such file or directory)
> stat("/usr/local/share//mime/mime.cache", 0x7fffc57d6130) = -1 ENOENT (No such file or directory)
> stat("/usr/local/share//mime/globs2", 0x7fffc57d6130) = -1 ENOENT (No such file or directory)
> stat("/usr/local/share//mime/globs", 0x7fffc57d6130) = -1 ENOENT (No such file or directory)
> stat("/usr/local/share//mime/magic", 0x7fffc57d6130) = -1 ENOENT (No such file or directory)
> open("/usr/local/share//mime/aliases", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/local/share//mime/subclasses", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/local/share//mime/icons", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/local/share//mime/generic-icons", O_RDONLY) = -1 ENOENT (No such file or directory)
> stat("/usr/share//mime/mime.cache", {st_mode=S_IFREG|0644, st_size=111236, ...}) = 0
> open("/usr/share//mime/mime.cache", O_RDONLY) = 11
> fstat(11, {st_mode=S_IFREG|0644, st_size=111236, ...}) = 0
> mmap(NULL, 111236, PROT_READ, MAP_SHARED, 11, 0) = 0x7f105139e000
> close(11) = 0
> stat("/afs/athena.mit.edu/user/c/f/cfox/.local/share//mime/mime.cache", {st_mode=S_IFREG|0644, st_size=188, ...}) = 0
>
> I expect that my afs tokens are expired.
>
> (Due to previous unresolved problems with gnome-screensaver destroying my tickets from under me, I no longer have access to the login PAG remotely, because I'm using a separate one in my screen session.)
>
> -Camilla
>
>