[英]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.