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

Displaying the Welcome Message

After sourcing HomeDirectory/.dtprofile and the Xsession.d scripts, Xsession displays a welcome message that covers the screen. You can customize the welcome message displayed, or turn off the message entirely. The dthello client is used to display the message.

To alter the message text, change the dthello options by modifying the dtstart_hello[0] variable.

To change dtstart_hello[0], create an /etc/dt/config/Xsession.d script that sets the new value. To display the message of the day for all users, create an executable sh or ksh script, for example /etc/dt/config/Xsession.d/myvars, and set dtstart_hello[0] as follows:

dtstart_hello[0]="/usr/dt/bin/dthello -file /etc/motd &"

Similarly, users can change the welcome message for their sessions by setting dtstart_hello[0] in HomeDirectory/.dtprofile.

To turn off the welcome message, set dtstart_hello[0]=" ".

For more information about dthello, see the dthello man page.