• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Help with SSH and Router

nnnyyy

Diamond Member
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?
 
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?
 
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.
 
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.
 
The administrator of the server may have to enable tunneling in /etc/sshd-conf to allow X to be tunneled.

FWIW

Scott
 
Back
Top