pysenteishon icon indicating copy to clipboard operation
pysenteishon copied to clipboard

Xlib error at startup

Open humitos opened this issue 6 years ago • 2 comments

  File "/home/humitos/.local/share/fades/fb6e98e2-3d4a-4bfa-9ef7-3c412a16eafd/lib/python3.7/site-packages/Xlib/protocol/display.py", line 166, in __init__
    raise error.DisplayConnectionError(self.display_name, r.reason)

Xlib.error.DisplayConnectionError: Can't connect to display ":0.0": b'Invalid MIT-MAGIC-COOKIE-1 key'

After installing and running it,

fades --check-updates -d pysenteishon -x pysenteishon --qr

It fails with the previous error.

I found a workaround to this by calling xhost + before executing pysenteishon.

I'm on Linux Arch.

humitos avatar Aug 24 '19 22:08 humitos

@humitos are u using Wayland on arch?

edvm avatar Aug 24 '19 23:08 edvm

Nope. It seems that I'm using x11

$ loginctl show-session $(loginctl | grep $(whoami) | awk '{print $1}') -p Type
Type=x11

humitos avatar Aug 25 '19 00:08 humitos