此文首发于我的个人博客:解决报错 MobaXterm X11 proxy Unsupported authorisation protocol — zhang0peter的个人博客
今天在使用MobaXterm 时报错如下:
MobaXterm X11 proxy: Unsupported authorisation protocol
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm: Xt error: Can't open display: %s
网上找了许多解决方法但都不怎么方便,最好的解决方法是不用root用户进行xterm:
sudo xterm
这样出来的结果是root用户,可以使用。