On 6/20/23 14:35, pa...@quillandmouse.com wrote:
On Tue, 20 Jun 2023 14:15:19 -0400
gene heskett <ghesk...@shentel.net> wrote:
[snip]
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
which might work if it wasn't for the invalid magic cookie, so how do
I get an accceptable version of that?
No one's really broken down that initial error message. I think it's
some sort of red herring. I don't think it's actually a "magic cookie"
thing. I suspect something else is going on. For example, it also says
it can't initialize GTK. Why? Does Synaptic rely on GTK libraries which
aren't present? I don't know the answer; I'm just asking questions. And
what server is it unable to "init"? Can you run other GUI apps with
sudo?
geany it seems might have a problem.
But it wasn't installed so I just used packagekit to install all of it
as I use it heavily writing g-codes, so lets try it live and in person:
root@coyote:~# geany .Xauthority
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect:
Connection refused
Geany: cannot open display
But it runs just fine as me, but cannot open my own .Xauthority,unknown
file format error: No mention of permissions. error window won't
copy/paste. Very small snapshot attached. It did go into its history and
opened an OpenSCAD file it had last worked on before the reinstall which
I closed, also shown in the snapshot if it clears the server.
Unfortunately, I on Xorg, so I can test what you're talking about.
Paul
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>