# Running a single app using ThinLinc

**URL:** <https://community.thinlinc.com/t/running-a-single-app-using-thinlinc/847>\
**Category:** Knowledge Base\
**Tags:** singleapp\
**Created:** [5 February 2024 14:32 UTC](https://community.thinlinc.com/t/running-a-single-app-using-thinlinc/847 "2024-02-05T14:32:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![frifl](https://avatars.discourse-cdn.com/v4/letter/f/5daacb/32.png) [@frifl](https://community.thinlinc.com/u/frifl)\
**Post date:** [5 February 2024 14:32 UTC](https://community.thinlinc.com/t/running-a-single-app-using-thinlinc/847/1 "2024-02-05T14:32:56Z")

</div>

Sometimes you don't need to run a complete desktop in your ThinLinc session. In that case, you can run a single application instead. This tutorial shows three ways to set up ThinLinc to run just one program instead of an entire desktop.

It is assumed that the ThinLinc server and client are installed and configured before starting this guide. To be able to run an application with ThinLinc, the application needs to be installed on the same machine as the ThinLinc server.

&nbsp;

## 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.&nbsp;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 on its [man-page.](https://www.cendio.com/resources/docs/tag/man/tl-single-app.1.html)

4. After adding the new profile, you need to append it to the order-parameter:

```
order=gnome gnome-classic firefox
```

5.&nbsp;Save and quit.

6. Now you should be able to see your new profile when you log in to ThinLinc.

 ![Profile chooser with the single app profile we created](https://europe1.discourse-cdn.com/flex005/uploads/thinlinc/original/1X/a2e1bf5d00a7b146707f50c51328e70be89eb345.png)

&nbsp;

## Configuration using ThinLinc Web Administration

1.&nbsp;Go to your ThinLinc Web Administration page.

2. Chose Profiles -\> Profile List:

![Menu with profile list](https://europe1.discourse-cdn.com/flex005/uploads/thinlinc/original/1X/ff89434b61c1d5fb647a4d45bb9f0ef6ff692a29.png)

&nbsp;

3.&nbsp;Click on "Add new profile":

 ![Add new profile](https://europe1.discourse-cdn.com/flex005/uploads/thinlinc/original/1X/a718c5a233f7e31f8faec87f3fbb9e1329f6cb0e.png)

&nbsp;

4.&nbsp;Fill in requested information about your profile. This example shows running only LibreOffice Writer in a ThinLinc session.

 ![Screenshot from 2024-02-05 10-58-42](https://europe1.discourse-cdn.com/flex005/uploads/thinlinc/original/1X/95d47afa2cfcfe48d47c85415337d3dc61c0c71a.png)

&nbsp;

5.&nbsp;Now you should be able to see your new profile when you log in to ThinLinc.

Read more about customizing the user's session [here](https://www.cendio.com/resources/docs/tag/config_session.html).

&nbsp;

## 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. Go to Advanced tab.

3. Check “Start the following program”.

4. Write the command for the application. The following example uses Mozilla Firefox.

 ![Screenshot from 2024-02-05 11-01-39](https://europe1.discourse-cdn.com/flex005/uploads/thinlinc/original/1X/8a54343e1acb7fb2a82a8b4c023c96a9c50acf10.png)
