Gentoo Archives: gentoo-user

From: Jonas de Buhr <jonas.de.buhr@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Xauthority and su
Date: Wed, 07 Apr 2010 13:12:54
Message-Id: 20100407151001.2b111631@toxic.dbnet
In Reply to: [gentoo-user] Xauthority and su by Helmut Jarausch
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

Replies

Subject Author
Re: [gentoo-user] Xauthority and su Jonas de Buhr <jonas.de.buhr@×××.net>