Gst tone but No audio

Hi there, I have successfully installed Mopidy on my local machine, but when I play a song, no sound comes out. If I run gst-launch-1.0 audiotestsrc ! autoaudiosink I get an audible tone. If I run `sudo journalctl -u mopidy, I see this at the bottom of the logs:

Dec 04 09:52:45 terminal mopidy[361152]: AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory
Dec 04 09:52:45 terminal mopidy[361152]: WARNING  [MainThread] mopidy.audio.gst GStreamer warning: Failed to connect: Connection refused

If I run groups mopidy I get mopidy : audio. In /etc/mopidy/mopidy.conf I had:

[audio]
output = autoaudiosink

And I also set it to alsasink but I can’t remember the full line. And I’ve left this out entirely. Leaving it blank or setting it to autoaudiosink generates the same warning in the logs. I’m also getting these lines in the logs:

Dec 04 09:39:31 terminal mopidy[357513]: WARNING  [Audio-2] mopidy.audio.actor Setting GStreamer state to GST_STATE_PLAYING failed
Dec 04 09:39:31 terminal mopidy[357513]: ERROR    [MainThread] mopidy.audio.gst GStreamer error: Could not open audio device for playback.
Dec 04 09:37:32 terminal mopidy[357526]: error: XDG_RUNTIME_DIR not set in the environment.
Dec 04 09:37:38 terminal mopidy[357513]: ERROR    [MainThread] mopidy.audio.gst GStreamer error: Could not open audio device for playback.

If you are using mopidy with raspian desktop version you need to add mopidy to the video users group as well
sudo adduser mopidy video

When I run groups mopidy I get;
pi@Lounge:~ $ groups mopidy
mopidy : audio video