PuTTYでX11 Forwardingが認証エラーになるときの対処

通常ユーザではできるが,rootになるとエラーが出たりする.

[エラーメッセージ]
PuTTY X11 proxy: wrong authorisation protocol attemptedPuTTY X11 proxy: wrong authorisation protocol attemptedPuTTY X11 proxy: wrong authorisation protocol attemptedError: cannot open display: localhost:10.0

[対処]
$ xauth list
hogehoge:10 MIT-~~~
$ su
# xauth add :10 MIT-~~~

@IT:Xのウィンドウで別のデスクトップを表示するには
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/560usexnest.html