![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
El 2020-09-08 a las 16:15 -0700, tomas.kuchta.lists@gmail.com escribió:
Hi,
I am trying to play local sound initiated from remote shell (vnc and ssh). Imagine using headless PC connected to speakers.
Can someone point me in the right direction as to what prevents the local audio devices being visible in vncserver on leap 15.*?
All I see is dummy sound output device and I cannot make any sound through that.
Excuse my question, I'm a bit sleepy yet - can't take coffee, just weak tea ;-) - so there is something I don't have clear. Computer A (client) starts ssh connected to computer B (server). You start inside ssh something that should produce a sound. Where do you expect it, on A (client) or B (server)? The application is actually running in B, but is displaying in A, so the sound IMO should be generated and played on B - yet the user is in A, so he will likely not hear it. But somebody sitting at the server might hear the blast and be mightily surprised. Right? I just tested this. A: desktop, "Andor" B: laptop, "minas-tirith" cer@Andor:~> ssh -X cer@192.168.1.129 Password: Last login: Wed Sep 9 11:03:39 2020 from 192.168.1.136 Have a lot of fun... cer@minas-tirith:~> cer@minas-tirith:~> cd Music/ cer@minas-tirith:~/Music> l total 9168 drwxr-xr-x 2 cer users 288 Jul 15 2015 ./ drwxr-xr-x 131 cer users 11912 Sep 9 11:17 ../ -rw-r--r-- 1 cer users 639197 Jul 15 2015 vlc-record-2015-07-15-03h17m30s-RadioTunes - Relaxation-Aetherium - Throat Chakra (Chakra Gold).mp4 -rw-r--r-- 1 cer users 8723764 Jul 15 2015 vlc-record-2015-07-15-03h20m36s-RadioTunes - Relaxation-Aeoliah - Windsong (Love In The Wind).mp4 cer@minas-tirith:~/Music> vlc vlc-record-2015-07-15-03h20m36s-RadioTunes\ -\ Relaxation-Aeoliah\ -\ Windsong\ \(Love\ In\ The\ Wind\).mp4 VLC media player 3.0.9.2 Vetinari (revision 3.0.9.2-0-gd4c1aefe4d) [0000563b1e1e6050] vlcpulse audio output error: PulseAudio server connection failure: Connection refused [0000563b1e101cb0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. ... The vlc application displays in A, but the sound is playing on B speakers. I think this is what I would expect. I'm using 15.1 -- Cheers Carlos E. R. (from openSUSE Leap 15.1 x86_64 (Minas Tirith))