You are not logged in.
Pages: 1
Hello,
with a remote machine with ssh-server, pipewire, soundcard, hifi boxes and software https://wiki.archlinux.org/title/MOC I have a problem:
- when starting mocp on that machine directy from a terminal, the music plays.
- when I only ssh into that machine, I got no sound.
- after local login, also remote login via ssh plays the music
So far I found out, it's a maybe an "access" right issue:
# via ssh on the remote machine:
$ aplay -l
aplay: device_list:274: no soundcards found...
$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD1984 Analog [AD1984 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: AD1984 Digital [AD1984 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: AD1984 Alt Analog [AD1984 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0My current solution is on the remote machine
sudo usermod -aG audio ua4000reboot, and then everything works, but I don't understand why.
Is this the correct solution,
or is there a better way to provide an ssh user access rights like the identical local user ?
Thanks !
Offline
Pages: 1