New Install Ubuntu 20.04 Server. Client fails before 10 seconds

Fresh install of thinlinc server on ubuntu 20.04. Client closes before 10 seconds. Client version 4.15.0.
Worked previously with same client and same server on previous ubuntu 18.04. I will also note that standard ssh through the terminal will connect from the client to the host machine running Ubuntu 20.04

xinit.log and vsmagent logs below:

xinit:

xauth:  file /var/opt/thinlinc/sessions/samuel/10/Xauthority does not exist
tl-xinit: Waiting for Xserver to accept connections...

Xvnc ThinLinc release 4.15.0 build 3358 - built Aug 21 2023 07:22:38
Copyright (C) 1999-2023 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12013000

(II) Initializing extension VNC-EXTENSION

Fri Sep 22 11:06:46 2023
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on local interface(s), port 5910
 vncext:      created VNC server for screen 0
(II) Initializing extension Generic Event Extension
(II) Initializing extension SHAPE
(II) Initializing extension MIT-SHM
(II) Initializing extension XInputExtension
(II) Initializing extension XTEST
(II) Initializing extension BIG-REQUESTS
(II) Initializing extension SYNC
(II) Initializing extension XKEYBOARD
(II) Initializing extension XC-MISC
(II) Initializing extension XFIXES
(II) Initializing extension RENDER
(II) Initializing extension RANDR
(II) Initializing extension COMPOSITE
(II) Initializing extension DAMAGE
(II) Initializing extension MIT-SCREEN-SAVER
(II) Initializing extension DOUBLE-BUFFER
(II) Initializing extension RECORD
(II) Initializing extension DPMS
(II) Initializing extension Present
(II) Initializing extension DRI3
(II) Initializing extension X-Resource
(II) Initializing extension XVideo
(II) Initializing extension XVideo-MotionCompensation
(II) Initializing extension GLX
(II) IGLX: Loaded and initialized swrast
(II) GLX: Initialized DRISWRAST GL provider for screen 0
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported high keycode 372 for name <I372> 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
 Connections: accepted: 127.0.0.1::58384
 VNCSConnST:  closing 127.0.0.1::58384: Clean disconnection
 EncodeManager: Framebuffer updates: 0
 EncodeManager:   Total: 0 rects, 0 pixels
 EncodeManager:          0 B (1:-nan ratio)
 Connections: closed: 127.0.0.1::58384
 ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:-nan ratio)
tl-xinit: Xserver ready for clients.
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
--- System information ---
ThinLinc 4.15.0
Linux wakehealth 5.15.0-79-generic #86~20.04.2-Ubuntu SMP Mon Jul 17 23:27:17 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 20.04.6 LTS \n \l

No LSB modules are available.
--- End system information ---
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)

Fri Sep 22 11:06:47 2023
 Connections: accepted: 127.0.0.1::58396
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VncAuth(2)
 VNCSConnST:  Replacing existing connection
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/opt/thinlinc/libexec/tl-run-xstartup-feedback: warning: Unable to initialize GTK+
/opt/thinlinc/libexec/tl-run-xstartup-feedback: warning: Won't present xstartup.d feedback
Running /opt/thinlinc/etc/xstartup.d/01-tl-kinit.sh (Obtaining Kerberos ticket)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
Running /opt/thinlinc/etc/xstartup.d/02-tl-dbus-launch.sh (Starting session D-Bus server)
Existing session D-Bus server found.
Setting initial D-Bus and systemd environment...
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
Running /opt/thinlinc/etc/xstartup.d/03-tl-x11-allow-localuser
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
localuser:samuel being added to access control list
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
Running /opt/thinlinc/etc/xstartup.d/11-tl-set-title (Setting client window title)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
Running /opt/thinlinc/etc/xstartup.d/12-tl-default-keyboard (Configuring default keyboard layout)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
Setting default keyboard layout to "us"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported high keycode 372 for name <I372> 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
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
Running /opt/thinlinc/etc/xstartup.d/15-tl-shadow-notify (Enabling notifications when the session is shadowed)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
Running /opt/thinlinc/etc/xstartup.d/20-tl-select-profile.sh (Choosing a profile)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/opt/thinlinc/libexec/tl-select-profile: warning: Unable initialize GTK+
/opt/thinlinc/libexec/tl-select-profile: warning: Can't show introduction text
/opt/thinlinc/libexec/tl-select-profile: warning: Using first available profile as fallback
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
Running /opt/thinlinc/etc/xstartup.d/30-tl-xdg-user-dirs (Translating standard folders)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
Running /opt/thinlinc/etc/xstartup.d/40-tl-mount-localdrives (Mounting local drives)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
Running /opt/thinlinc/etc/xstartup.d/41-tl-lp-redir-launch (Setting up printer port redirection)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
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...
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
Running /opt/thinlinc/etc/xstartup.d/50-tl-wait-smartcard (Waiting for smart card connection)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
Stopping initial window manager...
Done.
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
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 --systemd --session=ubuntu
/usr/libexec/gnome-session-binary: symbol lookup error: /lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined symbol: ffi_type_uint32, version LIBFFI_BASE_7.0
Profile command exited with exit code 127
Running /opt/thinlinc/etc/xlogout.d/tl-kdestroy.sh
Running /opt/thinlinc/etc/xlogout.d/tl-umount-localdrives
/bin/bash: /home/samuel/Documents/anaconda3/envs/DLC/lib/libtinfo.so.6: no version information available (required by /bin/bash)
tl-xinit: client terminated and returned 0
tl-xinit: Terminating X server...
X I/O error
tl-while-x11: lost Xserver connection, terminating child 31778 ...
tl-while-x11: lost Xserver connection, terminating child 31791 ...

