test@localhost:~$ suroot@localhost:~# xauth merge ~test/.Xauthorityroot@localhost:~# export DISPLAY=:0.0root@localhost:~# xterm # it should be fine now