LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-05-2003, 11:10 AM   #1
sattath
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
setenv display to a computer on a LAN


hey,

i want to telnet somewhere, let say xxx.co.il and be able to see x applictaions. The problem is that i have a proxy inside my lan. all addresses are static ip. so, let say the proxy's internet ip is:163.43.42.15 from outside and 10.0.0.0 inside tha LAN, and the client computer that is inside the lan is 10.0.0.5.
i tried "xhost +" on my computer (10.0.0.5) and "setenv DISPLAY 163.43.42.14::10.0.0.5" on xxx.co.il, after telneting it, but it doesn't seem to work.
is there a way to forward the display to the ip address inside the LAN?
tnx, Or.
 
Old 10-05-2003, 01:44 PM   #2
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
You cannot do this with telnet without modifying the settings in your firewall/router. Don't bother - what you attempt to do is *really* dangerous. Telnet is prone to password sniffing, it's only a matter when, not if, your passwords get compromised. Ditto for unencrypted X11 - it's possible for an intruder to actually watch what you are doing on your screen.

ssh with X11 forwarding is the right solution. X11 tunnels through your ssh connection. No netop in his right mind would let unencrypted X11 through, hence everyone is tunneling, which has lots of advantages, for example, that it's actually faster in most cases (ssh compresses the traffic, so on large volumes/slow networks you gain).

If you ssh into that remote machine, you'll find your DISPLAY set to some localhost:12:0 or some such number. Do NOT change that. (If that variable isn't there, it's because X11 forwarding is not the default on your end, you can make it in the config file or temporary use ssh -X.

Hope it helps,

mlp
 
Old 10-05-2003, 04:00 PM   #3
sattath
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
tnx,

i new about the ssh option... it just seems a litlle bit complicated, and i'm not sure i could ssh to the host. i guess i have no other choice then....

thanks for the reply,
Or.
 
  


Reply



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
KDE Lan Browser doesn't display available LAN computers dance2die Linux - Newbie 2 01-16-2005 08:14 PM
Wake up computer on LAN Linh Linux - Networking 2 06-15-2003 05:33 PM
Problem in setting DISPLAY(setenv) kray Linux - General 3 12-10-2001 03:28 AM
setenv DISPLAY toxic53 Linux - Newbie 2 09-27-2001 01:47 AM
How can I get access to a computer on my LAN? teeno Linux - Networking 5 07-17-2001 07:44 AM

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

All times are GMT -5. The time now is 01:02 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