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: X11 Forwarding

Subject: Re: X11 Forwarding
Date: Thu, 08 Feb 2007 12:46:11 +1100
From the ssh man page (at least the version I'm running)

-X Enables X11 forwarding. This can also be specified on a per-host basis in a configuration file.

Have you tried ssh -X "host" ?

Cheers,

Jason

paul.rogers@juno.com wrote:
I am having difficulty getting X11 forwarding to work, DISPLAY isn't
set. This is an LFS-4.1 based system, rather than a commercial distro
(kernel-2.4.31, XOrg-6.8, openssh-3.9p1), so I may not have all my
scripts setup right. (I added 6010 to /etc/services, and that was no
help.) I have enabled forwarding in sshd_config on the server &
ssh_config on the client. "ssh server" from the command prompt gives
me a login shell on the server. Done from a client xterm I also get
the login shell. "ssh server set" from the client xterm has no DISPLAY
variable. "ssh server xkde", where xkde is a script in the default
search path to add to the path and "startkde", fails in xsetroot & xset
because it can't open the display. I've tried running startkde from
the login shell I get on the server with the same result. Honest, I've
tried searching the web for ideas, but nothing seems to work. Some
said it was necessary to set DISPLAY and other said it wasn't. "DISPLAY=192.168.23.12:0.0 ssh server xkde" also fails. The site just
says set the config files and it whould work, but no joy here! Help!!



Paul Rogers (paul.rogers@juno.com) http://www.xprt.net/~pgrogers/ Rogers' Second Law: "Everything you do communicates." (I do not personally endorse any additions after this line. TANSTAAFL :-)





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