A somewhat more informative reply... On Sat, Aug 31, 2013 at 4:35 PM, Jan Engelhardt <[email protected]> wrote: > > On Saturday 2013-08-31 14:28, killermoehre wrote: >>Doesn't Amarok starts if you prefix it with the right DISPLAY variable? >>Like »DISPLAY=:0 amarok«. This should work from cron, too. > > Normally, you also need to set XAUTHORITY= to the right path -- > since you do not want just anybody to be able to connect to your :0.
Xorg also allows giving access by UID, using `xhost SI:localuser:$UID`, which removes the requirement to have access to Xauthority data. -- Mantas Mikulėnas <[email protected]> _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
