Solaris 10 u5 Remote SSH -X session - how the heck?
807557Jul 1 2008 — edited Jul 3 2008Hi All,
I've spent hours on this and must now resort to the forums in the hope that some helpful person can point out what I'm doing wrong.
In short, I am trying to tunnel X Window sessions over SSH, and access my stuff on my Solaris 10 u5 x86 box from either OpenSolaris 2008.05, or, Ubuntu 8.04.
To cut a very long story short:
a) logged on at the Solaris 10 machine under JDS, I attempt to log on remotely to my OpenSolaris 2008.05 machine:
ssh -X davenz@xxx.xxx.xxx.xx
I supply credentials, and everything works as expected.
# echo $DISPLAY returns something like localhost:10.0. I can remotely browse to /usr/bin and launch Firefox for example, pops up in a new window, no prob.
b) Logged on at the OpenSolaris 2008.05 machine, I attempt to log on remotely to my
Solaris 10 machine:
ssh -X davenz@xxx.xxx.xxx.xx
Authentication is fine and dandy, and I can remotely navigate the machine via CLI no problem. However, not a single X enabled app can be launched, and always fails with either a gtk error, or for example in the case of trying to launch SMC, a prompt that I haven't configured a DISPLAY setup.
When I run echo $DISPLAY in this case, I get a blank entry. If I do export DISPLAY='localhost:10.1', this does not change the behvaiour.
From my Ubuntu machine I can also run X apps fine over SSH from the OpenSolaris machine, but not the Solaris 10 machine either.
What the heck am I missing here? Aside from having a zone configured on it, and for a brief period of time having Sun Ray Server Software v.4.0 installed (and then uninstalled), the machine is pretty darn fresh. Oh, the only other thing perhaps is that when doing the initial Solaris 10 install, I opted out of "Enabling Remote Services" (see http://www.blastwave.org/docs/step-036.html), but don't know if this has anything to do with it.
Any help greatly appreciated, as always! :)
Cheers,
Dave
EDIT: I checked out the /etc/ssh/sshd_config file on the Solaris 10 machine, and X11forwarding is enabled. As a matter of fact, as far as I can tell the sshd_config files are configured the same on both the Solaris 10 and Opensolaris 2008.05 machines...