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

Carsten Rose carsten.rose at math.uzh.ch
Sat Jan 4 12:05:11 CET 2020


Daer Thomas

Which Linux distro do you use as thinlinc server, 'Ubuntu' (as the login 
process suggests)? Which version?

When you log in remote via tlclient, are you already running a GUI 
session on thinlinc server console at the same time? This might cause 
trouble.

Typically your provided xinit.log shows the problem - but not in your case.

 > ....
 > Executing XDG session command: env GNOME_SHELL_SESSION_MODE=ubuntu
 > gnome-session --session=ubuntu
 > Profile command exited with exit code 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This shows your session ended 'regular'.

Maybe you like to try cinnamon or mate (apt install cinnamon). Check if 
you have the some problems there.

CU
Carsten




On 27.12.19 22:39, Thomas Preu wrote:
> 
> 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
> 


-- 
Carsten Rose
IT Koordinator / Institut für Mathematik

*****
Universität Zürich
Carsten Rose
Institut für Mathematik, Y27-J40
Winterthurerstrasse 190
CH-8057 Zürich

+41 44 635 58 47 Telefon
+41 44 635 57 05 Telefax

www.math.uzh.ch
carsten.rose at math.uzh.ch

"There are 10 kinds of people in the world, those
that understand binary .. and those that don't"


More information about the Thinlinc-technical mailing list