- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hummingbird Exceed setup?
Categories
Company
Local Language
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 05:30 AM
11-03-2006 05:30 AM
I'm connecting to an HP-UX 11.11, rp3410, with Exceed. When I open a terminal window, it looks like the .profile and the /etc/profile aren't being read. 'env' shows a lot of variables, but I'm not sure where they come from. I put print statements in both profiles.
Is the system supposed to read them when an Exceed terminal starts? I need to have some extra environment variables set for the database.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 05:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 05:40 AM
11-03-2006 05:40 AM
Re: Hummingbird Exceed setup?
DTSOURCEPROFILE=true in ~user/.dtprofile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2006 09:48 AM
11-07-2006 09:48 AM
Re: Hummingbird Exceed setup?
(The old system (10.02) doesn't have a .dtprofile, and reads /etc/profile)
Am I going to have to source /etc/profile to get user-wide environment variables?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2006 10:12 AM
11-07-2006 10:12 AM
Re: Hummingbird Exceed setup?
In the old days of X11 (Xwindows), there were strange environment variables that could get in the way of Xwindows code when running terminal emulators. Note that the designers of Xwindows had no design goal to take a graphical environment and reduce it down to a simple character interface (ie, the *term programs). So CDE (and VUE and other desktop managers) would eliminate the problem by not logging in normally, that is, bypass /etc/profile and .profile. Later revisions of CDE added the DTSOURCEPROFILE variable but this is only a 50% solution (as you have already seen).
So the only way to msake Xwindow emulators work correctly is to override the no-login behavior with an Xwindow resource variable called *loginShell. The * is a special character that will match the various terminal emulator program names. So the fix is to do this in every user's $HOME directory:
echo '*loginShell: true' >> $HOME/.Xdefaults
Now, you will see a 'normal' login.
...which begs the question: why not run a local telnet session from the PC and dump all that Xwindow junk (and overhead on the LAN and large RAM usage in the PC, etc?...
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2006 10:19 AM
11-07-2006 10:19 AM