[Bug 924398] Re: Unable to connect to X server
fish47
924398 at bugs.launchpad.net
Tue Jan 31 17:13:37 UTC 2012
** Attachment added: "logs.tar.gz"
https://bugs.launchpad.net/bugs/924398/+attachment/2703447/+files/logs.tar.gz
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/924398
Title:
Unable to connect to X server
Status in “udev” package in Ubuntu:
New
Bug description:
Laptop:
Lenovo V460
OS:
Ubuntu10.04
Kernel:
2.6.34-020634-generic
RelatedPackages:
udev 151-12.3
libgpod-common 0.7.93
libudev0 151-12.3
makedev 2.3.1-89
Hi everyone, recently, I come up writing a udev rules to disable the touchpad while I use the mouse. But I came across a strange situation as the title. I have tried the "synclient", but it doesn't seem to work at times.
synclient TouchpadOff=1
I lean how to do that from the web-site below. I have read it
completely at least twice.
http://www.reactivated.net/writing_udev_rules.html
I want to analyze how the udev works, so I the command below to grasp
the information, you can check them out from the attachments.
sudo udevd --debug
You can see the corresponding message that present the situation at
LINE 100 from add.txt. Like this.
1325675158.824063 [4626] util_run_program: '/usr/bin/xinput' (stderr)
'Unable to connect to X server'
And here is my udev rules.
ACTION=="add", SUBSYSTEM=="input", ATTR{name}==" USB OPTICAL MOUSE", RUN+="/usr/bin/xinput set-prop 13 125 0"
ACTION=="remove", SUBSYSTEM=="input", ATTR{name}==" USB OPTICAL MOUSE", RUN+="/usr/bin/xinput set-prop 13 125 1"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/924398/+subscriptions
More information about the foundations-bugs
mailing list