On Tue, 20 Jun 2023 10:51:13 -0400
gene heskett <ghesk...@shentel.net> wrote:


> gene@coyote:~/Pictures$ sudo synaptic
> [sudo] password for gene:
> 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

Sorry, I've come in late here, but can you not run Synaptic from the
standard menu entry? It issues the command synaptic-pkexec, as others
have said. I believe policykit does not allow the use of Synaptic with
sudo, only with the root password.

I'm on Xfce4 on sid. Loads of Wayland lib stuff, definitely no Wayland
graphics.

-- 
Joe

Reply via email to