HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /usr/dt/bin/Xsession
Operating System - HP-UX
1832953
Members
2721
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
08-06-2002 06:44 AM
08-06-2002 06:44 AM
/usr/dt/bin/Xsession
A previous sys admin modified /usr/dt/bin/Xsession file, which all of our Xterminals use when logging into our Serviceguard package. I would like to put the Xsession file in a location where it will NOT be overwritten when applying patches. Where do I do the redirection? What would be a good location to put the file? Any input would be appreciated.
Sometimes the best answer is another question
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 06:51 AM
08-06-2002 06:51 AM
Re: /usr/dt/bin/Xsession
Why not create a copy:
cp -p /usr/dt/bin/Xsession /usr/dt/bin/ORIG_Xsession
You really want the patch to laydown a new Xsession file so that you can compare the two for any new elements you might want to take advantage of.
live free or die
harry
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 06:54 AM
08-06-2002 06:54 AM
Re: /usr/dt/bin/Xsession
Harry,
That has already been done. The problem is remembering to look there after applying the patches. There should be a way to redirect the Xterms to use a different Xsession file, within the dtlogin structure. I'm just not aware of how to do that.
That has already been done. The problem is remembering to look there after applying the patches. There should be a way to redirect the Xterms to use a different Xsession file, within the dtlogin structure. I'm just not aware of how to do that.
Sometimes the best answer is another question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 07:18 AM
08-06-2002 07:18 AM
Re: /usr/dt/bin/Xsession
Hello,
The path of the Xsession file is set by Xconfig. You could set this to a customised name therefore bypassing the default file. (Whether the Xconfig file may get overwritten I do not know). Depending on what the settings are in your file, you could also set them somewhere else, for example, the users .dtprofile.
All in all, I agree with harry regarding the patch installing a new file. There is probably a good reason the patch is doing this and it may cause more problems. How about just adding the edits to the file (or just a reminder) in your system procedures documentation?
Simon.
The path of the Xsession file is set by Xconfig. You could set this to a customised name therefore bypassing the default file. (Whether the Xconfig file may get overwritten I do not know). Depending on what the settings are in your file, you could also set them somewhere else, for example, the users .dtprofile.
All in all, I agree with harry regarding the patch installing a new file. There is probably a good reason the patch is doing this and it may cause more problems. How about just adding the edits to the file (or just a reminder) in your system procedures documentation?
Simon.
I'm still working on that one
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP