pa_write() failed while trying to wake up the mainloop: Operation not permitted Connection failure: Connection refused pa_write() failed while trying to wake up the mainloop: Operation not permitted pa_context_connect() failed: Connection refused pa_write() failed while trying to wake up the mainloop: Operation not permitted Traceback (most recent call last): File "/tmp/erri-rescue-factions-source-a01/tools/headless_workbench.py", line 171, in sinks = json.loads(subprocess.check_output(['pactl', '-f', 'json', 'list', 'short', 'sinks'], text=True)) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/subprocess.py", line 473, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ **kwargs).stdout ^^^^^^^^^ File "/usr/lib/python3.14/subprocess.py", line 578, in run raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['pactl', '-f', 'json', 'list', 'short', 'sinks']' returned non-zero exit status 1.