Networking Forums

Networking Forums > Computer Networking > Linux Networking > X Windows and VPN

Reply
Thread Tools Display Modes

X Windows and VPN

 
 
James Kimble
Guest
Posts: n/a

 
      11-22-2003, 04:10 PM
I've got a PPTP tunnel working between my Linux machine and the
Windows 2K servers at work. Once the tunnel is set up I can then
telnet into the HP UX machines (where I live) with no problems.

The problem is that if I want to start an xterm or any other X based
application. I get a message that the app can't find the display. I'm
specifing (via the -display option) the local IP that is assigned
when PPTP sets up the tunnel. I can telnet into my own machine from the
remote machine using that same IP.

I don't get it. Can someone tell me what's going on with this?

Thanks,

James Kimble
 
Reply With Quote
 
 
 
 
Mark Hackett
Guest
Posts: n/a

 
      11-22-2003, 05:16 PM
James Kimble wrote:

> I've got a PPTP tunnel working between my Linux machine and the
> Windows 2K servers at work. Once the tunnel is set up I can then
> telnet into the HP UX machines (where I live) with no problems.
>
> The problem is that if I want to start an xterm or any other X based
> application. I get a message that the app can't find the display. I'm
> specifing (via the -display option) the local IP that is assigned
> when PPTP sets up the tunnel. I can telnet into my own machine from the
> remote machine using that same IP.
>
> I don't get it. Can someone tell me what's going on with this?
>
> Thanks,
>
> James Kimble


A very simple check - have you used on the maachine you want to display on
xhost +<other machine name> first?
 
Reply With Quote
 
James Kimble
Guest
Posts: n/a

 
      11-23-2003, 02:25 AM
Yes, I did do that. I even tried just "xhost +" to make sure I wasn't
using the wrong IP. No diff.



>
> A very simple check - have you used on the maachine you want to display on
> xhost +<other machine name> first?

 
Reply With Quote
 
Mark Hackett
Guest
Posts: n/a

 
      11-23-2003, 10:21 AM
James Kimble wrote:

> Yes, I did do that. I even tried just "xhost +" to make sure I wasn't
> using the wrong IP. No diff.
>
>
>
>>
>> A very simple check - have you used on the maachine you want to display
>> on xhost +<other machine name> first?


You'll need to check the simple setup, then.

Can you display locally?

E.g. log in under X, run

xhost +localhost

then log in as another user, and open an X application.

If that works, then try it again, but use the network IP addy of the machine
you are on, rather than localhost.

On the remote machine, try using telnet:

telnet <machine name> 6000

(there are several X11 reserved IP addresses, check /etc/services for lines
beginning with x11).

if telnet is refused all of them, then make sure you are disconnected from
the internet and turn off the firewall on both systems (iptables -F). Go
through the steps above.

You're basically trying to cut off the reasons for failure one by one.

Ta.
 
Reply With Quote
 
Robert
Guest
Posts: n/a

 
      12-02-2003, 10:52 PM
Try disabling any firewall you may have configured as a test. The
"backlink" from the X server (host) appears to the client machine as
an incoming connection rather than a response. Most desktop firewalls
assume that such traffic is not valid unless it has been explicitly
enabled.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[networking] Online Public Chat Tomorrow: TCP/IP in Windows Server 2003 SP1 and Windows XP SP2 Deepak Bansal [MS] Windows Networking 0 06-28-2005 10:30 PM
[networking] Online Public Chat Tomorrow: TCP/IP in Windows Server 2003 SP1 and Windows XP SP2 Deepak Bansal [MS] Windows Networking 0 06-28-2005 10:29 PM
Windows 2003 Server in Windows 2000 Domain Lose Trust Relationship Faisal Sarwar Windows Networking 2 06-20-2005 04:51 AM
Windows 2000 client can't map network drive on windows server 2003 John Xie Windows Networking 1 05-31-2005 04:07 PM
windows 2003 load balancing into existing windows 2000 wlbs. urgent Combfilter Windows Networking 1 12-16-2004 04:01 PM



1 2 3 4 5 6 7 8 9 10 11