ydotool icon indicating copy to clipboard operation
ydotool copied to clipboard

Unable to connect to X server

Open leath-dub opened this issue 2 years ago • 4 comments

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

leath-dub avatar May 12 '23 18:05 leath-dub

If you follow my tutorial does it work for you?

See https://github.com/ReimuNotMoe/ydotool/issues/207#issue-1762095867

ElectricRCAircraftGuy avatar Jun 23 '23 08:06 ElectricRCAircraftGuy

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

imyxh avatar Aug 16 '23 05:08 imyxh

I resolved this issue by installing xorg-host in arch linux and running the command xhost local:root.

psr-ai avatar Apr 04 '24 18:04 psr-ai

Any solutions?

KAGEYAM4 avatar Oct 08 '24 13:10 KAGEYAM4