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. |

| Subject: | Re: openSSH of Solaris/Debian X does not work |
|---|---|
| Date: | Tue, 14 Feb 2006 15:46:21 +0000 |
Hi Paul,
Hi Raz, Thanks very much for your very insightful explaination.
You are most welcome.
I changed the /m200/ .login file so that the DISPLAY parameter sets to xia:10.0. But I still got the same error message. What would be an appropriate way to do this?
The sshd (which launches the shell which launches your menu which launches xterm...) selects and sets the DISPLAY variable by itself, typically to localhost:10.0, but it could set it to almost anything. What is important is not what it is actually set to (it could even change from login to login) but that you let it get passed through to xterm without your script(s) modifying it. Repeating for clarity: do not, under any circumstances, set DISPLAY to anything, just let the value set by the sshd pass through to xterm unmodified. (The problems with setting it to xia:10.0 are that: - once again, you are telling the xterm to connection to xia/TCP/6010, which attempts to bypass the SSH tunneling and will fail if xia's X-server doesn't accept remote connections (e.g. if it's a Debian box) - it is most unlikely that xia has :10.0 display.)
M200 is an instrument used by chemists to work out how atoms are arranged in space. I would like to remotely run it from my office computer. I used to do with Telnet but University strongly discouraged it. They suggested the SSH X forwarding to me.
Indeed, ssh and X forwarding is a somewhat cleaner approach. Given that you're getting snagged on your scripts, perhaps just bypass them completely: xia:~$ ssh -X m200 xterm If this doesn't work, then let's see the output from "ssh -v -X m200 xterm". Also, check that m200:/etc/ssh/sshd_config has "X11Forwarding yes" in it (presumably it does if the machine's administrators are suggesting that you tunnel X11 over ssh, but you never know). - Raz
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Connection timed out, Bob Rasmussen |
|---|---|
| Next by Date: | Re: Connection timed out, Leif Ericksen |
| Previous by Thread: | Re: openSSH of Solaris/Debian X does not work, Zhicheng Xia |
| Next by Thread: | Packet Integrity error, Chet Vora Public Account |
| Indexes: | [Date] [Thread] [Top] [All Lists] |