# How to install ThinLinc Server on Linux Mint

**URL:** <https://community.thinlinc.com/t/how-to-install-thinlinc-server-on-linux-mint/123>\
**Category:** Community Support\
**Tags:** mint, tlserver\
**Created:** [21 February 2021 02:26 UTC](https://community.thinlinc.com/t/how-to-install-thinlinc-server-on-linux-mint/123 "2021-02-21T02:26:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JumboJoe](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@JumboJoe](https://community.thinlinc.com/u/JumboJoe)\
**Post date:** [21 February 2021 02:26 UTC](https://community.thinlinc.com/t/how-to-install-thinlinc-server-on-linux-mint/123/1 "2021-02-21T02:26:08Z")

</div>

I’m trying to install the ThinLinc server software on my Linux Mint laptop but I am getting the following errors:

Error: PyGTK not found.  
PyGTK is required for ThinLinc’s graphical installer.  
To install PyGTK, please run this command:  
sudo apt install python-gtk2  
Would you like to run this command now?  
Alternatively, run this program from a terminal without the  
DISPLAY environment variable set to get the text mode fallback.

I then try to install pygtk and then get this error:

E: Unable to locate package python-gtk2  
Installation failed. Please report this issue to ThinLinc support.  
Visit [Support | ThinLinc by Cendio](https://www.cendio.com/thinlinc/support) for information on how to contact us.  
Press Enter to close this terminal…

If I try to run it from the terminal I still get the same errors. I have spent hours trying to figure this out but have been unsuccessful so far. How do I run the program from the terminal without the display environment variable set or how else can I get this to install?

---

<div class="post-metadata">

**Author:** ![martin](https://dub1.discourse-cdn.com/flex005/user_avatar/community.thinlinc.com/martin/32/41_2.png) [@martin](https://community.thinlinc.com/u/martin)\
**Post date:** [22 February 2021 08:34 UTC](https://community.thinlinc.com/t/how-to-install-thinlinc-server-on-linux-mint/123/2 "2021-02-22T08:34:07Z")

</div>

Hello @JumboJoe

Yes we’re aware of this problem with Linux Mint (Ubuntu) and PyGTK,  
see [Ubuntu® and Debian® | ThinLinc by Cendio](https://www.cendio.com/thinlinc/docs/platforms/ubuntu). " No profile chooser on Ubuntu 20.04"

There’s also a link[1] to our bugzilla from the Platform Specific Notes there with some additional info and suggestion on how one might get it to work with thirdparty ppa.

Best Regards,  
Martin  
[1] [7508 – No PyGTK on Ubuntu 20.04](https://www.cendio.com/bugzilla/show_bug.cgi?id=7508)

---

<div class="post-metadata">

**Author:** ![JumboJoe](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@JumboJoe](https://community.thinlinc.com/u/JumboJoe)\
**Post date:** [22 February 2021 15:15 UTC](https://community.thinlinc.com/t/how-to-install-thinlinc-server-on-linux-mint/123/3 "2021-02-22T15:15:24Z")

</div>

Thanks for responding, I managed to get thinlinc to install with some help from someone on a linux mint forum.

I still can’t get it to work though, now it gets to the point where I type my password to login, everything appears to be working but then thinlinc just closes/crashes without any errors

---

<div class="post-metadata">

**Author:** ![martin](https://dub1.discourse-cdn.com/flex005/user_avatar/community.thinlinc.com/martin/32/41_2.png) [@martin](https://community.thinlinc.com/u/martin)\
**Post date:** [22 February 2021 15:53 UTC](https://community.thinlinc.com/t/how-to-install-thinlinc-server-on-linux-mint/123/4 "2021-02-22T15:53:19Z")

</div>

Hello @JumboJoe

I’d recommend that you investigate this further in available logfiles,  
[https://www.cendio.com/resources/docs/tag/troubleshoot.html](https://www.cendio.com/resources/docs/tag/troubleshoot.html)

I’d suggest /var/opt/thinlinc/sessions/your\_username/last/xinit.log  
and also on your client log  
[https://www.cendio.com/resources/docs/tag/client\_logfile\_placement.html](https://www.cendio.com/resources/docs/tag/client_logfile_placement.html)

Best Regards,  
Martin

---

<div class="post-metadata">

**Author:** ![pewo](https://dub1.discourse-cdn.com/flex005/user_avatar/community.thinlinc.com/pewo/32/46_2.png) [@pewo](https://community.thinlinc.com/u/pewo)\
**Post date:** [23 February 2021 23:04 UTC](https://community.thinlinc.com/t/how-to-install-thinlinc-server-on-linux-mint/123/5 "2021-02-23T23:04:06Z")

</div>

You could try my ansible playbook, that prepares some operating systems to be able to install ThinLinc Server.  
If you can’t use ansible, you can look in the files:

- vars/main.yml
- tasks/pre\_debian\_ulyssa.yml  
which extra packages needs to be installed.

> **[pewo/ansible-role-thinlinc-server-prereq](https://github.com/pewo/ansible-role-thinlinc-server-prereq)**
>
> Prepare servers to be able to install ThinLinc using https://github.com/cendio/ansible-role-thinlinc-server.

I have tried it on ubuntu-20-10-standard (groovy) container and Linux Mint 20.1 (ulyssa) virtual machine.

Be warned! This playbook installs old pyhton2 packages from an ubuntu repo.
