- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Where is SESSIONTYPE set up?
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-10-2006 02:28 AM
03-10-2006 02:28 AM
Where is SESSIONTYPE set up?
I have a .xsession file in the users home directory, so that when they log in, they don't get access to any terminal windows, but only particular application programs.
This works fine on pic2004, but on pic2025, they get a normal CDE session with access to terminal windows.
.dtprofile is obviously the same, as are /usr/dt/config/Xconfig. The only difference between the /etc/dt/config/Xconfigs is one has a different Dtlogin*language setting.
I've got a suspicion that the issue may be due to the SESSIONTYPE variable.
Can anyone tell me where this is set up - not where I should change it, but where it is actually set up in the first instance?
Thanks,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2006 02:42 AM
03-10-2006 02:42 AM
Re: Where is SESSIONTYPE set up?
Check these threads,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=96383
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=296846
I think, it should be in $HOME/.dtprofile
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2006 02:42 AM
03-10-2006 02:42 AM
Re: Where is SESSIONTYPE set up?
in /usr/dt/bin/Xsession
on a per user in .dtprofile
or create file in /etc/dt/config/Xsession.d/##.xdm
with perms 555
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2006 03:00 AM
03-10-2006 03:00 AM
Re: Where is SESSIONTYPE set up?
Alex, Hi! SESSIONTYPE is not currently set in any of the three places that you mention. /usr/dt/bin/Xsession actually tests for SESSIONTYPE, so I guess it should be set up before /usr/dt/bin/Xsession is called.
Cheers,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2006 07:31 PM
03-13-2006 07:31 PM
Re: Where is SESSIONTYPE set up?
I got to the bottom is this problem and thought you may be interested in what the fix was, so here goes...
As part of an application installation, /usr/dt/config/Xsession gets cutomised and given a new name (it now checks for the existance of ~/.xsession when deciding which window manager to use). A corresponding entry is made in /usr/dt/config/Xconfig, so that the new Xsession is used.
This would have been OK, except for the fact that there was also an unmodified Xconfig in /etc/dt/config - this file was being picked up in preference to the one in /usr.
Anyway, I made the customisation to the file in /etc and the user's environment was just fine after that.
Thanks again for your help.
Gary