Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在通过 octave 实现一些机器学习算法并在远程服务器中运行。一旦我输入了一些绘图命令,例如 hist() ,它就会显示
warning: X11 DISPLAY environment variable not set
是否可以将环境设置为本地 X11 服务。怎么做?谢谢。
通过 ssh 连接远程服务器并添加选项 -X
ssh -X remote_server
然后 ssh 将启用 X11 转发。