- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- CDE login banner
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 01:28 PM
03-22-2004 01:28 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 03:16 PM
03-22-2004 03:16 PM
Re: CDE login banner
greeting*labelString: Welcome to %LocalHost%
and
greeting*persLabelString: Welcome %s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 03:18 PM
03-22-2004 03:18 PM
Re: CDE login banner
# vi ~/.dtprofile
...
export DTSOURCEPROFILE=true
...
setting the variable to true cause CDE to read a user's .profile in additiona to their .dtprofile.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 04:17 PM
03-22-2004 04:17 PM
Re: CDE login banner
Please view the attachment. Could it possible remove the 192.1.8.46:0.0 -Home? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 05:04 PM
03-22-2004 05:04 PM
Re: CDE login banner
but you'll need to modify the correct Xresources file, in the Xconfig file it is usually defined as: %L/Xresources
with the %L being the language that your using. you can see what it is set to using the option button, language from the login screen.
if your logged in you can see what the LANG variable is set to, echo $LANG. And, see what that might correspond to by look at what languages there are be doing an ls on /usr/dt/config
then you'll need to create the directory /etc/dt/config/yourLanguage
copy the Xresources file from
/usr/dt/config/yourLanguage/Xresouces to /etc/dt/config/yourLanguage/Xresources
in this Xresources you need to modify the variables.
then reset the X server to get it to re read it's configuration.
/usr/dt/bin/dtlogin -reset
and see if that helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 05:47 PM
03-22-2004 05:47 PM
Re: CDE login banner
I believe that is the $DISPLAY variable. You may like to search ~/.dtprofile for that.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 06:03 PM
03-22-2004 06:03 PM
Re: CDE login banner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 06:15 PM
03-22-2004 06:15 PM
Re: CDE login banner
Rather difficult to help you, having no config files (although I think the last time I read them is more than 10 years ago).
One might think that you miss a quote somewhere in a config file, causing a string to be longer than expected. So search for DISPLAY or another variable / token indicating the display in your config files and check the preceding lines.
Or is it a bug?
Maybe you should go back to the default, and modify the files step by step.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 06:17 PM
03-22-2004 06:17 PM
Re: CDE login banner
would you mind sending your .profile and .dtprofile file for better understanding of your problem?
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 09:28 PM
03-22-2004 09:28 PM
Re: CDE login banner
Due to that's my customer machine. I can't get the .profile and .dtprofile currently. But I try to append export DISPLAY=123.456.111.000:0.0 in the .dtprofile and .profile in my test machine , then reset the CDE, but I can not see the 123.456.111.000 in the CDE login screen. Could you please tell me how to let CDE login banner has such function. Thanks in advanced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 09:48 PM
03-22-2004 09:48 PM
Re: CDE login banner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 05:12 AM
03-23-2004 05:12 AM
Re: CDE login banner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 11:52 AM
03-23-2004 11:52 AM
Re: CDE login banner
Please help me again and view the attachment. The .profile and .dtprofile not configure any "DISPLAY", why can see "192.1.8.46:0.0 - Home" in the CDE login screen? Thanks in advanced.
NOTES: The font is zh_TW.big5 (Chinese font)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 05:31 PM
03-23-2004 05:31 PM
Re: CDE login banner
/usr/dt/config/zh_TW.big5/Xresouces
and
/etc/dt/config/zh_TW.big5/Xresources
the /etc/.../Xresources will take precedence
take a look at the Dtlogin*greeting*labelString
the default is "Welcome to %LocalHost%"
double quotes are mine
the resource can contain %DisplayName%, which will be replaced by the X server display name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 12:03 AM
03-24-2004 12:03 AM
SolutionJust for clarity - .dtprofile has nothing to do with the appearance or operation of dtlogin or dtgreet.
The process sequence is like this:
dtlogin (root)
dtgreet (root)
Xsession (as user)
dtsession (as user) <<< here is where .dtprofile is used
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 12:46 AM
03-24-2004 12:46 AM
Re: CDE login banner
Change the login screen "Welcome" message-
It can be set system-wide by adding these lines in the /etc/dt/config/C/Xresources file:
Dtlogin*greeting.labelString: Welcome to %LocalHost%\n
Insert additional message here\n
Final additional text
Note:
The \n's indicate places where new lines should appear
in the greeting.
Inserting %DisplayName% will display the X server
display name if different from the login host.
Once the user name has been entered, the login server displays the message "Welcome username" by default. This greeting string can be customized by changing the line:
Dtlogin*greeting.persLabelString: Welcome %s
Note:
The "%s" will be replaced with the username by
the system. So if you want to change the login
to read "login_name is a goof", you would make
the change look like "%s is a goof"; instead
of "Welcome %s".