How to access the matlab server (Johnlennon) (alteHNO)
Work via VNC with Matlab about Johnlennon
advantage: You can start a calculation, turn off your computer and later start the VNC session and MatLab has further calculations. It is good for long calculations.
disadvantage: The handling of MatLab is not so comfortable
First time users
the first step is you need to create a VNC Sesseion. For this you need the program PuTTY ( direkt Download or website ).
- Start PuTTY
use the following option:
Host Name (or IP address) | Johnlennon (172.16.160.6) |
---|---|
Port | 60222 |
Connection type | SSH |
- Click "Open" to connect:
- The first time you try to connect, you will get this message. Simply hit "Yes" to continue.
- This opens the console and asks for user data.
- After we enter the access, we start a VNC session with command "vncserver" and confirm with "enter".
- You must now create a password for the VNC session. This password is created only once and is valid for all VNC session. Password Please Note!
- After you enter the password twice comes, the following question "Would you like to enter a view-only password (y / n)?" you answered with "n" and confirm with "enter"
- It is now created a display number. Please note!
- Close console with the command "exit" and confirm with enter.
How do I create a new VNC session after server failure or restart?
- Start PuTTY
use the following option:
Host Name (or IP address) | Johnlennon (172.16.160.6) |
---|---|
Port | 60222 |
Connection type | SSH |
- This opens the console and asks for user data.
- After we enter the access, we start a VNC session with command "vncserver" and confirm with "enter".
- It is now created a display number. Please note!
- Close console with the command "exit" and confirm with enter.
Starting VNC
- Start VNC Viewer (VNC download or TightVNC donwload)
- Add the IP Address of Johnlennon and your display number.
- For explame:
- 172.16.160.6:[your display number]
- VNC asks for your password.
- The VNC session is now started.
- You start MatLab with the command "matlab"
If you have start your Matlab computation, you can close VNC and you can later reconnect with VNC to your Matlab computation! Your Matlab computation running even if VNC is closed
VNC commands
- Finding your current VNC session numbers
- On the command line (which you can access with e.g. putty as described above) enter
ps aux | grep vnc | grep YOURUSERNAME
- The information of interest to you is the number in the first line after Xvnc :.
- Killing a VNC session
vncserver -kill :xx
- with xx being your vnc session number which you can nd out as described in the previous section.
- Resetting the VNC password
- If you want to change your VNC password type
vncpasswd
- on the command line and type in your new password twice.
- If you do not remember your old password kill your current vncserver session and delete the le .vnc/passwd in your home directory.
How do I get my data on the server (JohnLennon)?
Access to Johnlennon (if name resolution isn't working use IP instead):
Samba Access(Windows) | Samba Access(MAC) |
---|---|
\\Johnlennon | smb://Johnlennon |
\\172.16.160.6 | smb://172.16.160.6 |
Before you start to work with Matlab, you need to copy your data to the server!
On the server should only files you need currently to compute! We only have a limited disk space in the moment! Please move unneeded data on your local hard disk or on the file server (MP-storage)! This is no place for backups! The server will not backup!
You can connect to your personal folder on Johnlennon over Samba.
Connect to your personal folder on Johnlennon over Windows
- Click the Start button Windows Start menu and select Computer.
- Click Map a network drive on the top toolbar
- Enter the share name chosen in the previous section of the document; e.g. "\\Johnlennon\(username)" or "\\172.16.160.6\(username)".
- Check the box for Connect using different credentials.
- Click Finish.
- A window will pop up asking you to input your credentials. Input your Username and password into the appropriate fields, then click OK.