远程运行Octave并通过X11在本地显示 [英] Run Octave remotely and display locally via X11

查看:151
本文介绍了远程运行Octave并通过X11在本地显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在通过八度实现某种机器学习算法,并在远程服务器中运行.一旦输入了诸如hist()之类的绘图命令,它就会显示

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

是否可以将环境设置为本地X11服务.怎么做?谢谢.

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

推荐答案

通过ssh连接远程服务器,并添加选项-X

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

ssh -X remote_server

然后ssh将启用X11转发.

Then ssh will enable X11 forwarding.

这篇关于远程运行Octave并通过X11在本地显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