FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-24-2007, 07:14 AM
Dirk Heinrichs
 
Default 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
 

Thread Tools




All times are GMT. The time now is 03:17 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org