解决报错 MobaXterm X11 proxy Unsupported authorisation protocol--xterm: Xt error: Can't open display: %s

2019/05/07 行走的问题解决机 共 421 字,约 2 分钟

今天在使用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用户,可以使用。

文档信息

Table of Contents