- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do configure CDE to automatically start apps a...
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
04-21-2004 04:10 AM
04-21-2004 04:10 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 04:16 AM
04-21-2004 04:16 AM
Re: How do configure CDE to automatically start apps at login?
.login (csh)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 04:19 AM
04-21-2004 04:19 AM
Re: How do configure CDE to automatically start apps at login?
Dont forget to start Processes in the Background (& at end of line), otherwise .dtprofile will wait till these are finished.
Just tried to put a "xclock &" into my .dtprofile, it worked fine.
If you have any non X processes you wanna start you should do that with i.e.
"dtterm -e "yourpoc" &
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 06:12 AM
04-21-2004 06:12 AM
Re: How do configure CDE to automatically start apps at login?
you may also use a HOME session in CDE.
You can customize CDE behavior when logging in/out. Options include 'resume session'' and 'return to home session'. There is a configuration panel for this. If using a HOME session, you must start all the programs you want to have started when you login and press the 'save Home session' button. Logout and login and see what programs are automatically started. Config files are saved somewhere in ~/.dt/sessions/Home (or something similar).
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 07:09 AM
04-21-2004 07:09 AM
SolutionFor applications that don't provide restart information, you can put them in an executable script in ~/.dt/sessions/sessionetc . That will be run by dtsession at login. That is documented in the "CDE Advanced User's and System Administrator's Guide" at
http://www.docs.hp.com./cgi-bin/onlinedocs.py?mpn=B1171-90102&service=hpux&path=../B1171-90102/00/00/20
The ~/.dtprofile script is really intended to be used to set environment variables that will inherited by dtsession and all the programs it runs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 08:38 PM
04-21-2004 08:38 PM
Re: How do configure CDE to automatically start apps at login?
I don't want to put anything in .profile of .dtprofile as this will not start the program with my dt session settings. Also I can't find the settings app/file to change my home settings.
The sessionetc option looks like what I'mn looking for, but I created the file (with my commands in it) and it is having no effect! Any thoughts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 08:59 PM
04-21-2004 08:59 PM
Re: How do configure CDE to automatically start apps at login?
check the errorlog files in your .dt directory...
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 10:23 PM
04-21-2004 10:23 PM
Re: How do configure CDE to automatically start apps at login?
I see the problem, I need my displany to be defined when starting X apps. How do I incorporate that in an automated script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 10:34 PM
04-21-2004 10:34 PM
Re: How do configure CDE to automatically start apps at login?
check this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=564560
There I suggested few lines to insert in .profile of an user to do that automatically.
HTH.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 10:35 PM
04-21-2004 10:35 PM
Re: How do configure CDE to automatically start apps at login?
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 10:44 PM
04-21-2004 10:44 PM
Re: How do configure CDE to automatically start apps at login?
Any thoughts before I give up?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 11:48 PM
04-21-2004 11:48 PM
Re: How do configure CDE to automatically start apps at login?
it has no effect : as in it doesn't start your applications ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 11:57 PM
04-21-2004 11:57 PM
Re: How do configure CDE to automatically start apps at login?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 12:00 AM
04-22-2004 12:00 AM
Re: How do configure CDE to automatically start apps at login?
TTY=`who am i | awk '{print $2}'`
DISPLAY=`who -u | grep $TTY| awk '{print $8}'`
export DISPLAY
Connect in telnet (no graphic connection) and insert in .profile exactly three lines above.
Then reconnect to HP-UX box by graphic (Exceed or ReflectionX) and see if problem is solved.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 12:13 AM
04-22-2004 12:13 AM
Re: How do configure CDE to automatically start apps at login?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 12:16 AM
04-22-2004 12:16 AM
Re: How do configure CDE to automatically start apps at login?
TTY=`who am i|awk '{print $2}'`
DISPLAY=`who -u|grep $TTY|awk '{print $8}'`
dtterm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 02:44 AM
04-22-2004 02:44 AM
Re: How do configure CDE to automatically start apps at login?
You probably need to use "chmod +x ~/.dt/sessions/sessionetc". In my first posting I wrote "an executable script". I should have been more clear that the file must have execute permission set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 03:26 AM
04-22-2004 03:26 AM
Re: How do configure CDE to automatically start apps at login?
Then gpto style manager. run startup. there you get option as set home session. Click that. Also choose return to home session option.
That is all.
Next time you login, all applications will be started.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2004 02:23 AM
04-29-2004 02:23 AM
Re: How do configure CDE to automatically start apps at login?
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2004 02:27 AM
04-29-2004 02:27 AM
Re: How do configure CDE to automatically start apps at login?
sessionetc NOT sessionsetc.
Thank you all for your input.