Public bug reported: Description: Ubuntu 16.04.3 LTS Release: 16.04
When i try to run some script via udev rules. For example: SUBSYSTEM=="input", KERNEL=="mouse[0-9]*", ACTION=="add", ENV{DISPLAY}=":0", RUN+="sudo /usr/local/bin/touchpad-add" there is one line in the script "touchpad-add" /usr/bin/xinput enable 12 >>/tmp/tpbe.log 2>&1 12 is ID of my touchpad I get next error message Invalid MIT-MAGIC-COOKIE-1 keyUnable to connect to X server when i try to run this script from terminal it work is ok. I try to get Xauthority from script /run/user/1000/gdm/Xauthority the comand out "xauth list" from root and other users - the same xauth list ash/unix: MIT-MAGIC-COOKIE-1 2fd711d467a17da9bafb6a4a0dfc52db #ffff#617368#: MIT-MAGIC-COOKIE-1 2fd711d467a17da9bafb6a4a0dfc52db In the previous versions of ubuntu this script worked properly. ** Affects: ubuntu Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1716832 Title: Unable to connect to X server via non termal run To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1716832/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs