Institute Server Access
Institute Server Access
This page runs you through the setup to access the gui for the institute servers using vlc. Tl;dr
Why should I bother?
A lot of students do not have laptops and are unable to run some programs and analysis required for some courses, especially computational courses, and lab courses. While this doesn’t come close to a laptop experience, its a step closer to closing the digital divide between our peers.
Even those who do have a laptop can be benefitted by using this to download the articles and journals that can be accessed for free from the institute networks.
All you need for this is an android phone which is relatively new (3 yr old).
We also request people not to use the gui if you are using the compute servers for heavy computation. Please port forward as necessary. GUI puts quite some strain on the server, which mostly is unnecessary, except if one doesn’t have a laptop.
Interesting! Let’s go
Setting up your device
Termius setup
You don’t really need this, you can just use plain ssh if you know how to.
Add Hosts
Create a free account on Termius and set up.
Open the Hosts tab.
Touch the + button
Click
New host
Enter the following info:
Name Value Alias transit Hostname or IP Address 14.139.227.194 SSH Checked Mosh Unchecked Username transit Password Ask on appropriate club group Rest of the fields Empty Click the
tick
on the top right to save.Touch the + button
Click
New host
Enter the following info:
Name Value Alias iiserhpc Hostname or IP Address 172.16.3.200 SSH Checked Mosh Unchecked Username your roll number
Password your hpc password
Rest of the fields Empty Tap the
host chaining
field, tap add host, taptransit
Click the
tick
on the top right to save.
Add Port Forward rules
Choose a number > 5900. This will act as an identifier for your connection. Remember it
In termius, open the
port forwarding
tabTouch the + button
Enter the following info:
Name Value Label vnc port forward Type Local Rule Host From transit Port From Your number >5905 Host to localhost Port to Your number >5905 Click the
tick
on the top right to save.
Phew! Are we done yet?
Nope, but JUST a little more
Server setup
- In termius, tap
ldap
- If a dialog box opens, click
connect
- A terminal will open. You can actually run commands on the institute server now!
- Copy-Paste the following:
curl -sL https://iiserm.github.io/server_access/server_access_install.sh | bash
- Type
exit
and enter
VNC Viewer setup
- Open VNCViewer
- Touch the + button
- Fill address as
localhost:your_number
- Fill Name as
IISER
- Touch create
DONE!
Let’s Access!
- Open Termius and go to Hosts tab
- Touch
ldap
- If a dialog box opens, click
connect
- Type
source startvnc.sh port_num
, whereport_num
is the number>5905 you chose while creating the port forward. - Hit enter
- Follow the steps
- Once a lot of output comes up, open VNCViewer
- Tap
IISER
- Enter the password you chose during the Server setup
- Save the password for future ease
- DONE!
Stop access
- Click on the start button of the server gui, and go to the power tab
- Click logout, and then logout again. In a few seconds, it will “close unexpectedly”, this is ok.
- In termius, type
exit
and enter - Done!
Summary
- ssh into ldap via transit
- Download tigervnc standalone binary from here
- reverse port forward from
iiserhpc:vncport
totransit:vncport
- Start tigervnc server on
:(vncport-5900)
- Port forward
transit:vncport
tolocalhost:vncport
- Connect using vnc viewer to
localhost:vncport
See install script for setup and server startup script for startup