This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.
You need to look in /usr/lib/X11/scologin. There you will find several Xsession files: Xsession-sh, Xsession-csh and Xsession-ksh. You need to create one for your shell. These are very simple files that just set some environment variables and test for a fail-safe login, so you can usually just copy something similar. To use bash, for example, you could copy Xsession-sh to Xsession-bash.
Got something to add? Send me email.