> I'm was trying to use x-windows over a telefone line (using ppp). My 
> linux-box using ip-masq for going on the local network. Every services 
> works (telnet, ping ,ftp,xdm .....)  but when i wanna start an x-windows 
> session. No x-windows will appear on my screen. (I use exceed on PC).
> What is happening. Can anybody help me ?? 
> 

  The X clients (like netscape, etc.) need to be able to connect to your
computer (the X server.)  Running X programs on your linux box should be
ok (so long as the DISPLAY environment variable is set or the -display
argument is passed to the program.)  Running X programs from outside the
firewall will not work because the connections cannot go back
through the masquerade.  unless...

  What I did was to use plug-gw to redirect the different X ports on my
firewall to different clients.  ":0" (port 6000) was the linux box, ":1"
(port 6001) was my windows computer, etc.  This requires adding a line
like this to /etc/inetd.conf:

X1      stream  tcp    nowait  nobody  /usr/sbin/plug-gw   plug-gw X1

and a line like this to /etc/services:

X1      6001/tcp

Then, assuming your firewall computer is aaa.bbb.ccc.ddd and your windows
computer is eee.fff.ggg.hhh, then you could do the following:

>From your firewall:
  xterm -display eee.fff.ggg.hhh:0

>From outside your firewall:
  xterm -display aaa.bbb.ccc.ddd:1

-Mike
[EMAIL PROTECTED] 



-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to