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.
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.