LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 10-04-2007, 08:37 AM   #1
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
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.

Last edited by crisostomo_enrico; 10-04-2007 at 08:38 AM.
 
Old 10-05-2007, 08:34 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Just an idea: Try enabling your logging and see if that reveals anything 'ssh -vvv'
 
Old 10-06-2007, 07:35 PM   #3
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
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.
 
Old 10-08-2007, 12:56 PM   #4
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Quote:
Originally Posted by crisostomo_enrico View Post
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.
 
Old 10-08-2007, 04:18 PM   #5
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH X forwarding krusty_lab AIX 10 01-02-2008 09:36 AM
LXer: Problems forwarding X over SSH LXer Syndicated Linux News 0 08-18-2006 10:03 PM
X11 Forwarding over SSH all sorts of problems lucastic Linux - Networking 10 08-31-2004 08:34 PM
Problems with ssh and X11 forwarding Dabria Linux - General 5 02-13-2004 10:28 AM
ssh: x11 forwarding problems Halz Linux - Software 1 06-25-2002 03:27 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 02:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration