Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!cs.utexas.edu!rice!hsdndev!spdcc!ima!dirtydog!ima.isc.com!brian From: brian@ima.isc.com (Brian Holt Hawthorne) Newsgroups: comp.windows.x Subject: Re: xdm problem w/.profile&.login Message-ID: <1991Jan9.133415@ima.isc.com> Date: 9 Jan 91 18:34:15 GMT References: <127530@linus.mitre.org> Sender: news@dirtydog.ima.isc.com (NEWS ADMIN) Reply-To: brian@ima.isc.com Organization: Interactive Systems, Cambridge, MA 02138 Lines: 17 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. Change your .xsession file to begin with #!/bin/csh and then have the first line be source .login. My .xsession looks like this (for ksh): #!/bin/ksh . $HOME/.kshrc xset b 100 400 150 m 3 etc...