Hi all, I’m new to NoMachine with Pi.
I am running in to a problem running pacmd when logged in remotely with NoMachine using a Pi 4 Buster. When I login via a connected console, there is no issue running pacmd.
To get the standard LXDE-PI desktop to come up when logging in via NoMachine I had to add the line:
To /usr/NX/etc/node.cfg or else I got a generic LXDE desktop. When I do this and login with NoMachine, all seems ok until I try to use any of the PulseAudio cli commands. They all fail as follows:
pi@PI-002:~ $ pacmd list-sinks
No PulseAudio daemon running, or not running as session daemon.
From reading online, this seems to be a problem with how X11 has been initialized when NoMachine logged in – but noone seems to offer any ideas on how to solve this issue. I suspect this is simple but I can’t seem to “get” it.
I am running the following hardware/software versions:
Pi 4, 4GB (server), MacOS BigSur 11.1 (client)
NoMachine: Version 7.0.211 (arm7) — Server, Version 7.0.211 (OSX) — Client
Raspian: Buster (latest updates)
Thanks for any help!