[Thinlinc-technical] sessions are immediately shut down on freshly installed thinlinc server

Thomas Preu preu at fs.tum.de
Fri Dec 27 22:39:44 CET 2019


Hello

I was trying to get thinlinc up and running for a home server project. I 
downloaded the thinlin server bundle (Version 4.11.0 (build 6323)) and 
installed it, which worked fine. When trying to connect via a client (web based 
or stand alone) the session opened up but closed immediately after login.

According to B.2.2.1 of https://www.cendio.com/resources/docs/tag/apbs02.html I 
inspected the log file var/opt/thinlinc/sessions/<username>/last/xinit.log . 
Here is the final part:



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 
gnome-session --session=ubuntu
Profile command exited with exit code 0
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...
X I/O error
tl-while-x11: lost Xserver connection, terminating child 4712 ...
tl-while-x11: lost Xserver connection, terminating child 4717 ...

Fri Dec 27 18:39:46 2019
  Connections: closed: 127.0.0.1::41164 (Server shutdown)
  EncodeManager: Framebuffer updates: 46
  EncodeManager:   Tight:
  EncodeManager:     Solid: 44 rects, 2.5103 Mpixels
  EncodeManager:            704 B (1:14263.8 ratio)
  EncodeManager:     Bitmap RLE: 2 rects, 3.602 kpixels
  EncodeManager:                 82 B (1:176 ratio)
  EncodeManager:     Indexed RLE: 34 rects, 53.148 kpixels
  EncodeManager:                  10.2686 KiB (1:20.2568 ratio)
  EncodeManager:   Tight (JPEG):
  EncodeManager:     Full Colour: 37 rects, 274.746 kpixels
  EncodeManager:                  246.31 KiB (1:4.35899 ratio)
  EncodeManager:   Total: 117 rects, 2.84179 Mpixels
  EncodeManager:          257.346 KiB (1:43.1409 ratio)
  ComparingUpdateTracker: 1.63812 Mpixels in / 1.62202 Mpixels out
  ComparingUpdateTracker: (1:1.00992 ratio)
tl-xinit: X server has terminated
tl-xinit: deleting ../10.1577457021.ended
tl-xinit: Session terminated. Exiting.



I also checked related log files. /var/log/vsmserver.log sometimes contains 
lines like, but not for every try to log on:

2019-12-27 18:39:37 WARNING vsmserver.session: Failed to get client ip for the 
session



Other log files (/var/log/vsmagent.log, /var/log/tlwebadm.log, 
/var/log/tlwebaccess.log, /var/log/auth.log) did not seem to include relevant 
messages.



When I tried to install thinlinc on another machine I got the same behavior and 
similar but slightly different messages in 
var/opt/thinlinc/sessions/<username>/last/xinit.log

Stopping initial window manager...
Done.
Executing profile: ubuntu
Using XDG session: ubuntu
Updating D-Bus and systemd environment...
Executing XDG session command: init --user
init: unrecognized option '--user'
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...
X I/O error
tl-while-x11: lost Xserver connection, terminating child 5201 ...
tl-while-x11: lost Xserver connection, terminating child 5206 ...

Fri Dec 27 18:06:36 2019
  Connections: closed: 127.0.0.1::63722 (Server shutdown)
  EncodeManager: Framebuffer updates: 82
  EncodeManager:   Tight:
  EncodeManager:     Solid: 80 rects, 2.87616 Mpixels
  EncodeManager:            1.25 KiB (1:8988.74 ratio)
  EncodeManager:     Bitmap RLE: 9 rects, 14.635 kpixels
  EncodeManager:                 343 B (1:170.985 ratio)
  EncodeManager:     Indexed RLE: 52 rects, 71.398 kpixels
  EncodeManager:                  13.3672 KiB (1:20.91 ratio)
  EncodeManager:   Tight (JPEG):
  EncodeManager:     Full Colour: 107 rects, 748.571 kpixels
  EncodeManager:                  583.801 KiB (1:5.01089 ratio)
  EncodeManager:   Total: 248 rects, 3.71076 Mpixels
  EncodeManager:          598.753 KiB (1:24.2138 ratio)
  ComparingUpdateTracker: 2.28887 Mpixels in / 2.22258 Mpixels out
  ComparingUpdateTracker: (1:1.02983 ratio)
tl-xinit: X server has terminated
tl-xinit: deleting ../10.1577464927.ended
tl-xinit: Session terminated. Exiting.



For this second machine I found the following posts on the web, which seem to 
be related, but I could not make enough out of it to resolve the issue: 
https://www.cendio.com/bugzilla/show_bug.cgi?id=5512

Season greetings and all the best

Thomas Preu

-- 
    , _ ,
   ( o o )    Thomas Preu <preu at fs.tum.de>
  /'` ' `'\
  |'''''''|
  |\\'''//|
     " "


More information about the Thinlinc-technical mailing list