Personal tools
You are here: Home Support and Documentation Administrator's Guide 7.4.  Client configuration
Document Actions

7.4.  Client configuration

7.4.  Client configuration

To configure the ThinLinc client you press the button labeled "Options..." in the client window. That brings up the client options window. This window contains several pages of settings, ordered in tab sets. The following sections will describe each of these pages and all individual settings.

When a user press the OK button all the current settings in the options window is saved. For more information about the config file format, see Section 7.8, “ Client configuration storage ”.

7.4.1.  Options tab

The Options tab contains general options for the ThinLinc session. This includes settings for which program to execute in the session, shadowing another users session, reassignment of session pop-up key and how reconnections are handled.

Figure 7.3.  Client settings Options tab

Client settings Options tab

Description of options tab settings

Here follows detailed description of the settings available in the options tab.

Start a Program

If enabled, the client requests that the server should start the session with the command supplied by the client. Otherwise, the session command is determined by the server configuration.

Enable shadowing

When enabled, client shadowing will be enabled in the client. An extra text field will be present in the client main window. This field is used to enter the user name of the user whose session you want to shadow.

Session pop-up activation key

During a ThinLinc session you can press a specific key to bring up the session control pop-up window. This window can for example be used to toggle to and from full screen mode and to disconnect the session. The default key for this is F8, but by pressing the "Set" button followed by a new key the setting will change to that key instead.

Reconnect policy

When the client connects to a ThinLinc server, there might already be multiple sessions running on it. Some of these sessions might be connected to another client, and some might be disconnected. The client can be configured to automatically handle some of these cases, or always ask the user what to do.

Note

Sessions that have been started with a command different from the one currently used will be ignored.

Automatically reconnect to a disconnected session
  1. If there is no disconnected session and additional sessions are allowed, a new session is created.

  2. If there is a single disconnected session then that will be used.

  3. If server allows only one session, reconnect to existing session.

  4. Otherwise, ask how to proceed.

Always ask how multiple sessions should be handled
  1. If there is no running session, then create a new one.

  2. If server allows only one session, reconnect to existing session.

  3. Otherwise, ask how to proceed.

7.4.2.  Local Devices tab

The Local Devices tab contains options for which local devices should be exported to the server and in what manner.

Figure 7.4.  Client settings Local Devices tab

Client settings Local Devices tab

Description of local devices tab settings

Here follows detailed description of the settings available in the local devices tab.

Export - Sound Device

When enabled, sound will be sent from the ThinLinc server to your local client. A small local sound daemon will be started by the client, which connects to a secure tunnel to the server. See Section 12.3, “ Using Sound Device Redirection ” for more information about this topic.

Figure 7.5.  Sound system selection interface

Sound system selection interface

On Linux there is a "Details..." button next to the Sound check box that will allow you to choose between ALSA and OSS for the local sound system. You can also let the ThinLinc client select the correct system automatically.

Export - Serial Ports

It is possible to forward two serial ports from the client to make it available to programs you run on the server. To select which of your local serial devices to export you can press the "Details..." button next to the Serial Port check box. This will bring up a dialog where you can select which two serial ports should be exported.

Figure 7.6.  Serial port selection interface

Serial port selection interface

The Device should be a path to a UNIX serial device (such as /dev/ttyS0) or a Windows COM port name (such as COM1). Enter the device to export in the text field or press the "... " button to browse to the wanted device.

Export - Drives

This check box turns on export of local devices from your terminal top the ThinLinc server. This makes your local drives available from your ThinLinc session. To select which drives to export you press the "Details..." button next to Drives check box. That presents a dialog where you can build a list of drives to export and set export permissions.

Figure 7.7.  Local drive export selection interface

Local drive export selection interface

The Export Local Drives window consists of two parts. At the top there is a list containing exported paths, with two control buttons below. The lower half contains settings fields for the currently selected path. When you select a path listed in the upper list you will see its corresponding settings in the Drive Options field below. You can then change the selected path by changing the values on the options field.

To add a new path to the list you press the Add button. That creates a new empty land in the path list. The new path will be automatically selected. you can then modify the settings in the lower half. Set the path and export permission for the new export. To set the export path you can either write it manually in the path text field or press the "..." button to bring up a file navigation window.

To remove a path you simply select a path and press the Remove button.

The export permissions can be one of the following three options, Not Exported, Read Only and Read-Write. The Not Exported option can be used to temporarily turn off an export without having to delete it. The Read Only option means that you from the ThinLinc session will be able to read from the export, but not write. The Read-Write option means that you from the ThinLinc session will be able to both read and write.

Export - Printer

By checking this check box the client will export your local printer to make it available from the ThinLinc session. For more information about this feature, see Section 7.3.4, “ Printer (Windows and UNIX only) ” and Section 5.3, “ Local printer support ”.

Figure 7.8.  Printer options dialog

Printer options dialog

On Windows there is a "Details..." button next to the Printer check box that will allow you to select if the print job should be sent to the default printer or if the printer selection dialog should be used on every print.

