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: 2023-12-19 13:09 CET (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

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