>Hi,
>
>when maintaining a machine from remote I sometimes have to switch to
>a non-root user (whose password I don't want to know) to try something
>out.
>
>For that, I log into that machine by  ssh -Y r...@....
>Now, how can I switch to user USER such that the X credentials
>are copied.
>Unfortunately, sux (from X11-misc/sux) doesn't work in that case.
>I always get
>X11 connection rejected because of wrong authentication.
>
>Are there any means to achieve this?

Hi Helmut,

you need to read "man xauth" :)

/jdb

Reply via email to