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

16 views (last 30 days)
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

Answers (1)

Santhosh A V
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

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!