NOTE: The dthello client is designed to be started by the
system's /usr/dt/bin/Xsession file and is not intended to be
started directly by users. Its start options can be modi-
fied by updating the value of the dtstart_hello[0] variable
used in the Xsession script to start dthello. Editing of
Xsession file is not required here. This variable can be
set on a per user basis by adding it to a user's
$HOME/.dtprofile. Or it can be set by adding a custom
script file of any name to the system's
/usr/dt/config/Xsession.d directory. An example line to add
the systems message of the day, would be:
dtstart_hello[0]="/usr/dt/bin/dthello -file /etc/motd &"
And that used to work fine to display a MOTD or whatever after login
(well, it certainly worked for me in Solaris 7).
But in Solaris 10 they have altered the order in which they do things in
Xssssion so that dtstart_hello[0] gets obeyed *before* either
$HOME/.dtprofile or the Xsession.d files get sourced, which is really
rather stupid.
Is this a known reported bug?
Of course, the workaraound is easy - simply use a suitably hacked
Xsession.
--
Charles H. Lindsey ---------At Home, doing my own thing------------------------
Tel: +44 161 436 6131 Fax: +44 161 436 6133 Web: http://www.cs.man.ac.uk/~chl
Email: c...@clerew.man.ac.uk Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K.
PGP: 2C15F1A9 Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5
> dtstart_hello[0]="/usr/dt/bin/dthello -file /etc/motd &"
>And that used to work fine to display a MOTD or whatever after login
>(well, it certainly worked for me in Solaris 7).
If you are using JDS3, you might be interested in my `sessinfo'
application. Here's part of the README:
This is a Gnome application that's intended to be a semi-graphical
equivalent of the messages that you normally get with a command-line
login session. So far, it's not very graphical. Future versions
might include such things as a graphical banner and graphical panes.
It's available at ftp.cc.umanitoba.ca, in the `source' directory.
--
-Gary Mills- -Unix Support- -U of M Academic Computing and Networking-
> But in Solaris 10 they have altered the order in which they do things in
> Xssssion so that dtstart_hello[0] gets obeyed *before* either
> $HOME/.dtprofile or the Xsession.d files get sourced, which is really
> rather stupid.
> Is this a known reported bug?
Not sure. Check www.opensolaris.org/bugdatabase. Even if the behavior
change is intentional, the documentation should reflect it.
--
Darren Dunham ddu...@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
>In comp.unix.solaris Charles Lindsey <c...@clerew.man.ac.uk> wrote:
>> But in Solaris 10 they have altered the order in which they do things in
>> Xssssion so that dtstart_hello[0] gets obeyed *before* either
>> $HOME/.dtprofile or the Xsession.d files get sourced, which is really
>> rather stupid.
>> Is this a known reported bug?
>Not sure. Check www.opensolaris.org/bugdatabase. Even if the behavior
>change is intentional, the documentation should reflect it.
I already checked there and found nothing. But Opensolaris does not yet
include CDE AIUI, so I would not expect this problem to be reported there.
Since CDE is not part of OpenSolaris, CDE bug reports are not included
in the CDE bug database.
--
Alan Coopersmith * al...@alum.calberkeley.org * Alan.Coo...@Sun.COM
http://blogs.sun.com/alanc/ * http://people.freedesktop.org/~alanc/
http://del.icio.us/alanc/ * http://www.csua.berkeley.edu/~alanc/
Working for, but definitely not speaking for, Sun Microsystems, Inc.