[6528] in SIPB bug reports

home help back first fref pref prev next nref lref last post

Boris Zbarsky: Re: Xscreensaver

daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Oct 20 03:09:29 1997

To: bug-sipb@MIT.EDU
Date: Mon, 20 Oct 1997 03:09:14 EDT
From: Greg Hudson <ghudson@MIT.EDU>


------- Forwarded Message

Received: from SOUTH-STATION-ANNEX.MIT.EDU by po10.MIT.EDU (5.61/4.7) id AA12688; Mon, 20 Oct 97 02:58:51 EDT
Received: from THE-ART-OF-WAR.MIT.EDU by MIT.EDU with SMTP
	id AA14281; Mon, 20 Oct 97 02:57:46 EDT
Received: (from bzbarsky@localhost)
	by the-art-of-war.MIT.EDU (8.8.5/8.8.5) id CAA02067;
	Mon, 20 Oct 1997 02:57:46 -0400
Message-Id: <199710200657.CAA02067@the-art-of-war.MIT.EDU>
To: Greg Hudson <ghudson@MIT.EDU>
Subject: Re: Xscreensaver 
In-Reply-To: Your message of "Mon, 20 Oct 1997 02:38:16 EDT."
             <199710200638.CAA04926@the-light-fantastic.MIT.EDU> 
Date: Mon, 20 Oct 1997 02:57:44 EDT
From: Boris Zbarsky <bzbarsky@MIT.EDU>

> So, this is really quite gross, but try putting a "sleep 1;" before
> the xscreensaver command.  It may be failing to lock because it can't
> grab the mouse or some other resource.  (I'm guessing that you did
> this as a windowmanager menu item, and the windowmanager has the mouse
> grabbed when the command runs.)
> 
> I don't know why it's not killing zaway; maybe the code path for when
> it can't grab a resource is buggy and doesn't kill off the appropriate
> children.

OK.  I played around with xscreensaver some more.  I'm trying to start
it from the prompt (ideally, I'd like to start it with xautolock).
Sometimes when I run just 'xscreensaver -L +icon' followed by
'xscreensaver -L +icon -lc zaway', it'll work properly, except when it
exits the "xscreensaver -L +icon -lc zaway" it gives me one of the
following two error messages:

1) Xlib: unexpected async reply (sequence 0x45)!

2) X Error of failed request:  BadName (named color or font does not exist)
   Major opcode of failed request:  45 (X_OpenFont)
   Serial number of failed request:  47
   Current serial number in output stream:  39

After this it invariably does not work again.

Oh, I tried putting the "sleep 1;" in, it didn't work.

Boris

 	*********************************************************
 	* There are three kinds of lies: Lies, Damn Lies, and	*
 	* Statistics.						*
 	*					-- Disraeli	*
 	*********************************************************

------- End of Forwarded Message


home help back first fref pref prev next nref lref last post