1 |
>Hi, |
2 |
> |
3 |
>when maintaining a machine from remote I sometimes have to switch to |
4 |
>a non-root user (whose password I don't want to know) to try something |
5 |
>out. |
6 |
> |
7 |
>For that, I log into that machine by ssh -Y root@.... |
8 |
>Now, how can I switch to user USER such that the X credentials |
9 |
>are copied. |
10 |
>Unfortunately, sux (from X11-misc/sux) doesn't work in that case. |
11 |
>I always get |
12 |
>X11 connection rejected because of wrong authentication. |
13 |
> |
14 |
>Are there any means to achieve this? |
15 |
|
16 |
Hi Helmut, |
17 |
|
18 |
you need to read "man xauth" :) |
19 |
|
20 |
/jdb |