I want to schedule a gui application in cron, but there is a problem. When cron tries to run the scheduled task (amarok in my case) it throws
cannot connect to X server error. I assume it is because the application is executed from my root account.
Is it possible to run an application from a root but to pretend to be someone else?