Pretty fresh Debian 6.0.3 install, running Gnome 2.30.2. In a root terminal, whenever I try to open anything Gnome related, I'll get this error:
unable to open display ":0.0"
Sometimes this is prefixed by:
No protocol specified
I've added my hostname to xhost
, and put xhost +[myhostname]
in root's bashrc
, but that just fails when I open the root terminal. Help?
EDIT: The only way I can get this to work is by turning off access control entirely, but I know there must be a better solution.