Eben King <e...@gmx.us> writes: > xev works as not-root, so X clients in general work. So how do I get > around this? Installing not-Wayland is an option, but I probably should > replace it with some WIMP interface so if I need it, it's there. Thanks.
So, as xev works, X forwarding works and it's not your problem. While I don't use Synaptic it seems to me your problem is covered e.g. here: https://askubuntu.com/questions/1243897/pkexec-authentication-fails-over-ssh-x11-forwarding-why You could try sudo synaptic-pkexec or run /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1& before running synaptic-pkexec. My experience with GUI apps remotely as root is limited to gparted and it works with sudo, although I've usually had to fiddle with xauth first.