Gentoo Archives: gentoo-user

From: Dirk Heinrichs <dirk.heinrichs@××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: gtkpod won't start
Date: Sat, 24 Nov 2007 08:20:23
Message-Id: 200711240914.46012.dirk.heinrichs@online.de
In Reply to: Re: [gentoo-user] Re: gtkpod won't start by Billy Holmes
1 Am Freitag 23 November 2007 schrieb Billy Holmes:
2 > Dirk Heinrichs wrote:
3 > > No difference with "su -". I don't have any line in root's *rc files
4 > > which set the DISPLAY.
5 >
6 > $ set | grep XAUTH
7 > $ su -
8 > # set | grep XAUTH
9 >
10 > notice, they will be different.
11 >
12 > It boils down to security.
13 >
14 > you can do it two ways.
15 >
16 > $ su -
17 > # export XAUTHORITY=/home/$OLDUSER/.Xauthority
18 > # xterm
19 >
20 > -OR-
21 >
22 > $ xauth extract /tmp/keys.txt $DISPLAY
23 > $ su -
24 > # xauth merge /tmp/keys.txt
25 > # xterm
26
27 Sorry, but I don't get your point. How does this explain why root has a
28 correct $DISPLAY after using "su" or "su -"?
29
30 BTW: On another box running Ubuntu (too slow for all the compiling), using su
31 doesn't set $DISPLAY for root, which is the behaviour I would expect.
32
33 Bye...
34
35 Dirk

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Re: gtkpod won't start Billy Holmes <billy@××××××.net>