Logged in as user "frame" and ran crontab -e. Setup cron to launch a shell script which ends with "startx" (which really just starts a feh slideshow thanks to .xsession settings). Trouble is, when the shell script is called with cron, I get:
xauth: creating new authority file /home/frame/.serverauth.4008
X: user not authorized to run the X server, aborting.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.
Couldnt get a file descriptor referring to the console
Any idea how to fix this? Is there a way to make that command come from "frame" instead of whichever random user cron uses?