- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Starting a application after a login
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-14-2002 08:14 AM
11-14-2002 08:14 AM
I've already write about doing what I want and I received an answer and I thought it was working fine, since this morning.... The thing is that I wanna start my SpaceBall driver, and to start it my users need to have access to the display in CDE when they log in, unfortunetly the user need to open a terminal and do the xhost + command to unlook the screen display... The driver need a manager application... that is what I wanna have for the user when they log in....
The answer that has been told to me is to put the xhost + command in the user profile and by doing that the user need a file named .Xdefaults inside what sould have this line dtterm*loginShell: True with that solution it should work... but insted I always need to open a terminal before the driver come up... I mean by that, the user log in, and in CDE it have no dtterm opened, at the time the user open a terminal, the driver come up...
How can I resolve that??? I don't know why all the users need to do a xhost before displaying in CDE???
BTW I tried to put in the profile of the user, dtexec dtterm to open a dtterm as the user is loged in, but it won't even log in to CDE...
Regards,
Jonathan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 10:18 AM
11-14-2002 10:18 AM
Re: Starting a application after a login
come on somebody must know the answer!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 10:28 AM
11-14-2002 10:28 AM
Re: Starting a application after a login
Think this is your situation, your users login on their own workstation before they login on a application server.
If this is true, just put xhost +severname in their .profile on their workstation.
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 10:33 AM
11-14-2002 10:33 AM
SolutionI don't really understand the background of your problem, so I am just going for the "xhost +" for everybody...
Edit the "Xstartup" script and include the "xhost +" there:
# cp /ust/dt/config/Xstartup /etc/dt/config
# echo "xhost +" >> /etc/dt/config/Xstartup
# kill -1 $(UNIX95=. ps -C dtlogin -o pid="" )
That way upon CDE login that command is executed...
FWIW,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 10:37 AM
11-14-2002 10:37 AM
Re: Starting a application after a login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 12:05 PM
11-14-2002 12:05 PM
Re: Starting a application after a login
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 01:06 PM
11-14-2002 01:06 PM
Re: Starting a application after a login
add the local hostname and any remote systems hostname you wish to grant Xhost access to into a file called : /etc/X0.hosts - restart Xserver for it to take effect.
or in $HOME/.dt/sessions creare a script called sessionetc
contents =
/usr/dt/bin/dtterm -display
make it executable , log in & out of CDE.