[SOLVED] xset won't work 03 June 2021, 10:45:27 Hello, and thank you for this great community.xset q | grep -A 1 Pointerxset: unable to open display ""Everything works fine except xset.I have been trying to set mouse threshold with xset m 2/1 9 Quote Selected Last Edit: 04 June 2021, 17:00:49 by alium
Re: xset won't work Reply #1 – 03 June 2021, 15:07:44 It shouldn't have anything to do with init systems. It sounds like you might be missing the DISPLAY variable in your environment for some reason and xorg can't find your display. Quote Selected
Re: xset won't work Reply #2 – 03 June 2021, 15:24:35 xset works only when Xorg is running, DISPLAY environment variable is set and the uid/gid of the process are allowed to access X server. For example, if you login as root in a terminal emulator under X session where you logged as a regular user, you normally won't be able to run X apps as root from that terminal emulator. If you execute (example):Code: [Select]$ xhost +si:localuser:rootfrom another terminal emulator as the user running the X session though, you will be able to. Quote Selected
Re: xset won't work Reply #3 – 03 June 2021, 16:30:14 Ran as non root user. Working, thank you. Quote Selected