I'm sorry David, it's not clear to me what I should put in rc.  Can you send 
the entire contents?

thanks,
eric

--- On Thu, 3/18/10, David S. Goldberg <[email protected]> wrote:

> From: David S. Goldberg <[email protected]>
> Subject: Re: [OpenAFS] significant delay for afs user to login as root via su
> To: [email protected]
> Cc: "Ken Hornstein" <[email protected]>, [email protected]
> Date: Thursday, March 18, 2010, 1:42 PM
> 
> > I created a file ~/.ssh/rc as per your suggestion in
> the machine that I am
> >  logging into ("aerogold" in this case). 
> Logging in gives me this:
> 
> > [mat...@quadzilla ~]$ ssh -Y emat...@aerogold
> > emat...@aerogold's password: 
> > Last login: Thu Mar 18 14:24:37 2010 from
> quadzilla.aero.nd.edu
> > X11 connection rejected because of wrong
> authentication.
> > xauth:  creating new authority file
> /tmp/.ematlis/.Xauthority
> > xauth:  creating new authority file
> /tmp/.ematlis/.Xauthority
> > X11 connection rejected because of wrong
> authentication.
> > xhost:  unable to open display "localhost:10.0"
> > [emat...@aerogold ~]$ echo $XAUTHORITY
> > XAUTHORITY: Undefined variable.
> 
> Sorry I pasted in the wrong version, from an older
> machine.  Here's
> what I have on my own Fedora 12 box after the lines
> creating the
> directory in /tmp and setting XAUTHORITY:
> 
> if [ "$DISPLAY" = "" ]; then exit 0 ; fi
> if read proto cookie && [ -n "$DISPLAY" ]; then
>     if [ `echo $DISPLAY | cut -c1-10` =
> 'localhost:' ]; then
>         #
> X11UseLocalhost=yes
>         echo add unix:`echo
> $DISPLAY | cut -c11-` $proto $cookie
>     else
>         # X11UseLocalhost=no
>         echo add $DISPLAY
> $proto $cookie
>     fi | xauth -q -
> fi
> 
> 
> -- 
> Dave Goldberg
> Associate Department Head, G06A: Advanced Technical
> Computing Center
> The MITRE Corporation \ MS K331 \ 202 Burlington Rd. \
> Bedford, MA 01730
> [email protected] \
> 781-271-3887 (W) \ 781-439-7875 (M)
> 



_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to