lennartack
June 23rd, 2008, 10:04 AM
Hello,
I'm trying to make a php script using apache2 where you can control the song playing in Amarok. To do this I need to be able to control Amarok as user www-data, but for some reason that doesn't work. If I do "sudo -u lennart amarok -f" as www-data, which should just play the next song in the playlist, amarok tries to start a new amarok gui and lots of error messages appear.
Does anyone know a better way?
Thanks,
Lennart
I'm trying to make a php script using apache2 where you can control the song playing in Amarok. To do this I need to be able to control Amarok as user www-data, but for some reason that doesn't work. If I do "sudo -u lennart amarok -f" as www-data, which should just play the next song in the playlist, amarok tries to start a new amarok gui and lots of error messages appear.
Does anyone know a better way?
Thanks,
Lennart