On 8/24/07, Alexandru Ciobanu <alex@tvtransilvania.ro> wrote:

export XAUTHORITY=/home/user/.Xauthority
There are some security issues here tough:
man xauth

I create /home/user/.Xauthority file by tipping  xauth and then generate :0.0

and that file I copy in /root/

now I got this message:
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
cannot open display:

did I do any step forward?