If I'm logged in as joe and I need  to do something as root, I do a 'su' and
enter the root passwd.  If I want to run some X application, say Filerunner,
then I have no problems.

Given the same scenario, If I 'su -' I cannot run the X application as the
DISPLAY env is not set.

This set me out to learn where the DISPLAY env variable is set.  I cannot
find it.  Where / how is it set ?

Also, is the reason there is a difference between the behavior of 'su' and
'su -' with regard to DISPLAY is that the 'su' would inherit the DISPLAY env
from Joe, where as  root has no DISPLAY env ?  What's the reason for root
not having a DISPLAY env ?

Trying to understand,
Mike


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to