LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-10-2009, 01:58 AM   #1
jgombos
Member
 
Registered: Jul 2003
Posts: 256

Rep: Reputation: 32
Finding out where ssh X11 sessions are forwarded to


I want to be able to SSH to a machine, and have the .profile take actions based on where the $DISPLAY goes (not who the user is).

Problem is, the DISPLAY variable is masked from the host, because ssh does some forwarding. echo $DISPLAY shows something like x.x.x.x:15.0 and the IP address works out to something other than where the actual display is. So how can one find out where the $DISPLAY is being forwarded to?
 
  


Reply

Tags
ssh forwarding



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Forward X11 multiple ssh sessions doublejoon Linux - Networking 5 04-26-2007 03:55 PM
Can sound be forwarded through a SSH tunnel? greenhornet Linux - Networking 1 10-06-2004 09:14 AM
Desktop size forwarded via SSH too big debian_dummy Debian 2 07-27-2004 09:33 AM
Using Grip (X forwarded) to rip CDs remotely over ssh ? chazza Linux - Software 4 05-02-2004 06:01 PM
pptp forwarded through ssh not working l33thaxors Linux - Networking 0 02-18-2002 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration