![](/img/trans.png)
[英]Plotting figures using matplotlib, over ssh using X11 and OS X
[英]launching SAS Management Console from a mac over SSH with X11
我在以下位置有一个SAS管理控制台的远程实例:
/pub/sas/SASManagementConsole/9.4/sasmc_console
我希望能够将其作为GUI界面启动。 我已经尝试了以下方法(在XQuartz中):
export DISPLAY=:0
ssh -x myuser@app.myserver.com
cd /pub/sas/SASManagementConsole/9.4
./sasmc_console
返回:
Exception in thread "main" java.lang.InternalError: Can't connect to X11
window server using ':0' as the value of the DISPLAY variable.
显示变量的值应该是多少?
doh ..看来我应该使用如下的大写字母X:
ssh -X myuser@app.myserver.com
但是在窗口正常工作之前,我还需要更新其他内容。 首先,在以下文件中:
/private/etc/ssh_config
我更改了以下值:
# ForwardX11 no
# ForwardX11Trusted no
至:
# ForwardX11 yes
# ForwardX11Trusted yes
我还跑了:
rm /tmp/.X11-unix/X0
并重启机器...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.