Difference between revisions of "Linux Terminal Server"

From ITSwiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Linux client)
 
(26 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
<div style="background-color: #FFFF00; border-style: dotted;"> This guide is for users at '''DTU Compute''' only</div>
  
=Purpose=
+
<div style="background-color: #FF9999; border-style: dotted;">New ssh keys from October 18, 2023
 +
<PRE>
 +
  thinlinc.compute.dtu.dk:
 +
    ED25519: SHA256:mVRRmBzCgfCpWjAmUr+j+kOKbeOZUdI0jnhl+xuf2Kw
 +
    ECDSA:  SHA256:54mXNAZBQsTWKVGrYX5HxzvQjyFrxClRezGjTW1wRII
 +
    RSA:    SHA256:Awuf/O5NsCzNQ/kv5utyaHo74Q7E3AyO5BoKmCSSek8
  
The purpose of the terminal servers is to provide a standard linux desktop which also gives easy access to the linux grid facilities at DTU Compute. The servers are running a standard Ubuntu 10.04LTS. Access is done via dedicated hardware clients using the [http://ltsp.org/ linux terminal server projects] setup or software client using NX. The interface is based on the light weight LXDE
+
  thinlinc2.compute.dtu.dk:
 +
    ED25519: SHA256:oBcDc8/R8WSsAw7hm/Ik00wBoisINOP5AHI0fBSYhEQ
 +
    ECDSA:  SHA256:boHFFTAkSjyAHLeWNBkFIsOx14md0EnxQY0+SxA12CM
 +
    RSA:    SHA256:IdOGT3PbXHihVEJTt8H9tOsBIM7/HMtYSs0iwFAa+qE
 +
</PRE>
 +
</div>
  
Compared to the SunRay servers the linux terminal servers should provide more up-to-date applications and better performance. However, the mobility provided by the smart card (i.e. one can move an existing session from one terminal to another)is no longer supported.
 
  
=Hardware=
+
=Purpose=
  
The servers concist of 2 HP servers with 64GB RAM and 12 cores. Hardware this client are based on ????????.
+
The purpose of the terminal servers is to provide a standard linux desktop which also gives easy access to the linux grid facilities at DTU Compute. The servers are running a standard Debian 12. Access is software client using thinlinc client [http://www.cendio.com].The interface is based on the light weight XFCE.
  
=Requirements=
+
The servers can also be used as directly via ssh clients.
  
To use the terminal:
+
Note: Servers can only be access from DTU network or using VPN. If accessing from outside DTU, both password and ssh key is required.
  
* The login shell should be '''/bin/bash''' (most users has this a login shell).
+
=Hardware=
* The LANGvariable should be set in ~/.bashrc by adding '''*one*''' of the following linies:<br /> export LANG=en_US.utf8<br /> or<br /> export LANG=en_US<br /> Remove the following lines from your ~/.emacs if you set LANG=en_US.utf8:<br />  (set-terminal-coding-system 'iso-latin-1)<br />  (set-language-environment "Latin-1")<br />    (set-keyboard-coding-system 'iso-latin-1)<u><br /></u><u>Reason</u>: SUN, hms1 &amp;linuxgrid has en_US (i.e. a ISO based encoding)as default while linuxterm is having en_US.utf8 as default. By changing to a UTF8 based encoding all text file with special characters such as "æ", "ø" &amp; "å" needs to be updated. This can for latex files be a significant challenge.
+
 
+
=Mini FAQ=
+
 
+
* ''How do Iconnect using a SW client?''<br /> See [[Linux Terminal Server | this page]].
+
* ''How do Ichange the keyboard to a US layout on my thin client?''<br /> Send an email to [mailto:itsupport@imm.dtu.dk itsupport@imm.dtu.dk] with the number of your client
+
* ''How do I add Matlab to the main task bar?''<br /> On top on the "''File Manager''" icon (2nd from left) click the right mouse button and choose "''Application Launch Bar Settings''". Follow the menu system from there.
+
* ''The screen is black and it says something about SquashFS errors?''<br /> Turn off and on the hardware. This error occurs if the hardware have lost connection to the server.
+
* ''Can I use the terminal as client for the winterm server?''<br /> Yes, you can switch between Linux and Windows by pressing CTRL-ALT-F3 for Windows and CTRL-ALT-F4 for Linux.
+
* ''How do I get black text on white background in the terminals?'' On a terminal, go to Edit -> Preferences and change the colours there.
+
* ''How do I enable autoraise?'' Edit the file '''~/.config/openbox/lxde-rc.xml''' and make sure that '''<followMouse>''' and '''<raiseOnFocus>''' are '''yes'''.
+
 
+
=Connecting=
+
 
+
You can either use the web version which requires Java installed or installing a client on your computer.
+
 
+
==Web version for Linux and Windows users==
+
 
+
The web version is available from
+
 
+
[https://linuxterm.imm.dtu.dk/ https://linuxterm.imm.dtu.dk]
+
 
+
When asked for username enter the one you would use if you were logging into a Sun terminal or Linux server.
+
 
+
The vendor hasn't yet made an OSX 10.7 version.
+
 
+
==Improve responsiveness==
+
 
+
Based on which Internet connection you connect from you can alter the responsiveness e.g. when moving windows.
+
 
+
Then the nxclient have been started click"Configure...". Here you can choose between
+
 
+
Modem, ISDN, ADSL, WAN, LAN.
+
 
+
If you conenct from within DTU without using wireless then LAN is a good starting point.
+
 
+
If you conenct from within home without using wireless then ADSL is a good starting point.
+
 
+
If you conenct from wireless connection then ISDN is a good starting point.
+
 
+
The setting changes the image compression, where the most compression is done with Modem, and is therefore gives the best response time, and LAN does almost no compression but requires more bandwidth.
+
 
+
==Linux client==
+
 
+
Download and install the one that fits your version of Linux distribution from https://linuxterm.imm.dtu.dk/clients/ .
+
 
+
When installed, start the client by entering
+
 
+
nxclient
+
 
+
and then exit it again and enter as your normal user
+
 
+
cd ~/.nx/config
+
wget --user=$(whoami) --ask-password https://linuxterm.imm.dtu.dk/clients/config/linuxterm.nxs
+
 
+
and enter DTU Compute passphrase.
+
 
+
When the client is started again linuxterm should be pre-selected in the "Session" box.
+
 
+
Now you are ready to connect.
+
 
+
==OSX client==
+
You start by downloading Opennx from the Internet:Go to [http://opennx.net/ opennx.net], and [http://sourceforge.net/projects/opennx/files/opennx/CI/OpenNX-0.16.0.672.dmg/download download the Mac-Client].
+
 
+
After having installed this, you also need to download the key from [https://linuxterm.imm.dtu.dk/clients/config/linuxterm.nxs https://linuxterm.imm.dtu.dk/clients/config/linuxterm.nxs]
+
 
+
Move the downloaded file into the OpenNX-folder, authenticate, and click to get started.
+
  
[[Image:441-Guide clean 5.jpeg| 500x300px |Guide clean 5.jpeg]]
+
The servers consist of 2 HP servers with 56GB RAM and 24 cores each.
  
Click to start:'''PLEASENOTE: you have to login with your IMM-Unix ID/PW !!'''
+
=Connecting using a software client=
  
[[Image:442-Guide%20clean%206.jpeg| 500x300px |Guide clean 6.jpeg]]
+
You can either connect using the software client '''thinlinc''' freely available from http://www.cendio.com or '''x2go'''. The name of the server is '''thinlinc.compute.dtu.dk'''. Backup server is '''thinlinc2.compute.dtu.dk'''.
  
and you are good to go :-)
+
Windows/Mac users of x2go should use the ''fullfonts'' version.
  
==Windows client==
+
Ubuntu users of x2go can install it by
  
* Download and install the NX Client for Windows: https://linuxterm.imm.dtu.dk/clients/windows/nxclient-3.5.0-7.exe
+
<pre>
* Installation is straightforward: Next - Next - Next - Next - Install - Finish
+
sudo apt-get install x2goclient gsfonts-x11
* Download the configuration file: https://linuxterm.imm.dtu.dk/clients/config/linuxterm.nxs
+
echo "export LANG=en_US.utf8" >> ~/.bashrc
* Start "NX Client for Windows" and click "Cancel" -this will create the config folder
+
source ~/.bashrc
* Copy/move the config file linuxterm.nxs to: %userprofile%\.nx\config
+
</pre>
* Either use "Run..." and paste the path or paste it in a file explorer.
+
* Run "NX Client for Windows" and connect using your IMM Unix login and password.
+
  
NB: it's possible to configure the "linuxterm" session settings - Use the Configure button before connecting (i.e. change desktop settings under the General tab)
+
<code>en_GB.utf8</code> can also be used.
  
 
[[Category:IT]]
 
[[Category:IT]]

Latest revision as of 19:21, 18 October 2023

This guide is for users at DTU Compute only
New ssh keys from October 18, 2023
   thinlinc.compute.dtu.dk: 
     ED25519: SHA256:mVRRmBzCgfCpWjAmUr+j+kOKbeOZUdI0jnhl+xuf2Kw
     ECDSA:   SHA256:54mXNAZBQsTWKVGrYX5HxzvQjyFrxClRezGjTW1wRII
     RSA:     SHA256:Awuf/O5NsCzNQ/kv5utyaHo74Q7E3AyO5BoKmCSSek8

   thinlinc2.compute.dtu.dk:
     ED25519: SHA256:oBcDc8/R8WSsAw7hm/Ik00wBoisINOP5AHI0fBSYhEQ
     ECDSA:   SHA256:boHFFTAkSjyAHLeWNBkFIsOx14md0EnxQY0+SxA12CM
     RSA:     SHA256:IdOGT3PbXHihVEJTt8H9tOsBIM7/HMtYSs0iwFAa+qE


Purpose

The purpose of the terminal servers is to provide a standard linux desktop which also gives easy access to the linux grid facilities at DTU Compute. The servers are running a standard Debian 12. Access is software client using thinlinc client [1].The interface is based on the light weight XFCE.

The servers can also be used as directly via ssh clients.

Note: Servers can only be access from DTU network or using VPN. If accessing from outside DTU, both password and ssh key is required.

Hardware

The servers consist of 2 HP servers with 56GB RAM and 24 cores each.

Connecting using a software client

You can either connect using the software client thinlinc freely available from http://www.cendio.com or x2go. The name of the server is thinlinc.compute.dtu.dk. Backup server is thinlinc2.compute.dtu.dk.

Windows/Mac users of x2go should use the fullfonts version.

Ubuntu users of x2go can install it by

sudo apt-get install x2goclient gsfonts-x11
echo "export LANG=en_US.utf8" >> ~/.bashrc
source ~/.bashrc

en_GB.utf8 can also be used.