linux 无法在fluxion中运行xterm

4nkexdtk  于 2023-06-21  发布在  Linux
关注(0)|答案(2)|浏览(158)

所以我从github克隆了fluxion仓库,当我试图运行这个工具(作为root)时,它显示了这个错误

[*] Failed to start xterm session (possible misconfiguration).

然后我关闭了那个终端,在另一个终端中输入xterm。但当我运行它的根它说

root@localhost:~# xterm
No protocol specified
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

之后我将xhost更改为本地,但结果相同
请有人帮我这个忙,谢谢!

xggvc2p6

xggvc2p61#

这是因为你的互联网是不工作或升级你的机器或安装xterm

qoefvg9y

qoefvg9y2#

这意味着您需要退出root

root@yourpc:~$exit

也不要和须藤一起跑。
它说它不需要也不会以提升的(根)权限/访问权限运行。
这就解决了你看到的问题。

相关问题