Solved

x11 forwarding ssh to ssh gateway then onto client via internet

Posted on 2006-11-08
4
489 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
This article is in regards to the Cisco QSFP-4SFP10G-CU1M cables, which are designed to uplink/downlink 40GB ports to 10GB SFP ports. I recently experienced this and found very little configuration documentation on how these are supposed to be confi…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Suggested Courses
Course of the Month9 days, 14 hours left to enroll

624 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