When I set my login shell to be /bin/ksh and login from the xdm screen using gnome or kde, it doesn't run my .profile. I'm running pdksh-5.2.14, which came with my Linux Mandrake v6.1 distribution. If I switch to another virtual console (<crtl><alt><F2>) and login, it runs my .profile just fine. If I login using "login danl" in an xterm, it also runs my .profile. The passwd file entry looks like: danl:x:551:551:Dan Lauterbach:/home/danl:/bin/ksh I verified that /bin/ksh is listed in /etc/shells. The system profile (i.e., /etc/profile) is being run just fine. How can I get this to work? Thanks, Dan