Looks like removing the two following lines from my script made it work again:
export DISPLAY=:0
export XAUTHORITY=/home/user/.Xauthority

Strange, I found these in a discussion in a forum where some people had
the same problem as mine...

** Changed in: pulseaudio (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575118

Title:
  "AO: [pulse] Init failed: Connection refused" with mplayer from cron

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1575118/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to