X11 转发不起作用使用 Putty 连接到 CentOS 8 VM有什么问题?

问题描述

我根本无法在 CentOS 8 虚拟机上运行图形软件。 我在没有 GUI 支持的情况下安装了它。

我正在运行 Xming。

我正在使用 Putty(我的本地机器是 Windows 10),已选中 X11 转发框,已按照 http://www.straightrunning.com/XmingNotes/trouble.php 说明编辑了 sshd_config 文件,并且在尝试运行 sudo gparted 时我不断获得

Unable to init server: Could not connect: Connection refused

(gpartedbin:1559): Gtk-WARNING **: 19:22:28.507: cannot open display:
--runtime cannot be used with unmask

有什么提示吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)