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?