Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   su setting $DISPLAY (was: gtkpod won't start) (http://www.linux-archive.org/gentoo-user/4543-su-setting-display-gtkpod-wont-start.html)

Dirk Heinrichs 11-25-2007 06:18 AM

su setting $DISPLAY (was: gtkpod won't start)
 
Am Samstag 24 November 2007 schrieb Billy Holmes:
> Dirk Heinrichs wrote:
> > Sorry, but I don't get your point. How does this explain why root has a
> > correct $DISPLAY after using "su" or "su -"?
>
> it's probably pam related.
>
> check /etc/pam.d/su
>
> check if it has:
>
> session required pam_env.so
> session optional pam_xauth.so

Already checked that, even commented out pam_env.so. DISPLAY still set.

> then check /etc/security/pam_env.conf and make sure the DISPLAY option
> is commented out.

No mention of DISPLAY in this file.

Don't get me wrong, it's OK for me that it is set, but to my knowledge of su
it shouldn't be, so I'm just wondering why?

Bye...

Dirk


All times are GMT. The time now is 12:44 PM.

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