简体   繁体   English

MacOS High Sierra和X11转发

[英]MacOS High Sierra and X11 forwarding

All, 所有,

I do have linux servers which do not have GUI installed and sometimes I just need to use graphical applications, such as installers. 我确实有没有安装GUI的linux服务器,有时我只需要使用图形应用程序,例如安装程序。 So the option is to use X11 forwarding. 因此,该选项是使用X11转发。 My question is how X11 forwarding is used with MacOS High Sierra today. 我的问题是,今天X11转发如何与MacOS High Sierra一起使用。 What options or applications you do use? 您使用哪些选项或应用程序? On windows I would probably use Xming or similar but are such server also available on MacOS? 在Windows上,我可能会使用Xming或类似的设备,但MacOS上是否也可以使用这种服务器? I know about XQuartz, but I'm reluctant to install it. 我知道XQuartz,但是我不愿意安装它。

XQuartz is standard. XQuartz是标准的。 It used to come bundled with the OS, but Apple removed it back around Mavericks. 它曾经与操作系统捆绑在一起,但苹果公司将其从Mavericks身边撤回了。 It generally works great. 通常效果很好。

You want to use: 您要使用:

ssh -Y [remote_server]

and you may have to add to your $HOME/.ssh/config file: 并且您可能必须添加到$HOME/.ssh/config文件中:

Host [remote_server]
   ForwardX11 yes
   ForwardX11Trusted yes

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM