Bug 8562 - Log message about missing xsetroot on session start
Summary: Log message about missing xsetroot on session start
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Agent (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.19.0
Assignee: Pierre Ossman
URL:
Keywords: adaha_tester, prosaic
Depends on:
Blocks:
 
Reported: 2025-04-01 11:14 CEST by Pierre Ossman
Modified: 2025-04-08 09:27 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:
MUST: * The initial cursor in a ThinLinc session should be no cursor, or a standard one


Attachments

Description Pierre Ossman cendio 2025-04-01 11:14:37 CEST
Starting a new ThinLinc session generally gets you this in the log:

> /opt/thinlinc/libexec/tl-run-xstartup.d: line 27: xsetroot: command not found

It's caused by this line:

> # Set a standard pointer instead of the default X
> xsetroot -cursor_name left_ptr

xsetroot is commonly not installed on modern systems. This line is also somewhat pointless as Xorg hasn't defaulted to the classical X cursor in ages.

We should probably just remove these lines.
Comment 1 Pierre Ossman cendio 2025-04-01 12:31:50 CEST
Confirmed that the default cursor is a blank one, which should be good enough.
Comment 3 Adam Halim cendio 2025-04-08 09:27:24 CEST
Tested server build r41615 (before this fix), and server build 3893 on Fedora 41.

Verified that the log message disappears after this fix. 
> MUST:
>  * The initial cursor in a ThinLinc session should be no cursor, 
>    or a standard one
I could not see any issues with the cursor before the fix, and the behaviour looks identical after the fix.

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