WindTerm icon indicating copy to clipboard operation
WindTerm copied to clipboard

MacOS failed to X11

Open cyrus0w opened this issue 2 years ago • 5 comments

In MacOS, both internal and external x cannot be used, and the following is returned:

"nvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key (virt-manager:26657): Gtk-WARNING **: 19:43:49.023: cannot open display: localhost:16.0"

cyrus0w avatar Apr 11 '22 11:04 cyrus0w

The MacOS version does not integrate X Server, only the Windows versions has it. I will hide the Internal X display option in the WindTerm_2.4.0_Prerelease_3 version.

You need install XQuartz yourself, and set the correct External X display in the Session Settings dialog. It should be fine. if you have any questions, please let me know, thank you.

kingToolbox avatar Apr 13 '22 08:04 kingToolbox

The WindTerm_2.4.0 has been released and the Interlnal X Display of the MacOS and Linux versions has been removed from the Session Settings dialog.

kingToolbox avatar Apr 18 '22 11:04 kingToolbox

The MacOS version does not integrate X Server, only the Windows versions has it. I will hide the Internal X display option in the WindTerm_2.4.0_Prerelease_3 version.

You need install XQuartz yourself, and set the correct External X display in the Session Settings dialog. It should be fine. if you have any questions, please let me know, thank you.

The x11 on the apple chip still doesn't work, even though it's external, XQuartz doesn't seem to listen to any ports, can you tell me the correct way to set it up?

woOzZ2 avatar Aug 09 '22 08:08 woOzZ2

MacOS操作系统 版本未集成X服务器,只有视窗 版本中有它。我将隐藏内部X显示 对话框中的风术语_2.4.0_预发布版本_3 版本中。 您需要安装X石英 并设置正确的外部X显示 得双曲余切值.会话设置 对话框。应该没问题。如果你有任何问题,请告诉我,谢谢。

苹果芯片上的x11仍然不工作,即使它是外部的,XQuartz似乎不听任何端口,你能告诉我正确的设置方法吗?

您好 请问解决了吗

YangWang0514 avatar Oct 23 '22 13:10 YangWang0514

The MacOS version does not integrate X Server, only the Windows versions has it. I will hide the Internal X display option in the WindTerm_2.4.0_Prerelease_3 version.

You need install XQuartz yourself, and set the correct External X display in the Session Settings dialog. It should be fine. if you have any questions, please let me know, thank you.

i have same problem, how to setup windterm & XQuartz "ssh -X" - work great

alexunderboots avatar Feb 04 '23 13:02 alexunderboots

In my case, I had to run the command xhost +local: on my local command line first. Then, enabling External X display in the session settings will work (we can probably leave the inbox next to the External X display as blank, i.e., using the default localhost:0.0).

Here is the answer that helped me out, https://askubuntu.com/questions/984359/x11-invalid-mit-magic-cookie-1-key

Kvieta1990 avatar Feb 22 '23 16:02 Kvieta1990