Fri Sep 22 11:06:51 2023
 VNCSConnST:  closing 127.0.0.1::58396: Server shutdown
 EncodeManager: Framebuffer updates: 55
 EncodeManager:   Tight:
 EncodeManager:     Solid: 486 rects, 10.7078 Mpixels
 EncodeManager:            7.59375 KiB (1:5508.86 ratio)
 EncodeManager:     Indexed RLE: 114 rects, 89.969 kpixels
 EncodeManager:                  27.4062 KiB (1:12.8721 ratio)
 EncodeManager:   Tight (JPEG):
 EncodeManager:     Full Colour: 430 rects, 1.78997 Mpixels
 EncodeManager:                  1.34177 MiB (1:5.09262 ratio)
 EncodeManager:   Total: 1.03 krects, 12.5877 Mpixels
 EncodeManager:          1.37595 MiB (1:34.907 ratio)
 ComparingUpdateTracker: 9.39456 Mpixels in / 6.97179 Mpixels out
 ComparingUpdateTracker: (1:1.34751 ratio)
tl-xinit: Xserver terminated and returned 0
tl-xinit: deleting ../10.1695395069.ended
tl-xinit: Session terminated. Exiting.

vsmagent:

2023-09-22 11:46:50 INFO vsmserver.session: User with uid 1002 (samuel) requested a new session
2023-09-22 11:46:50 INFO vsmserver.session: Session 127.0.0.1:10 created for user samuel
2023-09-22 11:47:26 INFO vsmserver.session: Session 127.0.0.1:10 for samuel has terminated. Removing.
2023-09-22 11:47:26 INFO vsmserver.session: User with uid 1002 (samuel) requested a new session
2023-09-22 11:47:26 INFO vsmserver.session: Session 127.0.0.1:10 created for user samuel
2023-09-22 11:47:26 WARNING vsmserver.session: Failed to get client ip for the session
2023-09-22 11:48:06 INFO vsmserver.session: Session 127.0.0.1:10 for samuel has terminated. Removing.

Hello @sc542164 and welcome to the forum!

Thank you for providing the session log, it give some clues that something in this user’s environment is preventing a session from launching properly.

/usr/libexec/gnome-session-binary: symbol lookup error: /lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined symbol: ffi_type_uint32, version LIBFFI_BASE_7.0

Given the above output, and all the log lines related to anaconda3, my take is that this user has anaconda activated in their environment? Anaconda has been known to cause issues before, please consider using the search function in the Community for Anaconda.

Could you try to create a new, clean, user and verify that indeed ThinLinc is working as expected?

Kind regards,

Thanks Martin! Yes, I had a bash command in /etc/profile to add anaconda to the LD_Library Path and once I removed that, Thinlinc worked. I appreciate the help!

1 Like

Great, glad that you managed to resolve it :slight_smile:

Regards,
Martin