- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- alias, .profile and XDMCP logins
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
11-15-2002 08:21 AM
11-15-2002 08:21 AM
When i connect my HP-UX server with XDMCP, the aliases defined in the .profile of the user are not loaded in the Terminal windows. (I uncomment the DTSOURCEPROFILE in the .dtprofile so that the .profile is loaded)
How to load aliases when I open Terminal windows ?
Thanx.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 08:23 AM
11-15-2002 08:23 AM
Re: alias, .profile and XDMCP logins
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 08:42 AM
11-15-2002 08:42 AM
Solutionadd :
Dtterm*loginShell : True
wq!
exit out of CDE then log back in ?
Nb terminals , dtterm, xterm etc do not reference the users .profile by default : see man dtterm -> -ls and login*Shell references.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 08:42 AM
11-15-2002 08:42 AM
Re: alias, .profile and XDMCP logins
I just tried with no result :-(
Any ideas ?
-rw-r--r-- 1 test test 16 15 nov 17:32 .kshrc
the .kshrc :
alias ll ls -la
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 08:47 AM
11-15-2002 08:47 AM
Re: alias, .profile and XDMCP logins
.profile is executed only in the login shell. It should set a ENV variable pointing to a file (usually $HOME/.kshrc) which will be executed by every child processes. That's the right place to define aliases.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 08:49 AM
11-15-2002 08:49 AM
Re: alias, .profile and XDMCP logins
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 09:28 AM
11-15-2002 09:28 AM
Re: alias, .profile and XDMCP logins
what I usually do is to set and "export" the environment variable "ENV" to point to the user's ".shrc" script and I do that in the user's ".dtprofile".
So, every time s/he logs ins (CDE) that variable is set and inherited by all the subsequent processes, including shells and terminal windows, of course.
And if a POSIX or Korn shell has that variable set when it starts, then it does execute the script referenced by that variable - even if the shell is NOT a login shell...
The "csh" does executes the user's ".cshrc" anyway.
FWIW,
Wodisch