Why is MATLAB trying to connect to X11 server even when started with -nodisplay ?
14 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Santhosh A V
on 28 Jan 2020
Hi Naor,
Can you let me know whether the X11 forwarding is enabled in your Putty Configuration.
Thanks
Santhosh
2 Comments
Naor Movshovitz
on 28 Jan 2020
Yes, X11 forwarding is in fact enabled, even when I don't have an X11 server running.
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!