Solved

x11 forwarding ssh to ssh gateway then onto client via internet

Posted on 2006-11-08
4
486 Views
Last Modified: 2013-12-23
Hi All,


I have an internal network, which i connect to the gateway machine via ssh, and can send X11 windows back via the internet to my remote machine, but  I have problems sending a window from one of the other machines on via the gateway, I have enable X11 forwarding on the internal machines.

its one of these silly problems, but i need to get it fixed asap
thanks
mit

0
Comment
Question by:radical_mit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 43

Expert Comment

by:ravenpl
ID: 17908389
so You saying, You are logging to remote with: ssh -X username@remote.server.tld
After You logged in, You running some X application like: xterm
but it fails. What's the error message?
0
 

Author Comment

by:radical_mit
ID: 17920663
yes,
want to send a xterm from a different machine via the gateway. i do not know what to set the DISPLAY variable to?
on the gateway is DISPLAY=remote.server.tld:10.0
then i xterm & and at my pc I get a window.
thanks
mit
0
 
LVL 43

Accepted Solution

by:
ravenpl earned 400 total points
ID: 17920689
Did You use: ssh -X username@remote.server.tld
it should set X forwarding automatically, and DISPLAY should look like
echo $DISPLAY
localhost:11.0
Yes, it's forwarded throught the ssh connection itself, therefore is not blocked by any firewall.
0
 
LVL 62

Expert Comment

by:gheist
ID: 17923437
you have to run ssh -X -v, and look for X11 forwarding failures or rejects. Sometimes it may set up X11 parameters without SSH tunnel when denied by server or client configuration.

"xdpyinfo" on server command line over SSH will tell if X11 works without even giving a window
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SonicPoint N2 will not provision on SonicWall NSA220 4 56
Strange router problem - can't access hotmail.com 14 108
external website is 16 40
port-forwarding asa 9.5 9 28
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question