ydotool
ydotool copied to clipboard
Unable to connect to X server
I am on wayland ( Hyprland ) and when I run sudo ydotoold I get
Socket path: /tmp/.ydotool_socket
Socket permission: 0600
READY
Authorization required, but no authorization protocol specified
Unable to connect to X server
If you follow my tutorial does it work for you?
See https://github.com/ReimuNotMoe/ydotool/issues/207#issue-1762095867
Same issue. Used to work for me on sway and am now getting this error, even with su.
EDIT: huh, weird, I did some things including trying xhost +local: and restarting sway, and now it's shifted to this bug: https://github.com/ReimuNotMoe/ydotool/issues/205
I resolved this issue by installing xorg-host in arch linux and running the command xhost local:root.
Any solutions?