This is making me frustrated. Why doesn't it work, and how do I get it to work?
I have a newly installed Ubuntu 10.04.2 (Lucid Lynx). I have installed X and gdm. Gdm is set up to automatically log in a user. The computer does not have any keyboard connected, but I want to display some stuff on its local display.
Normally, I would just ssh to the computer as the user who has logged in automatically, and run "DISPLAY=:0.0 xclock", for example.
But now I only get the response:
user@host:~$ DISPLAY=:0.0 xclock No protocol specified Error: Can't open display: :0.0
However, if I log in as root, it works.