Connecting from an Ubuntu 18.04 computer to a headless Lubuntu 18.04 computer using X11 forwarding. It works great for apps that don't require root privileges: lxterminal
, leafpad
, etc. I can run sudo
commands in the forwarded lxterminal
window just fine.
But, applications like synaptic-pkexec
that would normally pop up the Authentication window and ask me to enter a password, fail, like so:
$ synaptic-pkexec
==== AUTHENTICATING FOR com.ubuntu.pkexec.synaptic ===
Authentication is required to run the Synaptic Package Manager
Authenticating as: [my realname],,, ([my username])
Password:
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ===
Error executing command as another user: Not authorized
This incident has been reported.
I supplied the correct password.
Is there a setting in sshd-config
that governs this? What must I change to get this to work?
ssh -Y userid@server
– Organic Marble May 26 '20 at 16:44