Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

User Startup Files

To source the .login (for csh users) or the .profile (for sh or ksh users) file, uncomment the last line in the .dtprofile file to read:


In most cases this is all that is necessary. However, in some cases you need to modify the .login or .profile file because it may contain commands that will not work with the Solaris CDE Login Manager. If there is a problem with one of the commands, it usually relates to the file expecting a terminal keyboard input source such as stty, tset, or any “wait for input” commands.

Caution – Caution –

If .dtprofile is set to source a .login or .profile file that has problem commands in it that crash the shell, desktop startup will fail. Consequently, no desktop will appear. Instead, you will see the Solaris CDE login screen redisplay. Startup errors from .login or .profile will usually be noted in HomeDirectory/.dt/startlog. Use a failsafe login session or a command line login to debug problem commands in .login or .profile.

For more information on problems and their possible solutions, review the .dtprofile file. In general, problem commands are related to terminal information and control.