I've got a Win 10 box with Cygwin and the X packages installed. I run xlaunch and start up the X server. I then do "ssh -Y user@myserver". Then I su and run virt-manager. I get an error:
Cygwin: Unable to initialize GTK: could not open display
echo $DISPLAY shows:
localhost:10.0
I've tried changing it with EXPORT DISPLAY=localhost:0.0 with no luck.
I've googled and read all of the similar questions but none address my problem, as simple as I'm sure it is.
答案 0 :(得分:1)
从xorg-server版本1.17开始,选项-nolisten tcp
现在是默认选项,因此服务器只接受unix域套接字上的本地连接。
要允许TCP连接,您应该使用已添加的选项-listen
来恢复以前的行为。
据包维护者报告:
https://sourceware.org/ml/cygwin-announce/2015-10/msg00111.html