Operating System - HP-UX
1834498 Members
2236 Online
110067 Solutions
New Discussion

Re: XTerm login screen text (what file has it?)

 
SOLVED
Go to solution
Joe Robinson_2
Super Advisor

XTerm login screen text (what file has it?)

Hi everyone,

I need to identify which file contains the text shown on the initial login screen (Right now, the default "welcome to ....". I've scanned through my manuals but haven't identified where that text is...any ideas?

Thanks id advance.

Best regards,
Joe Robinson
5 REPLIES 5
Sanjay_6
Honored Contributor

Re: XTerm login screen text (what file has it?)

Hi Joe,

If you are looking for the banner displayed on the screen when you do a telnet, the file is /etc/issue. you can also look into /etc/motd.

If you want to display the banner display the banner file each time one opens a dterm, hpterm, or xterm in CDE, there are two options:

Option 1. For user-only settings, set this resource in the $HOME/.Xdefaults file:

*loginShell: True

Option 2. For system-wide changes, set the same resource in /etc/dt/config/C/sys.resources.

Hope this helps.

Regds
Pal Szabo_1
Valued Contributor
Solution

Re: XTerm login screen text (what file has it?)

Hi!

You mean the initial login screen?

Check the global Xresources file:
/usr/dt/config/C/Xresources

There are a lot of dtlogin specific area on this file.
I think you are looking for this:
!! Dtlogin*greeting.labelString: Welcome to %LocalHost%


The dtlogin man page gives
te explanation of another lot of Dtlogin Xresources options.
And you should tell the dtlogin process to reread the new values:

/usr/dt/bin/dtconfig -reset


regards:
Paul
Sanjay_6
Honored Contributor

Re: XTerm login screen text (what file has it?)

Hi Joe,

Here is a link if you want to customize your CDE banner,

http://us-support3.external.hp.com/cki/bin/doc.pl/sid=5b98bf840c27e5fa18/screen=ckiDisplayDocument?docId=200000058694014

Hope this helps.

Regds
Joe Robinson_2
Super Advisor

Re: XTerm login screen text (what file has it?)

Hmmmm...I suppose I should've been more explicit on the question I posed earlier. I'm using VUE, running 10.20; all the posts I'm seeing seem to be referring to CDE as well as the HP online documentation; I don't see any Xresources file in the /usr/vue/bin directory tree.
Alex Glennie
Honored Contributor

Re: XTerm login screen text (what file has it?)

Joe,

Try this :

cd /usr/vue/config
cp Xresources /etc/vue/Xresources

the specific greeting resource string you are looking for is : Vuelogin*greeting.labelString : Welcome to %LocalHost%

though there others worth looking at : see man vuelogin for some extra details.

ps I'd suggest restarting vue by change of run-level for the changes to take effect ie /sbin/init 3 followed by init 4.

Good luck !