# Gst tone but No audio

**URL:** <https://discourse.mopidy.com/t/gst-tone-but-no-audio/4507>\
**Category:** Help and support\
**Created:** [December 4, 2020, 4:00pm UTC](https://discourse.mopidy.com/t/gst-tone-but-no-audio/4507 "2020-12-04T16:00:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![morgannunan](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/morgannunan/32/1817_2.png) [@morgannunan](https://discourse.mopidy.com/u/morgannunan)\
**Post date:** [December 4, 2020, 4:00pm UTC](https://discourse.mopidy.com/t/gst-tone-but-no-audio/4507/1 "2020-12-04T16:00:48Z")

</div>

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:

```auto
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:

```auto
[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:

```auto
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.

```

```auto
Dec 04 09:37:32 terminal mopidy[357526]: error: XDG_RUNTIME_DIR not set in the environment.

```

```auto
Dec 04 09:37:38 terminal mopidy[357513]: ERROR [MainThread] mopidy.audio.gst GStreamer error: Could not open audio device for playback.

```

---

<div class="post-metadata">

**Author:** ![Steve\_Lambert](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/steve_lambert/32/1149_2.png) [@Steve\_Lambert](https://discourse.mopidy.com/u/Steve_Lambert)\
**Post date:** [December 16, 2020, 4:52pm UTC](https://discourse.mopidy.com/t/gst-tone-but-no-audio/4507/2 "2020-12-16T16:52:24Z")

</div>

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
