Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Xauthority and su
Date: Tue, 06 Apr 2010 10:04:59
Message-Id: tkrat.b9e7479ba8747899@igpm.rwth-aachen.de
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 Many thanks for a hint,
17 Helmut.
18
19 --
20 Helmut Jarausch
21
22 Lehrstuhl fuer Numerische Mathematik
23 RWTH - Aachen University
24 D 52056 Aachen, Germany

Replies

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