Bug 8270 - Cannot create session if agent's hostname is not resolvable
Summary: Cannot create session if agent's hostname is not resolvable
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VNC (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-12 15:28 CET by Martin Östlund
Modified: 2024-08-13 16:21 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Martin Östlund cendio 2023-12-12 15:28:01 CET
With ThinLinc 4.15.0, it's no longer possible to create a session if the system hostname is not resolvable.

To reproduce:

> $ sudo hostnamectl set-hostname lab-xyz
When trying to connect with ThinLinc client, it reports "No agent server was available"

xinit.log:

> xauth:  file /var/opt/thinlinc/sessions/cendio/10/Xauthority does not exist
> xauth: (argv):1:  bad display name "lab-xyz:10" in "add" command
> tl-xinit: xauth exited with failure code 1

With ThinLinc 4.14.0, the session gets created and works fine. Still, the same messages can be observed in the session log:

> xauth:  file /var/opt/thinlinc/sessions/cendio/10/Xauthority does not exist
> xauth: (argv):1:  bad display name "lab-xyz:10" in "add" command
> xauth:  file /var/opt/thinlinc/sessions/cendio/10/Xauthority does not exist
> tl-xinit: Waiting for Xserver to accept connections...
> Xvnc ThinLinc release 4.14.0 build 2408 - built Jan 26 2022 10:15:02

This could be related to #7810
Comment 2 Martin Östlund cendio 2023-12-12 15:34:21 CET
This was reported in our ThinLinc Community:

https://community.thinlinc.com/t/thinlinc-server-4-15-0-fails-on-opensuse-leap-15-5-version-4-14-0-works-fine/802

Note You need to log in before you can comment on or make changes to this bug.