The file /etc/X11/xdm/Xsession in both RedHat 4.2 and RedHat 5.0 has two bugs in it. First of all it begins with #!/bin/bash -login which will cause the .Xsession to be invoked in a shell with status after .profile has been read rather than before as is the case on all other Unixes. Secondly, it makes use of the 'freetemp' program which lives in /usr/X11R6/bin which is not on the path -- it is implicitly assuming that every user's .profile will happen to put /usr/X11R6/bin on the path in order for it to work correctly. These can both be fixed by changing the line quoted above to be the two lines: #!/bin/sh PATH=$PATH:/usr/X11R6/bin -- ----------------------------------------------+------------------------ Dr. R.J. Black, Lecturer, | Phone: +44 141 330 6039 University of Glasgow, Computing Science Dept.| Fax: +44 141 330 4913 17 Lillybank Gdns., Glasgow G12 8RZ, U.K. | Mail: [EMAIL PROTECTED] -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES! http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.