Bug 4671 - tl-run-unixapp fails on recent distributions due to X11Forwarding is disabled by default.
Summary: tl-run-unixapp fails on recent distributions due to X11Forwarding is disabled...
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Misc (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.1.1
Assignee: Karl Mikaelsson
URL:
Keywords: ossman_tester, prosaic
Depends on:
Blocks:
 
Reported: 2013-05-30 13:33 CEST by Henrik Andersson
Modified: 2013-10-24 10:56 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Henrik Andersson cendio 2013-05-30 13:33:25 CEST
At a customers site I set up a profile for a X11 application which runs on another server, however it failed and I looked into why.

tl-run-unixapp assumes that the ssh client is defaulting to enable X11Forwarding which is not true on new distributions, RHEL 6 in this particular case. This was easily fixed by adding -X to commandline for starting the remote application in tl-run-unixapp.
Comment 1 Karl Mikaelsson cendio 2013-08-21 15:23:46 CEST
Fixed in r27789.
Comment 2 Peter Åstrand cendio 2013-09-04 09:57:00 CEST
I'd like to know if the issue with trusted/untrusted forwarding has been considered. Ie, why are we using -X instead of -Y? For full compatibility with applications such as "xwd" and likely many other, you need to use -Y. I'd also like to quote the default ssh_config from at least CentOS 6:

#   ForwardX11 no
# If this option is set to yes then remote X11 clients will have full access
# to the original X11 display. As virtually no X11 client supports the untrusted
# mode correctly we set this to yes.
        ForwardX11Trusted yes
Comment 3 Karl Mikaelsson cendio 2013-09-04 10:29:02 CEST
Changed to -Y in r27828. Is there a need for clarifying the documentation about the use of -Y rather than -X?
Comment 4 Peter Åstrand cendio 2013-09-04 10:31:27 CEST
(In reply to comment #3)
> Changed to -Y in r27828. Is there a need for clarifying the documentation about
> the use of -Y rather than -X?

Not necessary, I think.
Comment 5 Pierre Ossman cendio 2013-10-10 13:35:48 CEST
Works fine on Fedora 19. Confirmed that command line includes "-Y".

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