# ThinLinc Session closes after pressing 'green' Start button

**URL:** <https://community.thinlinc.com/t/thinlinc-session-closes-after-pressing-green-start-button/1781>\
**Category:** Community Support\
**Tags:** thinlinc\
**Created:** [24 October 2025 18:01 UTC](https://community.thinlinc.com/t/thinlinc-session-closes-after-pressing-green-start-button/1781 "2025-10-24T18:01:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kbronk](https://avatars.discourse-cdn.com/v4/letter/k/439d5e/32.png) [@kbronk](https://community.thinlinc.com/u/kbronk)\
**Post date:** [24 October 2025 18:01 UTC](https://community.thinlinc.com/t/thinlinc-session-closes-after-pressing-green-start-button/1781/1 "2025-10-24T18:01:18Z")

</div>

Session closes immediately.

ThinLinc Client (4.19) installed on MacOS Tahoe

Server (tl-4.19) on Ubuntu 24.04

Log:

> Running /opt/thinlinc/etc/xstartup.d/11-tl-set-title (Setting client window title)
> 
> Running /opt/thinlinc/etc/xstartup.d/12-tl-default-keyboard (Configuring default keyboard layout)
> 
> Setting default keyboard layout to “us”
> 
> The XKEYBOARD keymap compiler (xkbcomp) reports:
> 
> \> Warning: Unsupported high keycode 372 for name ignored
> 
> \> X11 cannot support keycodes above 255.
> 
> \> This warning only shows for the first high keycode.
> 
> Errors from xkbcomp are not fatal to the X server
> 
> Running /opt/thinlinc/etc/xstartup.d/15-tl-shadow-notify (Enabling notifications when the session is shadowed)
> 
> Running /opt/thinlinc/etc/xstartup.d/20-tl-select-profile.sh (Choosing a profile)
> 
> Running /opt/thinlinc/etc/xstartup.d/30-tl-xdg-user-dirs (Translating standard folders)
> 
> Running /opt/thinlinc/etc/xstartup.d/40-tl-mount-localdrives (Mounting local drives)
> 
> Running /opt/thinlinc/etc/xstartup.d/41-tl-lp-redir-launch (Setting up printer port redirection)
> 
> Running /opt/thinlinc/etc/xstartup.d/43-tl-pulseaudio-launch.sh (Starting session PulseAudio server)
> 
> W: [pulseaudio] main.c: Couldn’t canonicalize binary path, cannot self execute.
> 
> Session PulseAudio server started. Redirecting applications…
> 
> Running /opt/thinlinc/etc/xstartup.d/50-tl-wait-smartcard (Waiting for smart card connection)
> 
> Stopping initial window manager…
> 
> Done.
> 
> Executing profile: ubuntu
> 
> Using XDG session: ubuntu
> 
> Updating D-Bus and systemd environment…
> 
> Executing XDG session command: env GNOME\_SHELL\_SESSION\_MODE=ubuntu /usr/bin/gnome-session --session=ubuntu
> 
> Profile command exited with exit code 1
> 
> Running /opt/thinlinc/etc/xlogout.d/tl-kdestroy.sh
> 
> Running /opt/thinlinc/etc/xlogout.d/tl-umount-localdrives
> 
> tl-xinit: client terminated and returned 0
> 
> tl-xinit: Terminating X server…
> 
> tl-while-x11: lost Xserver connection, terminating child 10037 …
> 
> X I/O error
> 
> tl-while-x11: lost Xserver connection, terminating child 10047 …
> 
> Fri Oct 24 19:19:21 2025
> 
> VNCSConnST: Closing 127.0.0.1::44750: Server shutdown
> 
> EncodeManager: Framebuffer updates: 186
> 
> EncodeManager: Tight:
> 
> EncodeManager: Solid: 101 rects, 1.26187 Mpixels
> 
> EncodeManager: 1.57812 KiB (1:3124.19 ratio)
> 
> EncodeManager: Bitmap RLE: 42 rects, 9.123 kpixels
> 
> EncodeManager: 1.24609 KiB (1:28.9937 ratio)
> 
> EncodeManager: Indexed RLE: 184 rects, 131.944 kpixels
> 
> EncodeManager: 46.5986 KiB (1:11.1068 ratio)
> 
> EncodeManager: Tight (JPEG):
> 
> EncodeManager: Full Colour: 176 rects, 575.663 kpixels
> 
> EncodeManager: 488.033 KiB (1:4.61187 ratio)
> 
> EncodeManager: Total: 503 rects, 1.9786 Mpixels
> 
> EncodeManager: 537.456 KiB (1:14.3915 ratio)
> 
> tl-xinit: Xserver terminated and returned 0
> 
> tl-xinit: deleting ../10.1761326298.ended
> 
> tl-xinit: Session terminated. Exiting.

I tried different approaches found on the forum with no luck. I’ve seen empty welcome screen once and then after a few minutes ubuntu screen finally loaded but next time again session closed immediately.

I have quite high-end equipment (server and client) and 1Gbps LAN connection.

I do not know how to solve it…

---

<div class="post-metadata">

**Author:** ![aaron](https://dub1.discourse-cdn.com/flex005/user_avatar/community.thinlinc.com/aaron/32/13_2.png) [@aaron](https://community.thinlinc.com/u/aaron)\
**Post date:** [27 October 2025 07:34 UTC](https://community.thinlinc.com/t/thinlinc-session-closes-after-pressing-green-start-button/1781/2 "2025-10-27T07:34:01Z")

</div>

Hi @kbronk,

Welcome to the forum!

It looks like the session startup ends very early on, but it’s not obvious why. You might find more info in the session log file at `/var/opt/thinlinc/sessions/<username>/last/xinit.log` after such a failed session. Is there anything obvious there which might explain what’s going on?

---

<div class="post-metadata">

**Author:** ![kbronk](https://avatars.discourse-cdn.com/v4/letter/k/439d5e/32.png) [@kbronk](https://community.thinlinc.com/u/kbronk)\
**Post date:** [27 October 2025 07:59 UTC](https://community.thinlinc.com/t/thinlinc-session-closes-after-pressing-green-start-button/1781/3 "2025-10-27T07:59:42Z")

</div>

Yes, I managed to figure it out. I was logged in locally on the ubuntu desktop. After logging out local account the ThinLinc connected beautifully. 🙂