Export - Smart Card Readers

This check box makes all local smart card readers and smart cards available to applications on the ThinLinc server. It is not necessary to check this box to authenticate using smart cards, but it is needed if you also wish to authenticate using smart cards to a Windows Terminal Services server.

7.4.3.  Screen tab

The "Screen" tab contains options regarding the session screen. This includes wanted screen size and full screen mode.

Figure 7.9.  Client settings Screen tab

Client settings Screen tab

Description of screen tab settings

Here follows detailed description of the settings available in the screen tab.

Size of session

In this box of radio buttons you can select the screen size you want for your ThinLinc session. The first five options are static with five very common screen sizes (640*480, 800*600, 1024*768, 1280*1024 and 1600*1200).

The option Current screen size makes the ThinLinc session just as large as your current screen size. This is a good choice if you plan to use full screen mode. On Windows systems or other systems with a tool bar that uses a part of the screen area this means that the resulting session will be larger than the useable area if you don't use full screen mode.

The option Near current screen size calculates a session screen size of almost your full screen size. On Windows systems it includes the tool bar size in the calculation, making the resulting screen size fit in the useable area. This is ideal when not using full screen mode.

The final possible size option is to manually enter the wanted width and height. The two text boxes close to the last radio button is supposed to contain the width and the height of the wanted session as numbers. These numbers must be larger than 128 and not larger than 16384.

Full screen mode

This option enables full screen mode during sessions. That means that the ThinLinc session will cover all of the screen area. If the session is smaller than your screen resolution, there will be black borders around your session which will be centered on the screen. If you run in full screen mode and want to reach the native session that is hidden by the ThinLinc session you can switch out from full screen mode. To do this you press the key assigned to bring up the session pop-up menu. Normally this menu is bound to the F8 key, but can be manually changed. See the Session pop-up activation key setting on the Options tab above for more information on this. In the session menu you should select Full screen to toggle full screen mode.

7.4.4.  Optimization tab

The "Optimization" tab contains various settings that affects the protocols used to transfer the graphic information. This includes algorithm used for the graphic encoding. The best choices may differ from case to case. Factors that affects the algorithm choices can for example be network bandwidth, network latency, and client computer performance.

The default setting is to use the Auto select mode, to automatically select the best suited algorithms.

Figure 7.10.  Client settings Optimization tab

Client settings Optimization tab

Description of optimization tab settings

Here follows detailed description of the settings available in the optimization tab.

Auto select

This option makes the ThinLinc system try to automatically select the best suited encoding algorithm. The network performance is measured during the life of the connection and the encoding options are adjusted based on the results. This means that the encoding options can be changed automatically during the connection, if the network performance changes. Activating this option will "gray out" the Preferred encoding and Color level options, to show that they aren't manually controlled.

Preferred encoding

This block of settings affects the VNC protocol encoding. There are several different ways to compress and encode the graphic data that is sent from the server to your client. In this box you select one of four possible encodings. The methods differ much: Some try to use smart algorithms to select and compress the areas to send, which means slightly higher CPU usage, but most likely less bandwidth usage and faster sessions where the bandwidth is limited. Other methods use less CPU capacity but more network bandwidth. The best choice can vary much depending on place and situation. A safe choice is to let the system automatically select the best encoding by checking the Auto select checkbox above.

Encoding: Tight

This choice selects the Tight encoding method. With this encoding the zlib compression library is used to compress the pixel data. It pre-processes the data to maximize compression ratios, and to minimize CPU usage on compression. Also, JPEG compression may be used to encode color-rich screen areas. The zlib compression level and the JPEG compression ratio can be manually changed. See Custom compression level and Allow JPEG compression below. Tight encoding is usually the best choice for low-bandwidth network environments (e.g. slow modem connections).

Encoding: ZRLE

This choice selects the ZRLE encoding method.

Encoding: Hextile

This choice selects the Hextile encoding method. With Hextile the screen is divided into rectangles, split up in to tiles of 16x16 pixels and sent in a predetermined order. Hextile encoding is often the best choice for using in high-speed network environments (e.g. Ethernet local-area networks).

Encoding: Raw

This choice selects the Raw encoding method. This is the simplest of the encoding methods. It simply sends all the graphic data of the screen, raw and uncompressed. Since this method use the least processing power among the possible methods this is normally the best choice if the server and client runs on the same machine.

Custom compression level

By selecting this option you choose to override the standard compression level used when compressing data with the Tight encoding. You can manually select the wanted compression level by entering a number between 1 and 9. Level 1 uses a minimum of CPU performance and achieves weak compression ratios, while level 9 offers best compression but is slow in terms of CPU consumption on the server side. Use high levels with very slow network connections, and low levels when working over high-speed network connections. This applies to the Tight encoding only!

Allow JPEG compression

