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]

X11 forwarding and DISPLAY variable

Subject: X11 forwarding and DISPLAY variable
Date: Wed, 12 Oct 2005 17:49:44 -0400
I'm trying to connect a Linux remote X client to my local X server on my PC in a local network behind a router/firewall.

The configuration is:

(remote xclient) -> (remote ssh server) -> (local router with NAT) -> (local ssh telnet with X11 forwarding) -> (local x server)

The linux box is running ssh version 3.8.1p1-8.sarge.4 and the ssh telnet client is VanDyke SecureCRT version 5.0.0.

My local X server is running and accepts local X clients.
I open a SSH telnet session to the remote server (X11 forwarding from the ssh telnet client is enabled).
When I try to open a remote X client it says:
"Error: Can't open display:"


I read somewhere that the SSH server will set the DISPLAY variable for me.
How do I get that working? Is that even possible?

Thanks for help,
-- Bernd


P.S.: I have "X11Forwarding yes" in "/etc/ssh/sshd_config" set.

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