Help with SSH and Router

nnnyyy

Diamond Member
Nov 9, 2000
3,370
0
71
Hey guys. I have been having a few problems lately with my Linksys 4 port router. I am trying to SSH into a Unix server at school to do some work. I am using SSH client along with Exceed. I can log in and connect but it has problems with Xwindows - they just dont open and I get a time out. I know this is a problem with my router because when I connect my computer directly to the DSL modem, everything works fine including the Xwindows. I have enabled X11 tunneling on the SSH program also. Please help if possible. Thanks. Is it some port that I must forward or is it the router?
 

nnnyyy

Diamond Member
Nov 9, 2000
3,370
0
71
Thanks for the advice Damaged. I tried to forward those ports but it still doesnt work. I know its not my software or my settings because I am able to get xwindows if I dont go through the router. But with the router, when I type xclock or emacs it just freezes and disconnects. Could it be my router?
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
I doubt it's your router. What shell are you using on the remote side? Check your DISPLAY variable. Should be set to the router's IP. Just use a :0 display offset because it has always worked that way for me.

You should be able to do a printenv | grep DIS and it will show what $DISPLAY is set to.

Might be your problem right there.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Are you forwarding the X ports through the ssh client or through your router? Forwarding them through the ssh client will make it easier since you would only need port 22 open.
 

ScottMac

Moderator<br>Networking<br>Elite member
Mar 19, 2001
5,471
2
0
The administrator of the server may have to enable tunneling in /etc/sshd-conf to allow X to be tunneled.

FWIW

Scott