プログラムをリモートで(sshを介して)実行したいのですが、プログラムが実際に実行されているリモートマシンにオーディオが送信されます。これは通常ALSAで機能しますが、pulseaudioはクライアントからの接続を許可する前に、いくつかのセッション認証システムをチェックするようです。
このチェックをそれほど厳しくしない方法は?
local: $ ssh remote # remote is running pulseaudio and has sound hardware
remote:$ paplay something.wav
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
remote:$ audacious something.mp3 # opens on local's X11 display
pulseaudio: Failed to connect to server: Connection refused
pulseaudio: Failed to connect to server: Connection refused
pax11publish -r
私のUbuntu 19.10で動作します。