On 21/06/2023 01:15, gene heskett wrote:
gene@coyote:/usr/local/bin$ pkexec /usr/sbin/synaptic
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect:
Connection refused
Failed to initialize GTK.
Probably you're running Synaptic on Wayland with root permission.
Please restart your session without Wayland, or run Synaptic without
root permission
My guess is that
env | grep DISPLAY
does not contain WAYLAND_DISPLAY in your case, so the issue is
completely unrelated to wayland. As I wrote in another message, the
~/.Xauthority file is likely either not owned by your user or it is
corrupted.