[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: Help: the problem to run GUI program with cron when logged out
From:       Alan Coopersmith <alan.coopersmith () oracle ! com>
Date:       2012-05-14 17:56:52
Message-ID: 4FB14764.30502 () oracle ! com
[Download RAW message or body]

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@oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic