Help: the problem to run GUI program with cron when logged out

Alan Coopersmith alan.coopersmith at oracle.com
Mon May 14 10:56:52 PDT 2012


On 05/14/12 10:52 AM, Xiaoshen Li wrote:
> Another problem is that, since I was not logged in when the cron job("run_gui.sh") was running, so there is no XAUTHORITY value.
> 
> I am just confused: many people say it is possible to run a GUI program by cron. I assume that means they are not logged in when the cron job is run.

If they're doing that when not logged into the gui as themselves, then they
must have another X server that's running and accepting connections (i.e.
not at the login screen where other programs are locked out) - Xvfb is commonly
used for that.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc



More information about the xorg mailing list