By selecting this option you choose to override the standard JPEG compression quality of color-rich parts of the screen. JPEG is a "lossy" compression method for images that helps the Tight encoding to significantly reduce the size of the image data. The drawback is that the resulting image, depending of selected compression ratio, can be blurred and grainy. You can manually select the wanted image quality by entering a number between 0 and 9. Quality level 0 gives bad image quality but very impressive compression ratios, while level 9 offers very good image quality at lower compression ratios. Note that the Tight encoder uses JPEG to encode only those screen areas that look suitable for lossy compression, so quality level 0 does not always mean unacceptable image quality.

Color level

This block of choices selects the number of colors to be used for the graphic data sent from the server to the client. The setting has four levels, Full, Medium, Low and Very low. The default and normal is to use the Full setting. Selecting a lower number of colors will highly affect the resulting image to the worse, but may also speed up the transfer significantly when using slow network connections.

In this context, Full means the number of colors supported by the clients graphics hardware.

SSH encryption

This choice selects whether or not to use SSH encryption for the data streams used for the ThinLinc session. If SSH encryption is deselected, the graphic data, key strokes and mouse movements will be transported UN-encrypted. This means that the session can be eavesdropped. There still exists situations where this is acceptable, for example if you use your client on a known secure local network. Since the encryption use some CPU performance it can be worth trying without it, in those secure cases. Observe that other tunneled services, like sound, printing, serial ports and local drives still will use SSH encryption. This choice only affects the ThinLinc session, with graphic, keyboard events and mouse movements. The login procedure and its password are always encrypted.

SSH compression

This choice selects whether or not to use SSH compression for all the data sent between ThinLinc server and client. This is normally not used since an extra compression step, above a compressing graphic encoding normally doesn't help making it smaller, only use more CPU performance. There can still be occasions where this is worth trying though. It is possible that this can help speeding up printing or other exports over slow connections.

7.4.5.  Security tab

The "Security" tab controls how the client authenticates against the ThinLinc server. The main interface of the client will be different depending on the choices made here.

Figure 7.11.  Client settings Security tab

Client settings Security tab

Description of security tab settings

Here follows detailed description of the settings available in the security tab.

SSH Port

This option selects the TCP/IP port to use when the client tries to establish an SSH connection with the ThinLinc server. The normal SSH port is 22, which also is the default selection for this option. There can be reasons to use another port on some occasions. If you for example need to use ThinLinc over the Internet, from a location where port 22 is blocked by a firewall. Then you can select a port that is let open. Port 80 which is used for HTTP, the protocol used for transport when surfing the WWW is one port that often is open. To be able to use a port other than 22 you need to make sure that the SSH daemon (sshd), which runs on the ThinLinc server, listens to the port you want to use. The SSH daemon can be told to listen to any wanted ports. In the client interface you can select between the default port 22, port 80 and an arbitrary port number which you can enter by yourself.

Note about host key updates

If the hostkey on the server changes, e.g. due to an upgrade of the OS or ssh server software, the client will note this fact. It will then, at the next login, open a dialog and let the user confirm that the new hostkey is valid. If the user clicks OK , then the hostkey on the client for this particular server is updated on disk.

The administrator can disallow this by manually setting the parameter ALLOW_HOSTKEY_UPDATE to 0. See Section 7.8, “ Client configuration storage ” for more information.

Password

This option makes the client try to authenticate using a regular password.

Public key

This option makes the client try to authenticate using public key encryption. The user will be asked to provide a private encryption key instead of a text password.

Smart card public key

This option makes the client try to authenticate using public key encryption, but with the private key securely stored on a smart card. The user will be asked to select a certificate on the smart card and to provide the passphrase for it.

Note

Smart card authentication requires that the smart card is readable by your PKCS#11 library. The library included by default supports PKCS#15 compliant smart cards and relies on the PC/SC interface. This is always present on Windows systems and is usually installed by default on Linux systems. On Solaris this is a third-party add-on.

Automatically connect when smart card is inserted

Select this option to have the client automatically attempt a connection when a smart card with a suitable certificate is inserted. As the user name is commonly not availble on the smart card, the client will authenticate using the subject of the smart card's certificate. The "Details..." button lets you control which certificates will trigger the automatic connection.

Figure 7.12.  Smart card certificate selection interface

Smart card certificate selection interface

The "Smart card certificate selection" window lets you control which certificates will trigger the automatic connection. The certificate must have all the key usage bits selected in this window. Having more bits than those selected does not exclude a certificate.

Note

If multiple certificates match, the first one found will be the one used.

Note

A certificate without a key usage extension is treated as if it has all the key usage bits set.

Disconnect when smart card is removed

Enabling this options makes the client automatically disconnect when the smart card used to authenticate is removed.

Send smart card passphrase (PIN) to server

This option makes the client transmit the smart card passphrase, as entered by the user, over to the ThinLinc server. It is required to enable smart card single sign-on.

Warning

Enabling this option reduces the security of the smart card as the passphrase would otherwise never leave the client system. The option should be left disabled if smart card single sign-on is not used.