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

Cron'ning X



Is there a way to start an X application by a user's crontab,
even if there's no properly logged in X session to connect to?
For example the following works if I have an active X session:

59 0 * * *      env DISPLAY=:0 aria -p

But I can't seem to get the following to work:

59 0 * * *      /usr/bin/X11/startx /usr/bin/aria -- :1

Cron mails me some complaint about the user not being authorized
to start X (something I suspect is connected to xauth).



Reply to: