On Tue, 01 Aug 2000, [EMAIL PROTECTED] wrote:

> > Since then I found that  RH PPP  (rp3) works for both User and Root,
> but
> > has a
> > problem sending long messages - they hang.  Short messages go OK and it
> > downloads fine.      Kppp OTOH works sending and receiving, so is
> > preferable
> > IMO, when I can make it load   :)
> 
> kppp and rp3 are both just wrappers for pppd, which in any case does the
> actual work (chat does the modem init, dial and shell login if necessary
> (I think kppp has its own chat equivalent, and does this itself, but
> I don't much like the way it does it)).  My own preference is to make a
> script to run pppd from the command line.  It really is not particularly
> hard.  You might have a look at the ppp micro-howto:
> 
> http://nwonknu.org/micro-howtos
> 

I knew they both just called pppd.  

The problem I'm having is, I think, more to do with Kppp loading and
communicating with Xwindows, than with it calling pppd.  It's definitely to do
with permissions, I've found  Kppp will only load (even after I've synchronised
the cookies) if I'm still logged in as Superuser in a terminal window.  Else it
drops out leaving the error messages 
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to server

Once Kppp has loaded, I can exit from Superuser and Kppp stays on screen,
dialling and hanging up as often as I like.  

I'll try a bit longer to make it work (mainly 'cos it's convenient to use, when
working, and it _should_ work!) but failing that I'll try the command-line
script as you suggest.


> >
> > Your recommendation was:
> >
> > 1.  as user:
> > mcookie |xargs xauth add :0 .
> > xauth list
> >
> > 2.  as root:
> > xauth -q -f /home/<user>/.Xauthority extract - :0|xauth merge -
> > xauth list
> >
> > I take it the idea is to synchronise the magic cookies 

(snip)

> >
> I think step 1 is what is changing the magic cookie.  I just put that in
> to make sure <user> had a good magic cookie for root to copy.  Once you
> have got the magic cookies in synch, I think you can just leave them
> alone, and skip both steps.  If worse comes to worst, it is possible to
> make a script to do anything a moron could do, but I don't think it is
> needful.

When I start Xwindows, it changes the cookies, (as xauth list shows), so I
have to resync them. 

> Sorry to be so long answering this.  I skipped over it somehow.
> 

That's OK, I've been kinda preoccupied fighting a dodgy hard drive anyway  ;-)

Thanks!

Chris


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to