Bug 5166 - Need graceful fallback for distributions not supporting PAM_XDISPLAY
Summary: Need graceful fallback for distributions not supporting PAM_XDISPLAY
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Agent (show other bugs)
Version: 4.2.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.3.0
Assignee: Peter Åstrand
URL:
Keywords: ossman_tester, relnotes
Depends on:
Blocks:
 
Reported: 2014-05-26 16:01 CEST by Peter Åstrand
Modified: 2014-10-08 10:13 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2014-05-26 16:01:30 CEST
On bug 5104, we introduced setting of PAM_XDISPLAY. However, not all distributions support this. For example, on RHEL5 the session fails to start with error:

2014-05-26 14:55:02 WARNING tl-session: pam_set_item(PAM_XDISPLAY) failed: 29 (Bad item passed to pam_*_item())

A return of PAM_BAD_ITEM should not be critical.
Comment 1 Peter Åstrand cendio 2014-05-26 16:05:13 CEST
Fix in 29011.
Comment 3 Peter Åstrand cendio 2014-05-27 08:38:47 CEST
Hotfix packages available here:

https://www.cendio.com/downloads/updates/b5166/
Comment 4 Pierre Ossman cendio 2014-09-19 13:30:29 CEST
Works well on RHEL5 now. Need to verify that PAM_XDISPLAY still works on newer distributions as well.
Comment 5 Pierre Ossman cendio 2014-09-19 16:04:41 CEST
Confirmed that PAM_XDISPLAY still works on Fedora 20.

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