edvm / pysenteishon

Control your presentations swiping your touchscreen!
GNU General Public License v3.0
49 stars 16 forks source link

Xlib error at startup #41

Open humitos opened 5 years ago

humitos commented 5 years ago
  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.

edvm commented 5 years ago

@humitos are u using Wayland on arch?

humitos commented 5 years ago

Nope. It seems that I'm using x11

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