Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   gtkpod won't start (http://www.linux-archive.org/gentoo-user/3999-gtkpod-wont-start.html)

Dirk Heinrichs 11-24-2007 07:14 AM

gtkpod won't start
 
Am Freitag 23 November 2007 schrieb Billy Holmes:
> Dirk Heinrichs wrote:
> > No difference with "su -". I don't have any line in root's *rc files
> > which set the DISPLAY.
>
> $ set | grep XAUTH
> $ su -
> # set | grep XAUTH
>
> notice, they will be different.
>
> It boils down to security.
>
> you can do it two ways.
>
> $ su -
> # export XAUTHORITY=/home/$OLDUSER/.Xauthority
> # xterm
>
> -OR-
>
> $ xauth extract /tmp/keys.txt $DISPLAY
> $ su -
> # xauth merge /tmp/keys.txt
> # xterm

Sorry, but I don't get your point. How does this explain why root has a
correct $DISPLAY after using "su" or "su -"?

BTW: On another box running Ubuntu (too slow for all the compiling), using su
doesn't set $DISPLAY for root, which is the behaviour I would expect.

Bye...

Dirk


All times are GMT. The time now is 02:47 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.