Bug 330385 - Support X port forwarding for RSE SSH Terminals
Summary: Support X port forwarding for RSE SSH Terminals
Status: NEW
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: 3.4   Edit
Assignee: John-Paul Stanford CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: helpwanted, plan
Depends on:
Blocks:
 
Reported: 2010-11-16 12:50 EST by Martin Oberhuber CLA
Modified: 2017-06-08 11:23 EDT (History)
17 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2010-11-16 12:50:42 EST
+++ This bug was initially created as a clone of Bug #195170 +++

When I create an SSH session on the remote through RSE, I'd like to be able and launch programs such as xterm on the remote such that I can see the remote X app on my local display.

I'd like this feature to work easily and without configuration effort, just like the commandline "ssh" client automatically forwards X11.

Initial comments for this feature as well as an initial contribution is available from bug 195170 comment 9 and on.
Comment 1 Martin Oberhuber CLA 2011-01-12 12:55:23 EST
Hello John-Paul,

I think it's a pity that the discussion about your X port forwarding contribution got somehow stalled on bug 195170. We'd still really appreciate your contribution, but unfortunately so far the feature failed for most of us (Anna, Dave M, myself - all from 3 different organizations but none of us got it working). Do you think you could invest into getting this finally working?

Thanks!
Martin
Comment 2 John-Paul Stanford CLA 2011-01-25 04:11:47 EST
(In reply to comment #1)
> Hello John-Paul,
> 
> I think it's a pity that the discussion about your X port forwarding
> contribution got somehow stalled on bug 195170. We'd still really appreciate
> your contribution, but unfortunately so far the feature failed for most of us
> (Anna, Dave M, myself - all from 3 different organizations but none of us got
> it working). Do you think you could invest into getting this finally working?
> 
> Thanks!
> Martin

I hope to be able to pick this up again before to long, maybe in the next couple of months. At the moment it's a little stalled due to work load been spent on other things. Still want to see this working though, so will be coming back to it.
Comment 3 Anna Dushistova CLA 2011-05-12 07:48:12 EDT
If I do an "xhost +", then I can launch my xterm from the SSH terminal. Thus, I suspect the problem is in the code that deals with setting X host and X port.
Comment 4 Martin Oberhuber CLA 2011-05-31 18:02:52 EDT
Bulk move of deferred feature requests to 3.4
Comment 5 Martin Oberhuber CLA 2012-02-09 15:22:14 EST
CQ:WIND00332347
Comment 6 Martin Oberhuber CLA 2012-05-22 15:02:28 EDT
Shall we give this another try for 3.4 ?

With Juno, with now have JSch-0.1.46 ; but according to the JSch release notes, there was another bugfix afterwards in 0.1.47:

Changes since version 0.1.46:
- bugfix: failed to initialize channels for the stream forwarding.     FIXED
Comment 7 Anna Dushistova CLA 2012-05-22 17:56:37 EDT
I'll retest.
Comment 8 Anna Dushistova CLA 2012-05-22 23:15:44 EDT
I still have the same issue.
Last login: Tue May 22 21:38:08 2012 from console
Have a lot of fun...
anna@linux-klr1:~> xterm
Invalid MIT-MAGIC-COOKIE-1 keyxterm Xt error: Can't open display: localhost:10.0
anna@linux-klr1:~>
Comment 9 Stephan Wahlbrink CLA 2012-09-24 04:45:10 EDT
(In reply to comment #6)
> With Juno, with now have JSch-0.1.46 ; but according to the JSch release
> notes, there was another bugfix afterwards in 0.1.47:
> 
> Changes since version 0.1.46:
> - bugfix: failed to initialize channels for the stream forwarding.     FIXED

This was really a showstopper bug in the JSch lib version 0.1.46 for several use case. It would be great if the JSch lib in the Eclipse packages will be updated with a newer version.
Comment 10 J R CLA 2017-06-08 11:08:50 EDT
Are there any news regarding the X11 forwarding feature? I didn't find any option in the newest eclipse / rse version for X11 forwarding
Comment 11 Martin Oberhuber CLA 2017-06-08 11:23:14 EDT
Hello J R, there's no news on that feature unfortunately.
Code contributions would be welcome reviving this feature!