Almost every CLI music player doesn't work (in an SSH terminal)
Clash 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.
command-line audio pulseaudio music
add a comment |Â
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.
command-line audio pulseaudio music
add a comment |Â
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.
command-line audio pulseaudio music
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
command-line audio pulseaudio music
asked 14 mins ago
confetti
287116
287116
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password