Almost every CLI music player doesn't work (in an SSH terminal)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Goal: Play music from CLI over SSH, preferably using cmus.



First try: cmus

I run cmus in a terminal, literally nothing happens. It just loads (i guess). Tried cmus -vvvvv - Also just loads. Tried this and this - No changes to the issue. But: running it from a physical terminal on the computer works! (Both starting cmus, and playing audio successfully)



Second try: MOC

Running mocp opens it up, I can add files too. When trying to play a song, this message appears: can't open audio: device or resource busy MOC - No possible solution found.



Third try: mp3blaster

It starts. I can add files. It doesn't play: Failed to open sound device

Tried several suggestions (very outdated) from google, nothing helped. The one that seemed to help many others with this was padsc mp3blaster - But again, no help for me.



I am using ALSA with PulseAudio. Audio itself works fine. play or mplayer both work fine, but they don't offer libraries and playlists. Both work fine over SSH too.



I'm really clueless to what to do here since cmus doesn't print anything and mplayer works fine. I checked alsamixer and nothing is muted or disabled. There's only one single soundcard.



Not trying to have a broad suggest-me-something question here, I just added the other players since it might help find the issue, but the question aims to focus on getting cmus to work.



I've tried DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus cmus too (found here), same result.










share|improve this question

























    up vote
    0
    down vote

    favorite












    Goal: Play music from CLI over SSH, preferably using cmus.



    First try: cmus

    I run cmus in a terminal, literally nothing happens. It just loads (i guess). Tried cmus -vvvvv - Also just loads. Tried this and this - No changes to the issue. But: running it from a physical terminal on the computer works! (Both starting cmus, and playing audio successfully)



    Second try: MOC

    Running mocp opens it up, I can add files too. When trying to play a song, this message appears: can't open audio: device or resource busy MOC - No possible solution found.



    Third try: mp3blaster

    It starts. I can add files. It doesn't play: Failed to open sound device

    Tried several suggestions (very outdated) from google, nothing helped. The one that seemed to help many others with this was padsc mp3blaster - But again, no help for me.



    I am using ALSA with PulseAudio. Audio itself works fine. play or mplayer both work fine, but they don't offer libraries and playlists. Both work fine over SSH too.



    I'm really clueless to what to do here since cmus doesn't print anything and mplayer works fine. I checked alsamixer and nothing is muted or disabled. There's only one single soundcard.



    Not trying to have a broad suggest-me-something question here, I just added the other players since it might help find the issue, but the question aims to focus on getting cmus to work.



    I've tried DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus cmus too (found here), same result.










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Goal: Play music from CLI over SSH, preferably using cmus.



      First try: cmus

      I run cmus in a terminal, literally nothing happens. It just loads (i guess). Tried cmus -vvvvv - Also just loads. Tried this and this - No changes to the issue. But: running it from a physical terminal on the computer works! (Both starting cmus, and playing audio successfully)



      Second try: MOC

      Running mocp opens it up, I can add files too. When trying to play a song, this message appears: can't open audio: device or resource busy MOC - No possible solution found.



      Third try: mp3blaster

      It starts. I can add files. It doesn't play: Failed to open sound device

      Tried several suggestions (very outdated) from google, nothing helped. The one that seemed to help many others with this was padsc mp3blaster - But again, no help for me.



      I am using ALSA with PulseAudio. Audio itself works fine. play or mplayer both work fine, but they don't offer libraries and playlists. Both work fine over SSH too.



      I'm really clueless to what to do here since cmus doesn't print anything and mplayer works fine. I checked alsamixer and nothing is muted or disabled. There's only one single soundcard.



      Not trying to have a broad suggest-me-something question here, I just added the other players since it might help find the issue, but the question aims to focus on getting cmus to work.



      I've tried DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus cmus too (found here), same result.










      share|improve this question













      Goal: Play music from CLI over SSH, preferably using cmus.



      First try: cmus

      I run cmus in a terminal, literally nothing happens. It just loads (i guess). Tried cmus -vvvvv - Also just loads. Tried this and this - No changes to the issue. But: running it from a physical terminal on the computer works! (Both starting cmus, and playing audio successfully)



      Second try: MOC

      Running mocp opens it up, I can add files too. When trying to play a song, this message appears: can't open audio: device or resource busy MOC - No possible solution found.



      Third try: mp3blaster

      It starts. I can add files. It doesn't play: Failed to open sound device

      Tried several suggestions (very outdated) from google, nothing helped. The one that seemed to help many others with this was padsc mp3blaster - But again, no help for me.



      I am using ALSA with PulseAudio. Audio itself works fine. play or mplayer both work fine, but they don't offer libraries and playlists. Both work fine over SSH too.



      I'm really clueless to what to do here since cmus doesn't print anything and mplayer works fine. I checked alsamixer and nothing is muted or disabled. There's only one single soundcard.



      Not trying to have a broad suggest-me-something question here, I just added the other players since it might help find the issue, but the question aims to focus on getting cmus to work.



      I've tried DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus cmus too (found here), same result.







      command-line audio pulseaudio music






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 14 mins ago









      confetti

      287116




      287116

























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479797%2falmost-every-cli-music-player-doesnt-work-in-an-ssh-terminal%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479797%2falmost-every-cli-music-player-doesnt-work-in-an-ssh-terminal%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?