🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: dc.org.linux-users
Article #138

Re: X11 forwarding??

#138
From: Beartooth
Date: Tue, 12 Mar 2002 17:56
87 lines
3896 bytes
On 12 Mar 2002, Aaron M. Ucko wrote:

> > 	 Would it help, for instance, with displaying pix
> > that people email direct instead of posting them on a web
> > site and emailing the url? Being able to display those has
> > to be one of my next projects.
>
> Only if the remote machine had viewers installed in the
> first place, which seems somewhat doubtful under the
> circumstances.
>
> At any rate, there's always the old-fashioned way:
>
> 1. On your machine, run
>
>         xauth list $DISPLAY
>
>    to determine the "magic cookie" programs need to
> connect to your X server.

	OK; I did that as root -- and it simply returned me
to the root prompt. No display of anything.

> 2. Figure out your machine's current IP address.  With Verizon DSL, I
>    believe "ifconfig ppp0" will give this to you.

	Yup. That gave
========================================================
[root@localhost root]# ifconfig ppp0
ppp0      Link encap:Point-to-Point Protocol
          inet addr:138.88.60.74  P-t-P:10.1.36.1
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492
Metric:1
          RX packets:21598 errors:0 dropped:0 overruns:0
frame:0
          TX packets:20424 errors:0 dropped:0 overruns:0
carrier:0
          collisions:0
          RX bytes:20730353 (19.7 Mb)  TX bytes:1261735 (1.2
Mb)
===========================================================
-- from which I suppose my IP address is :138.88.60.74? that
certainly sounds familiar ....


> 3. Point Radix at your machine's X server by setting the environment
>    variable DISPLAY to "w.x.y.z:0" (substituting your IP address for
>    w.x.y.z, of course).  The way to do this depends on what shell you
>    use there, but it is likely that either
>
>         setenv DISPLAY w.x.y.z:0
>    or
>         DISPLAY=w.x.y.z.:0 export DISPLAY
>
>    will work.

	I suspended pine, and tried both:
========================================================
[1]+  Stopped                 pine
You have new mail in /var/mail/karhunhammas
saltmine:karhunhammas$  setenv DISPLAY 138.88.60.74:0
bash: setenv: command not found
saltmine:karhunhammas$  DISPLAY=138.88.60.74:0 export
DISPLAY
You have new mail in /var/mail/karhunhammas
saltmine:karhunhammas$
==============================================================
from which of course I got back here with fg.

	Looks to me like the second one was close -- but
gave me nothing.

	Does this amount to any progress at all? :-/

> 4. Give Radix the magic cookie you got from step 1:
>
>         xauth add $DISPLAY . xxxxxxxxx
>
>    (You'll probably want to use cut-and-paste here.)

	I'm sure I would -- if only ....

-- 
RR 'Beartooth' Neuswanger
karhunhammas (at) lserv.com
Being uniquely weird comes natural.
Technical Details
Message-ID: <Pine.GSO.4.43.0203121245310.13077-100000@saltmine.radix.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newspeer.radix.net!news1.radix.net!saltmine.radix.net!karhunhammas
References: <Pine.GSO.4.43.0202160844200.27560-100000@saltmine.radix.net> <3C8D93AA.1080805@umich.edu> <Pine.GSO.4.43.0203120843490.13077-100000@saltmine.radix.net> <udl6641er81.fsf@multics.mit.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11663c,abbe2feb7b6ae5a1
X-Google-Attributes: gid11663c,public
X-Google-ArrivalTime: 2002-03-12 09:56:45 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newspeer.radix.net!news1.radix.net!saltmine.radix.net!karhunhammas
From: Beartooth <karhunhammas@Lserv.com>
Newsgroups: dc.org.linux-users
Subject: Re: X11 forwarding??
Date: Tue, 12 Mar 2002 12:56:42 -0500
Organization: RadixNet Internet Services
Lines: 88
Message-ID: <Pine.GSO.4.43.0203121245310.13077-100000@saltmine.radix.net>
References: <Pine.GSO.4.43.0202160844200.27560-100000@saltmine.radix.net>
 <3C8D93AA.1080805@umich.edu> <Pine.GSO.4.43.0203120843490.13077-100000@saltmine.radix.net>
 <udl6641er81.fsf@multics.mit.edu>
Reply-To: me at lserv <karhunhammas@lserv.com>
NNTP-Posting-Host: saltmine.radix.net
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-X-Sender: karhunhammas@saltmine.radix.net
In-Reply-To: <udl6641er81.fsf@multics.mit.edu>