Re: X Forwarding with openssh3.0.2
From: Neil W Rickert (rickert+nn@cs.niu.edu)Date: 02/07/02
- Next message: Michael Heiming: "Re: Lock account after x failed login attempts?"
- Previous message: Richard E. Silverman: "Re: versioning mismatch -- WTF!!!"
- In reply to: Paul Haggerty: "X Forwarding with openssh3.0.2"
- Next in thread: chris: "Re: X Forwarding with openssh3.0.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Neil W Rickert <rickert+nn@cs.niu.edu> Date: 7 Feb 2002 18:25:16 GMT
Paul Haggerty <Paul.Haggerty@noaa.gov> writes:
>I need to connect to a SGI machine (from another SGI, both using
>openssh3.0.2p1) and then SU to root. Using the older openssh, all I
>needed to do was keep track of the DISPLAY and XAUTHORITY environment
>variables and set them once I became root.
>However, using the openssh3.0.2, the XAUTHORITY variable never gets
>set, instead SSH_CLIENT and SSH_TTY are set, but copying these
>has no effect.
>Is there something else I need to do in order to keep my X-windows
>after performing an SU?
Presumably you could do
XAUTHORITY=$HOME/.Xauthority
export XAUTHORITY
just before the "su".
- Next message: Michael Heiming: "Re: Lock account after x failed login attempts?"
- Previous message: Richard E. Silverman: "Re: versioning mismatch -- WTF!!!"
- In reply to: Paul Haggerty: "X Forwarding with openssh3.0.2"
- Next in thread: chris: "Re: X Forwarding with openssh3.0.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]