Google
  Web www.spinics.net

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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


[X Forum]     [Nouveau Driver]     [Devices]     [XFree86]     [XFree86 Newbie]     [Site Home]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]     [Linux Resources]

Powered by Linux