Why is MATLAB trying to connect to X11 server even when started with -nodisplay ?

18 vues (au cours des 30 derniers jours)
Naor
Naor le 2 Août 2019
Commenté : Santhosh A V le 4 Fév 2020
I just upgraded from 2016b to 2019a and started seeing this warning when I launch MATLAB:
[~]$ matlab -nodisplay
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
In fact, even this:
[~]$ matlab -nojvm -nodisplay -nosplash -nodesktop
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
To be clear everything seems to work as expected after startup. I just don't like seeing the warning.
Any ideas appreciated,
--naor

Réponses (1)

Santhosh A V
Santhosh A V le 28 Jan 2020
Hi Naor,
Can you let me know whether the X11 forwarding is enabled in your Putty Configuration.
Thanks
Santhosh
  2 commentaires
Naor Movshovitz
Naor Movshovitz le 28 Jan 2020
Yes, X11 forwarding is in fact enabled, even when I don't have an X11 server running.
Santhosh A V
Santhosh A V le 4 Fév 2020
Hi Naor,
X11 forwarding is not supported with MATLAB.
Thanks
Santhosh

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by