[lug] xv with cron and sc_reen_sa_ver

Gary Hodges Gary.Hodges at noaa.gov
Mon Jan 5 12:02:48 MST 2004


Sorry for the late replies to my xv/screensaver posts.  I think the NOAA 
mail filters were purging my original post and the replies because of 
the word "screensaver" in the subject.   We'll see if this gets through  
with my munging of the subject...

D. Stimits wrote:
Sean Reifschneider wrote:
 >> On Tue, Dec 30, 2003 at 04:52:20PM -0700, Gary Hodges wrote:
 >>
 >> >space bar the xv window(s) disappear.  I had this problem back with
 >> >RH7.2 and it was solved by putting the following line in my Perl 
script:
 >>
 >>
 >> I'm wondering if your problem is related to the x authentication.  Just
 >> setting the display is no longer enough to allow you to access the X
 >> display.  You have to have a magic cookie to give to the X server to
 >> prove you're allowed to access the X server.
 >
 > I would bet that this is a very strong possibility. The xv stuff is
 > likely NOT running as the user that is logged in at the X11 session. As
 > a test, one could do this to allow any local user to display on the
 > current X11 session:
 >   xhost +localhost
 > If that works, then something more permanent could be added.

It sounds like something fundamental has changed with the X display.  
I'll look into the "magic cookie" concept.   :-) 

On Stimits reply...  The xv stuff is running from my cron job, and the 
screensaver is running on my X session so that should be OK, right?  I 
did try your xhost suggestion but it didn't work.  I'll play around some 
more and report back if I get it going.

Cheers,
Gary




More information about the LUG mailing list