Same answer as for Linux, except on recent versions of Mac OS, you might also have to download and install XQuartz. Try one,Īnd if it does work, try the other one.
So the X11 Server has to be running there, and the CSIL machine has to know how to connect
So, if you are using a laptop, for example to access CSIL over an ssh connection, the video display, mouse and keyboardĪre the ones on your laptop. Running on the machine where the physical display screen, mouse and keyboard are located. X11 users a network connection to send graphics information between programs and an “X11 Server”. The reason is that CSIL machines run Linux and graphics are typically provided on Linux via a system called either X11 As mentioned earlier in this document.When running graphics programs on CSIL in a terminal session on your own computer, you may run into X11 DISPLAY issues. I've seen this when Xming needed administrative permissions. X11 connection failed, X11 connection dropped, or X11 connection timed out I've only seen Xming use the first but future performance may vary. The other setting (it can be either MIT-Magic-Cookie-1 or XDM-Authorization-1) X11 settings try changing the Remote X11 authentication protocol to This may be due to a mismatch between what Xming wants for authentication and Solutions: Try again later, find a backup if less Moral of this is don't wait until the last minute to do your homework, oddsĪre everyone else is also. Idle matlab sessions lying around for too long, I may terminate them.
We only have 3 licenses and they go first come, first served. Neptune $ at this prompt type matlab and if all went wellĪ matlab splash page should appear then after several seconds a Now you should be logged in and the putty window will display
Login as: enter your username then password when prompted. Now click on neptune and hit open button a window should appear with Save, this will save the settings we just made. Go back to the Session category and enter neptune into saved sessions and click Next click on SSH category and X11 and enable X11 forwarding In the host name or ip address blank enter Now you need to use putty to connect to neptune: To show the root window (if you do this you can get back to the task bar Under this icon you can look at the log file forĬryptic messages that may help when troubleshooting. If you look at the taskbar in the bottom right, You might not be able to tell Xming is running as with most servers until There should be the option to run as admin). The X windows connections time out or are disconnected this is probably theĬulprit rerun the program as administrator (right click on icon under more If you try running it from an unprivileged account and matlab complains that Version of Microsoft Windows, Xming may need to be run as administrator. Again google xming as of this writing it is here įirst you will need to start the Xming server.
Matlab will work w/o the X Windows Server but in a text/cli mode only no graphing functions etc.įor this document we will be using Xming, again because it is available free of charge.