LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Problems forwarding X with ssh (https://www.linuxquestions.org/questions/solaris-opensolaris-20/problems-forwarding-x-with-ssh-589387/)

crisostomo_enrico 10-04-2007 08:37 AM

Problems forwarding X with ssh
 
Hi guys.

I want to ask you about a "problem" I'm having. I have found a workaround for it but I'm not able to realize what's producing this strange effect.

I'm using a laptop with a vanilla Slackware 12.0 to connect to a Solaris Ex. Dev. Ed. 9/07 via ssh (openssh-4.6p1). Both of these work perfectly:
Code:

$ ssh -Y host
Code:

$ ssh host
and then
Code:

export DISPLAY=mylaptop:myscreen
But If I connect with
Code:

$ ssh -X host
I can indeed connect, I can launch a program but the windows are displayed very bad: widget positions is offset vertically and horizontally, windows are partially rendered. The point is that a complex application is unusable.

Is anyone able to explain me what's the problem with ssh -X compared to ssh -Y?

Thanks,
Enrico.

mjmwired 10-05-2007 08:34 PM

Just an idea: Try enabling your logging and see if that reveals anything 'ssh -vvv'

crisostomo_enrico 10-06-2007 07:35 PM

Thanks mjmwired.

Trying ssh verbose mode, I realized that the only affected programs are Java programs! It seems as something prevents Java programs to display properly.

Just an idea: can "Java bridge for GNOME" be the guilty? I'm running KDE in my slackware box.

Bye,
Enrico.

Dox Systems - Brian 10-08-2007 12:56 PM

Quote:

Originally Posted by crisostomo_enrico (Post 2915715)
Just an idea: can "Java bridge for GNOME" be the guilty? I'm running KDE in my slackware box.

I've never had any problems connecting from KDE on SuSE to Solaris and running graphical apps that use the Java bridge.

crisostomo_enrico 10-08-2007 04:18 PM

Thanks for confirming that, Brian.

It would have made little sense to me, though: why should it work with ssh -Y and not with ssh -X. I don't know, I would like to try with another version of Solaris (maybe 10rev4) but I can't do that now.

Bye,
Enrico.


All times are GMT -5. The time now is 03:04 PM.