Operating System - HP-UX
1836474 Members
2114 Online
110101 Solutions
New Discussion

CDE welcome message blues

 
Bolek Mynarski
Frequent Advisor

CDE welcome message blues

System: L2000 HP-UX 11.00 plain vanila setup. It's pretty mauch factory install.

I want to change the default CDE welcome message reflecting our security policy (so people using ReflectionsX would also see it). I did some reseach and follow this document:

http://us-support2.external.hp.com/cki/bin/doc.pl/sid=39d008a70221243116/screen=ckiDisplayDocument?docId=200000053279128

Upon comparing my /etc/dt/config entries with the ones from the document, I had to copy /usr/dt/config/C/Xresources into /etc/dt/config/C directory and alter it to reflect my new "Welcome".

However, upon logging out and logging back in, nothing is being changed and I still am greeted by the original/default welcome message.

Is there any other place I have to look at to make sure my changes take place?

Thanks.
It'snever too late to learn new things...
4 REPLIES 4
Peter_17
Frequent Advisor

Re: CDE welcome message blues

Hi,

Just a thought, but make sure you removed the "!!" beginning the:
Dtlogin*greeting.labelString: Welcome to %LocalHost% \n blah blah blah\n
blah blah blah your personal text here\n
blah blah blah

in your customized /etc/dt/config/C/Xresources file. That should do it.

HAGO,

Pete
Bolek Mynarski
Frequent Advisor

Re: CDE welcome message blues

It seems like except for Peter, nobody else wanted to bite this one. :-)

In any case, I have solved my problem (however, it wasn't !! in front of Dtlogin, Peter). It seems like there is either a but or an error in documentation. Documentation says:

"Change:
!!Dtlogin*greeting.labelString: Welcome to %LocalHost%

To:

Dtlogin*greeting.labelString: Welcome to %LocalHost%\n
Insert additional message here\n
Final additional text"

Well, that's what I was doing and that was my problem. It appears that CDE will not read your message unless you type it entirely on the line starting with "Dtlogin*greeting.labelString: Welcome to %LocalHost%\nblah,blah\nblah,blah\n"

Did anybody else come across this behaviour? If that's the way it's supposed to be, then, I would recommand to update documentation accordingly because as it is, it will not work. :-)
It'snever too late to learn new things...
Peter_17
Frequent Advisor

Re: CDE welcome message blues

Boleslaw,

I just found the error of my way. I neglected to mention to end each line not only with a "\n" but also with a "\" to excape the CR, like so:

Dtlogin*greeting.labelString: Welcome to %LocalHost% \n Put your custom message here \n and end each line with a '\' \n character. \n oops.

That way, you can put your message on multiple lines within the Xresources file.

HAGO,

Pete
Peter_17
Frequent Advisor

Re: CDE welcome message blues

Arghh...

It appears that the "\" character once again did not appear in my example. Just end each line with the "\" character before your hit Return, and it'll work.

HAGO,

Pete