unable to open remote java application over ssh (UGBoJ)

Bug #676294 reported by Titantux on 2010-11-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Undecided
Unassigned

Bug Description

Hello, thanks in advance & hope you are doing ok.

I'm trying to open a remote java application over ssh tunnel ie:

MiLap -> Aserver -> Bserver -RServer(Java application)

The tunnel is working normal, because I'm able to open simple xclock, xlogo, etc... the issue here is when I try it for java apps.
It really works with other distros confirmed (Slakware & Opensuse & even on Ubuntu 10.04).
The only thing I got is the ugly gray box of java (UGBoJ) over new window.

What Ive done until now:

1. Using Live Ubntu 10.10... (UGBoJ)
2. I tried to copy same config from ssh_config & sshd_config from Opensuse.... (UGBoJ)
3. Locally I've change my java to Open & SUN java... (UGBoJ)
4. I've change sun-java version to old one 1.6.20, on distro I used has 1.6.18 & 1.6.20 (UGBoJ)
5. Using either "ssh -X" & "ssh -Y" (UGBoJ)
It seems it is something with new OpenSSH or OpenSSL version:

I've compared 10.04 against 10.10 and:
$ ssh -verison
10.10 OpenSSH_5.5p1 Debian-4ubuntu4 OpenSSL 0.9.8o 01 Jun 2010 ... UGBoJ
10.04 OpenSSH_5.3p1 Debian-3ubuntu4 OpenSSL 0.9.8k 25 Mar 2009 ... WORKING

I've compared ssh_config and both are the same...

What differences are between each distros (10.04 & 10.10) ?

Thanks,
Israel

Titantux (israel-m-dj) on 2010-11-16
description: updated
Serge Hallyn (serge-hallyn) wrote :

You've marked this as affecting openssh, but it sounds like purely a java
issue, right? Can you run this on a local desktop on 10.10?

Changed in openssh (Ubuntu):
status: New → Incomplete
Titantux (israel-m-dj) wrote :

I don't believe be java issue, since on Ubuntu 10.04, don't have installed java locally and is working... through ssh tunnel

Right now I'm comparing ssh -vvv print outs each one (10.04 against 10.10) in order to find differences out during tunnel creation.

--------------------------10.04........................

debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu4
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug3: Wrote 792 bytes for a total of 831
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
--------------------------10.04........................
--------------------------10.10 .......................
debug1: Local version string SSH-2.0-OpenSSH_5.5p1 Debian-4ubuntu4
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent

debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: <email address hidden>,<email address hidden>,ssh-rsa,ssh-dss
--------------------------10.10 .......................

What means first difference I found on last line each?

Titantux (israel-m-dj) wrote :

Right now, I'm working with other stuff on my home's desktop Ubuntu 10.10 amd64 bits, I did the new update because
 noticed than new version even for "openssh" & "libssl" came out with this update...Guest what??

Now is working!!!! no more UGBoJ at less on 64 bits!!!!

$ ssh -version
OpenSSH_5.5p1 Debian-4ubuntu4, OpenSSL 0.9.8o 01 Jun 2010

Definitively is not Java issue!!!

Tomorrow during the morning I will check on my work's laptop, but with Ubuntu 10.10 x32 bits... the new update....

I let you know about it...

Titantux (israel-m-dj) wrote :

Is not wokring on my x32-bits

Titantux (israel-m-dj) wrote :

Local Java Apps are able to run locally but not when are running from remote servers over ssh

Any tips to trouble shooting this ?

Titantux (israel-m-dj) wrote :

I did one test... starting a parallel X server on console 12 as following:

sudo X :12.0 vt12 2>&1 > /dev/null

then:

xterm –display :12.0 –e ssh –X user@Aserver ;

on the same xterm once connected to Aserver,

ssh -X user@Bserver then ssh -X user@Rserver

The result .... I could open the java application !!!!

So ... Is the X server blocking the remote java application ????

lets see... how X server was started...?

Titantux (israel-m-dj) on 2010-12-02
Changed in openssh (Ubuntu):
status: Incomplete → Opinion
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions