本文介绍了是否可以在远程服务器上运行matlab并使用来自瘦客户端的matlab GUI对其进行控制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

类似于使用带史莱姆的emacs可以完成的工作:核心服务可以在性能级别的远程计算机上运行,​​而我可以在上网本上通过emacs gui编辑和运行代码.

Akin to what can be done with emacs with slime: the core services can run on a performace grade remote computer while I can edit and run code from emacs gui on an netbook.

  • 我和我的同事经常需要使用计算机进行一些演示学习在matlab中运行的脚本

  • Me and my colleagues often need to do some demos using machinelearning scripts running in matlab

这需要我们随身携带笨重的笔记本电脑.

This requires us to carry around heavy laptops.

我们可以让应用程序在远程服务器上运行并访问 是否使用相同的matlab gui而不在本地运行脚本?

Could we have the applications running on a remote server and access it using the same matlab gui without running the scripts locally?

不接受远程桌面或类似的解决方案:多个用户希望使用同一台服务器.

Remote desktop or similar solutions are not acceptable: multiple users would like to use the same server.

这就是为什么没有答案的原因很有帮助

This is why none of the answers here were helpful

推荐答案

以我的经验,最好的方法是使用 VNC .您可以在主机上启动 VNC服务器,然后使用 VNC客户端从任何地方远程访问此桌面.您可以在另一时间断开连接并重新连接,您的桌面仍将在那里.同样,多个用户都可以进行不同的会话,或者可以访问同一会话.如果您不希望每个会话都运行完整的桌面,则可以将其配置为最小.为了安全起见,建议使用 SSH隧道或类似的隧道.

In my experience, the best way is with VNC. You can start a VNC server on the host machine, and then access this desktop remotely from anywhere with a VNC client. You can disconnect and reconnect at another time, and your desktop will still be there. Also, multiple users can all have different sessions going, or can access the same one. If you don't want each session to run a full blown desktop, you can configure it to be minimal. For security, it is recommended to use an SSH tunnel or similar.

确切的程序会根据您的设置而有所不同,但是上面Google的内容以粗体显示.

The exact programs will vary based on your setup, but the things to google are bolded, above.

我的设置是:

  • VNC服务器:在Ubuntu Linux主机上的vnc4server.
  • VNC客户端:用于Mac的VNC鸡.
  • SSH隧道:用于Mac的 SSH隧道管理器(尽管也可以在命令行中完成此操作).
  • VNC server: vnc4server on a Ubuntu linux host.
  • VNC client: Chicken of the VNC for mac.
  • SSH tunnel: SSH Tunnel Manager for mac (although this can be done at the command line too).

祝你好运!

这是我刚刚在集群中启动的vncserver会话的屏幕截图,其中运行了matlab.我正在通过Mac上的vnc客户端访问它.很棒!

Here is a screenshot of a vncserver session I just started up on our cluster, with matlab running in it. I'm accessing it through the vnc client on my mac. Works great!

这篇关于是否可以在远程服务器上运行matlab并使用来自瘦客户端的matlab GUI对其进行控制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 12:24