ThinLinc Session closes after pressing 'green' Start button

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…

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?

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. :slight_smile:

1 Like