Run Octave remotely and display locally via X11

北城以北 提交于 2019-12-08 03:25:54

问题


I'm currently implementing some machine learning algorithm by octave and run in the remote server. Once I type some drawing commands such like hist() it shows that

warning: X11 DISPLAY environment variable not set

Is it possible that I set the environment as my local X11 service. How to do it? Thanks.


回答1:


Connect the remote server by ssh and add the option -X

ssh -X remote_server

Then ssh will enable X11 forwarding.



来源:https://stackoverflow.com/questions/12337234/run-octave-remotely-and-display-locally-via-x11

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!