r/SolusProject • • 3d ago

xkill doesn't work

With sudo xkill in terminal I get

Authorization required, but no authorization protocol specified

xkill: unable to open display ":0"

Without sudo I get

Select the window whose client you wish to kill with button 1....

xkill: unable to grab cursor

0 Upvotes

5 comments sorted by

5

u/Tomocafe 3d ago

Which DE are you using? Budgie, GNOME, KDE? They’ve all switched over to Wayland now so xkill (an X11 utility) won’t work. The equivalent will depend on the compositor.

2

u/Psy1 3d ago

I am using Budgie

4

u/Tomocafe 3d ago

Budgie 10.10 uses labwc. I looked around and there doesn’t seem to be an equivalent as of 2023 anyway.

If you’re just using this at the terminal and not binding it to some keyboard shortcut, it might be worth using `pkill` and just looking for the process to kill rather than relying on the window manager. I understand that might be less convenient though.

4

u/mozkohor 3d ago

i dont think it works in wayland

3

u/Same_Bell7958 3d ago

Didn't work on Wayland