[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Structure of /etc/profile



CD Rasmussen writes:

>I like this idea.  Too bad there's not a reliable indicator to use in
>/etc/profile to gate the the non-environment code.  I have not found
>DISPLAY to be a good indicator.
>
>Is this a requirement for a small utility to indicate that its process
>family was started by xdm?
>
>Would it solve the problem if you set an envar in Xsession before
>sourcing /etc/profile?  (Like "export XDM=:")

FYI, Unixware sets XDM_LOGIN=yes to indicate this, though I'm not sure
at what point it happens.

-- 
Richard Kettlewell  richard@uk.geeks.org  http://www.elmail.co.uk/staff/richard/


Reply to: