Using xconfirm to display motd?

I would like to use xconfirm to display either the message of the day, or some other message file that I create.  The problem I have is where to put it.  The users on my system (SGI O2 with Irix 6.5) use exclusively csh.  I would like to know where I can put the xconfirm command so that they get the message only once, disregarding the number of shells they might have open.  I tried putting it in Xsession which didn't work, but I don't know why.
BoBAsked:
Who is Participating?
 
mliberiConnect With a Mentor Commented:
if your system uses CDE (Common Desktop Environment), you could append the command at $HOME/.dtprofile.
It will get executed only once at login time.
Beware of executing the command in background.

Example: xconfirm <inputfile &
0
 
BoBAuthor Commented:
Sorry for grading earlier
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.