I am trying to run xinput --list on a remote machine. It seems to work OK on our 10.04 machines but our 12.04 machines don't seem to want to play ball.
Basically I use a PuTTY session to connect to the remote machine, in 10.04 I can then run export DISPLAY=:0 and then, depending on the requirements run xinput --list and/or xinput_calibrator. This will either list the input devices, or run the Calibrator on the remote screen and output the results to the PuTTY Session.
The error I am getting is: No protocol specified No protocol specified Unable to connect to X server
Are there any common configuration changes I would need to make this work? Why would it work in 10.04 but not 12.04?