ThinLinc
Getting started with ThinLinc.
Last updated
Getting started with ThinLinc.
Last updated
The login node has ThinLinc install and can be accessed at https://login.excl.ornl.gov:300. Since this node is public facing, it is the easiest to access with ThinLinc.
In addition to the login node, multiple systems including the virtual systems have ThinLinc installed, which makes it easier to run graphical applications. To access ThinLinc you need to use as socks proxy to forward traffic to the ExCL network or port forwarding of port 22 to use the ThinLinc client.
For better keyboard shortcut support and to prevent the browser from triggering the shortcuts, I recommend installing Open-as-Popup.
If you run into a "ThinLinc login failed. (No agent server was available)" error, then login to the node with ssh. This will mount your home directory and resolve the ThinLinc error.
Hostname | URL |
---|---|
The URL will only work once the SOCKS proxy is set up. FoxyProxy can be used to automatically set up SOCKS proxy forwarding.
Launch SOCKS dynamic proxy forwarding to the login node. On Linux or macOS, for example
or in the ssh config add
On windows use MobaSSHTunnel to setup Dynamic Forwarding. See Jupyter Quickstart for more information on port forwarding in windows.
Setup FoxyProxy Install the FoxyProxy Chrome extension or Firefox extension.
Connect to the ThinLinc server using the links above.
This approach is recommended if you need better keyboard forwarding support for keyboard shortcuts that are not working with the Web client. The web client approach is easier to use and enables connecting to multiple systems at a time.
If the system is directly accessible (for example login.excl.ornl.gov), then you can specify the system and connect directly.
If the system is an internal node, then local port forwarding must be used. The steps to setting this up are as follows.
Forward port 22 from the remote system to your local system through login. On Linux or macOS
On windows use ssh via powershell, MobaSSHTunnel, Visual Studio Code, or putty to forward port 22. See Jupyter Quickstart for more information on port forwarding in windows.
Add alias in hosts file for the remote node. This is needed because of how ThinLinc establishes the remote connected. On Linux this host file is /etc/hosts
. On windows the file is C:\Windows\System32\drivers\etc\hosts
. Host file:
Launch the ThinLinc Client.
In the options, specify the SSH port to be <localport>
.
Specify the Server, Username, and credentials.
Connect to the server with "Connect".
If you use Gnome and do not have access to the module command when you start a terminal session over ThinLinc web, then your terminal session may not be configured as a login session. To resolve
Right click on the terminal icon on the left side of your screen
In Preferences -> Unnamed, make sure Run command as a login shell
is checked.
You will then get login processing (including sourcing the /etc/profiles.d files) and so the module command will now be present.
Setup FoxyProxy by adding a new proxy for localhost on port 9090. Then add the regular expression URL pattern .*\.ftpn\.ornl\.gov
to forward ThinLinc traffic to ExCL.