How to redirect remote X via SLiRP ?

How to redirect remote X via SLiRP ?

Post by Sean Brian Woolco » Sun, 10 Sep 1995 04:00:00



        Hi,

        I have SLiRP up and running and can telnet/ftp/Netscape out.  I
run SLiRP on a machine called ruby.ils.unc.edu.  I need to run an X app
called xobjectcenter on a machine called c00313-11pa.eos.ncsu.edu, and
redirect it to my X display at home.

        Here's what I do:

        o get SLiRP running
        o tell SLiRP "redir X 10.0.2.15:0.0" (That's the IP # SLiRP tells
me I am at home)

        o xhost c00313-11pa.eos.ncsu.edu
        o telnet c00313-11pa.eos.ncsu.edu
        o setenv DISPLAY 152.2.81.1:0.0 (that's ruby's IP number. I have also
tried "152.2.81.1:1.0"(which SLiRP said was correct when I redir'ed) with
the same results

        o xobjectcenter &

        Now it waits a few seconds and then says:

        Xlib:  connection to "152.2.81.1:0.0" refused by server
        Xlib:  Client is not authorized to connect to Server
        Error: Can't open display: 152.2.81.1:0.0

        I can see that calling myself the "0.0" display for my SLiRP host,
and not even mentioning my Linux box, is a problem, but I don't know what
to do about it.  I don't know much about ports (like how to find a valid
one on my SLiRP host), so if they are the answer please talk to me like
I'm a four year old and/or give me a pointer to port redirection info.

        Thanks, I'll post a summary of any help I get.

        Sean

 
 
 

How to redirect remote X via SLiRP ?

Post by Sean Woolcoc » Wed, 13 Sep 1995 04:00:00



Quote:> Have you tried doing an "xhost +" on the machine you want the display to come up on.
> It sounds like the application is making the request to the server and the server is
> saying the the owner of the application doesn't have permission to display on the

        Yes, I did an "xhost +".  It didn't affect the error message at
all.  A lot of people suggested this to me.  Someone also suggested
"xauth", but to be honest, I could not make heads or tails of the man
page.  Do you know how to determine if I need an "xauth" (and if so, what
to do)?  Thanks!

        Sean

 
 
 

How to redirect remote X via SLiRP ?

Post by Sean Woolcoc » Thu, 14 Sep 1995 04:00:00



Quote:> I believe your host's IP address needs to be listed in your local etc/xhosts
> file.

        I just tried it.  I still get:

Xlib:  connection to "152.2.81.1:1.0" refused by server
Xlib:  Client is not authorized to connect to Server
Error: Can't Open display

        ...even after a "xhost +", with my slirp host and the remote host
in my /etc/xhosts and in my /etc/hosts.allow.  This is frustrating.

> -Steve


 
 
 

1. PPP+SLiRP OK but CSLIP+SLiRP has display problem

I have slirp PPP running with DXPC compression but I was told
that CSLIP is faster than PPP. I have a Linux PC as server and a
Sun Sparc5 as client. I use a dip script to login and and
activate SLIRP on the Sun. The .slirprc file is:
##############################
add ptyexec /usr/bin/tcsh -1:10.0.2.1:23
compress
baudrate 38400
[I have tried adding the following:
redir X 10.0.2.15:0.0
redir 4000 4000
with no improvement]
############################
     The problem is that after giving xhost + to an xterm window
on the local Linux machine, I cannot find a setenv statement
that allows me to show Sun X programs on the local machine. If I
telnet to 10.0.2.0 to get the SLIRP command line: "show X"
it says use: "setenv DISPLAY [Sun IP adderess]:1.0" for the
display of the Sun command line. Testing with "xclock &" does not
bring up the X program on the screen. There is an error message:
"Unable to open [Sun IP address]:1.0" and also for :2, :8 etc.
aliases like 10.0.2.2 also do not work. Nor does the default:
"setenv DISPLAY :8"
     Has anybody got SLIRP CSLIP to work properly?
Thanks, Don

cslippro.asc
--
Donald F. Parsons MD, Wadsworth Ctr, (Rm D224A)
PO Box 509, Albany, NY 12201-0509. (518)474-7047 Fax: (518)474-7992


2. Performance improvements

3. Slirp Slirp

4. SCSI CD-ROM install

5. SliRp/Minicom: Starting Slirp through minicom?

6. 2.5.44 on Alpha

7. Slirp Slirp

8. Sub Classing

9. Slirp: Dial with minicom to shell then telnet to other shell to use slirp?

10. How to read remote mail using SLiRP?

11. Problem with SLiRP and FTP via DIP in Linux...

12. Slirp via rlogin session

13. Slirp command i/f via dip