Cron/Xwindows

Jonathan Hutchins hutchins at tarcanfel.org
Wed Oct 22 14:33:04 CDT 2003


On Wednesday 22 October 2003 09:20 am, Brian Densmore wrote:

> > > > -----Original Message-----
> > > > From: Jonathan Hutchins [mailto:hutchins at tarcanfel.org]

> > > > I want to set a cron entry to open a web page, but cron
> > > > reports "cannot open display", even though the user
> > > > (jonathan) who owns the crontab is logged in
> > > > to xwindows at the time.  What am I missing?

> > On Wednesday 22 October 2003 08:26 am, Brian Densmore wrote:
> > > what's your cron entry look like?

> > 0 6 * * * galeon http://www.slashdot

> Don't you need to tell cron where the XWindow client is that
> you want galeon to run in?

I presume I do.  If I just open a shell, it defaults to the client that's 
running.  (Given that this is the only client that exists on the machine, it 
would seem reasonable that just about anything would default there, but 
that's Linux.)

So how do I specify the sesssion?  Theoretically, I should allow for the 
possibility that the session may not be consistently the same one, but I 
think we can skip that for now.




More information about the Kclug mailing list