Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!ncar!gatech!bloom-beacon!dont-send-mail-to-path-lines From: pete@iris49.UUCP (Pete Ware) Newsgroups: comp.windows.x Subject: Re: Those Wacky .xsession files Message-ID: <9102141614.AA03702@iris49.biosym.com> Date: 14 Feb 91 16:14:00 GMT References: <9102132312.AA19002@jupiter.saic.com> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 17 I'd first make sure your .xsession works at all. My second guess is that your shell script is getting executing by the csh because: 1. The first character is a '#'. Change it to "#! /bin/sh" 2. xdm is doing something like "/bin/csh -c $HOME/.xsession" and it's getting read as a csh script. To test your script, rename the .xsession file to something innocuous and start up with the default configuration. Then just type "$HOME/.xsession" and see if everything works. --pete P.S. Granted your tautological test [if 1=1] is probably just a typo, but it won't work under any shell. Pete Ware / Biosym / San Diego CA / (619) 546-5532 uucp: scripps.edu!bioc1!pete Internet: bioc1!pete@scripps.edu