Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-beacon!deccrl!news.crl.dec.com!shlump.nac.dec.com!ryn.mro4.dec.com!decvax.DEC.COM!evans From: evans@decvax.DEC.COM (Marc Evans) Newsgroups: comp.windows.x Subject: Re: xdm problem w/.profile&.login Message-ID: <502@decvax.decvax.dec.com.UUCP> Date: 11 Jan 91 17:48:36 GMT References: <127530@linus.mitre.org> Sender: news@decvax.dec.com.UUCP Reply-To: evans@decvax.DEC.COM Organization: Synergytics Lines: 25 In article <127530@linus.mitre.org>, dsr@mir.mitre.org (Douglas S. Rand) writes: |> How can one get xdm to read the appropriate .login or .profile file for a |> user it is starting up? Kind of a pain since you really don't want to |> set PATH over and over again in the .cshrc file. Usually, this is left up the the individual to place in their ~/.xsession. The reason is because different people use different shells, and handling this in a central location is actually more work than to have each user add something like 'source ~/.login' on the second line of their ~/.xsession (#!/bin/{shell} is usually the first line). |> Also, if one wants to run xdm by default, where is the best place to |> start it up? (rc.local? ttytab?) This depends on the type of OS you are dealing with. For example, under OSF/1 you would make an entry in /etc/inittab, whereas under Ultrix, the easiest way to do this is in /etc/ttys, while other systems use /etc/rc.local. In any event, do whatever seems the most natural for your OS. - Marc -- =========================================================================== Marc Evans - WB1GRH - evans@decvax.DEC.COM | Synergytics (603)635-8876 Unix and X Software Contractor | 21 Hinds Ln, Pelham, NH 03076 ===========================================================================