Is it possible to send plots to multiple computers from the same matlab session in Linux?

1 回表示 (過去 30 日間)
Louis Arney
Louis Arney 2019 年 5 月 6 日
コメント済み: Louis Arney 2019 年 5 月 16 日
Is it possible to send plots to multiple computers from the same matlab session. We are using Linux. With HPUX we were able to change the XDisplay parameter. But Linux does not seem to allow that.
  2 件のコメント
Walter Roberson
Walter Roberson 2019 年 5 月 7 日
You might have to turn X Windows security way down, equivalent to Xauth +
(that is, admit pretty much anything that wants to display.
I don't know if it is even still pausible. It used to rely upon some rsh / ssh security settings that were disabled later as being just too insecure.
Bjorn Gustavsson
Bjorn Gustavsson 2019 年 5 月 7 日
編集済み: Bjorn Gustavsson 2019 年 5 月 8 日
Maybe it is possible to squeeze your needs through VNC? Slightly different tack, this would give remote users access to the entire server, at least at the running user's level. But I'm pretty sure multiple users can access the same session via vnc.
I've heard impressive stories about what can be achived with ssh (also rather recently) so that might still be possible, maybe with ssh-keygen as a tool to simplify login.

サインインしてコメントする。

回答 (2 件)

Pruthvi Muppavarapu
Pruthvi Muppavarapu 2019 年 5 月 14 日
Hi Louis,
Currently, you might not be able to accomplish plots on multiple monitors within one MATLAB session.
As a workaround, you could try starting a separate instance of MATLAB for each display, using the '-display' startup flag as follows:
$ matlab -display xDisp
Hope this helps.
Regards,
Pruthvi
  5 件のコメント
Walter Roberson
Walter Roberson 2019 年 5 月 16 日
Can changes to your DISPLAY environment variable permit you to display other programs to various displays? xeyes for example?
Louis Arney
Louis Arney 2019 年 5 月 16 日
If I change DISPLAY in my xterminal to another device running an Xserver, like one Linux machine to another, I can open an xterminal (which might contain a plot or be running another program) on the other device. Changing my DISPLAY within a Matlab session does nothing (that I can tell). XDisplay is protected from changes once the session starts.

サインインしてコメントする。


Bjorn Gustavsson
Bjorn Gustavsson 2019 年 5 月 15 日
KISS: vnc

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by