The Java Desktop System does not support system-wide login
scripts or logout scripts. The session manager only allows users to configure
user sessions. Users can configure non-session-managed startup applications
with the Sessions
preference tool.
You can work around the lack of support for system-wide login scripts. To create a system-wide login script, create the script in the /usr/dt/config/Xsession.d directory. Name the script as follows:
number-greater-than-1000.name
For example, name the script 1050.login. For more information about the /usr/dt/config/Xsession.d file, see The XSession File in the dtlogin man page.