Xdm and startx

J.A. Neitzel jan.listbox at belvento.org
Wed Oct 24 18:02:10 PDT 2001


Craig Colton wrote:
<snip />
>> > I was under the impression (possibly incorrect) that xdm authorizes all
>> > requests for a display. How might xdm be in one's path and not startx?
>>
>> Have you set your PATH to include /usr/X11R6/bin ? xdm BTW does not
>> read any of your shell startup files unless you explicitly tell it to
>> do so somewhere in /etc/X11/xdm/Xsession or by some other method.
>>
>> Also, xdm-config has the following possibility:
>>
>> DisplayManager.DISPLAY.userPath
>>        Xdm sets the PATH environment variable for the ses-
>>        sion to this value.
>>
>> ==== Abbreviated Explanation =) ====
>> Well, one difference between the two is that xdm is started by someone
>> (i.e., superuser) and left running for the purpose of managing
>> displays. xdm doesn't really know anything about the user...
>>
>> startx OTOH, *is* started directly by the user. The user's environment
>> in effect when startx is run gets ?_adopted_? by all of the child
>> processes.
> 
> I think you're saying then, that the user who could not get startx to work,
> ran xdm (which did work) as su; logged out, logged back in as a user and
> tried startx.

No, that is not what I intended to say. In essence, I was trying to
say that xdm and startx have absolutely nothing to do with one
another. I mean, they operate differently at a very basic level.
Apparently, I didn't state this too clearly. Oh well...
-- 
Jeff

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list