小编Ayu*_*sak的帖子

WSL - GEDIT 无法初始化服务器:无法连接:连接被拒绝

我在 Windows 10 机器上使用 Ubuntu 18.04 作为 Linux 的 Windows 子系统。
我已经安装,gedit没有任何错误或警告。

但是每当我尝试使用该命令gedit something(这里有一个文件名)时,
我都会收到此错误:

Unable to init server: Could not connect: Connection refused

(gedit:48): Gtk-WARNING **: 21:03:26.729: cannot open display:
Run Code Online (Sandbox Code Playgroud)

linux ubuntu gedit windows-subsystem-for-linux

18
推荐指数
2
解决办法
8万
查看次数