Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: openSSH of Solaris/Debian X does not work

Subject: Re: openSSH of Solaris/Debian X does not work
Date: Sat, 11 Feb 2006 14:49:11 +1100
On Thu, Feb 09, 2006 at 05:25:02PM -0500, Zhicheng Xia wrote:
I have openSSH 4.2p installed for debian Sarge 3.1 and Solaris 2.8. The 
remote x display works between Solaris systems, it also works between 
debian systems. However when I tried to do a Solaris remote Xterm on my 
debian box, it no longer work. Could someone help me here please???
[...]
Choose s)un x)window t)ek d)umb g)raphon [s/x/t/d/g(default)]:x
input display server name: xia
m200:xia 1>xterm
xterm Xt error: Can't open display: xia:0.0

The $DISPLAY variable is probably wrong.  By default, OpenSSH will
create a display starting at 10 and pointing to localhost (check the
X11DisplayOffset and X11UseLocalhost settings in sshd_config).  I suspect
that a shell startup script on your Solaris host is messing with $DISPLAY.

As a general rule, if you need to mess with $DISPLAY for ssh x11
forwarding then something is wrong.  (Actually, this isn't always true,
but if you know that then you also know when it would be appropriate :-)

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

<Prev in Thread] Current Thread [Next in Thread>