Sometimes you don’t need to run a complete desktop in your ThinLinc session, it is possible to run only a single application instead.
This tutorial assumes that the Thinlinc server and client are installed and configured. To be able to run an application with Thinlinc, the application needs to be installed on the same machine as the ThinLinc server.
Configuration using a terminal
1. Go to the following catalogue on the ThinLinc server machine:
/opt/thinlinc/etc/conf.d
2. Edit profiles.hconf, for example by using Vi.
sudo vi profiles.hconf
3. Add a new profile. This example shows running only Mozilla Firefox in a ThinLinc session:
[/profiles/firefox] name=single app test description=demonstrating publishing single app cmdline=${TLPREFIX}/bin/tl-single-app firefox testcmd=type firefox
Read more about tl-single-app: https://www.cendio.com/resources/docs/tag/commands.html
4. After adding the new profile, you need to append it to the order-parameter:
order=firefox
5. Save and quit.
6. Now you should be able to see your new profile when you log in to ThinLinc.
Configuration using ThinLinc Web Administration
1. Go to your ThinLinc Web Administration page.
2. Chose Profiles:
3. Click on “Add new profile”:
4. Fill in requested informations about your profile. This example shows running only LibreOffice Writer in a ThinLinc session.
5. Now you should be able to see your new profile when you log in to ThinLinc.
Read more here.
Configuration using ThinLinc Client Options
You can also use the ThinLinc Client Options. All you need to do is the following:
1. Open your ThinLinc client and go to options.
2. Check “Start the following program”.
3. Write the command for the application. The following example uses Mozilla Firefox.