- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cde customizations
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-11-2004 04:30 AM
03-11-2004 04:30 AM
cde customizations
1) one of the things i've noticed is when root logs in all the shell's start with "/" as the current working directory. now, root's home directory is /root. Other users login into their home directory. To be consistant I'd like for to login to their home directory too.
So, what needs to be modified for this to occur.
2) the second things is customizing the terminals. I thought I could copy /usr/dt/config/C/sys.resources to /etc/dt/config/C/sys.resources
then add a few things like
*loginShell: true
*scrollBar: true
i've tried dtconfig -reset, loging out and loging in, rebooting the system, but I don't see any of the customization occuring.
So, I'm I doing this right?
(and I don't want to use ~/.Xdefaults to do this)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 05:02 AM
03-11-2004 05:02 AM
Re: cde customizations
1. Do you want root terminals to start at /root? Then change root's homedir in /etc/profile (but homedir must be in / filesystem?!)
2. To change dtterm things modify /usr/dt/app-defaults/C/Dtterm
*saveLines=1000
*loginShell: true
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 05:03 AM
03-11-2004 05:03 AM
Re: cde customizations
I meant changing root's homedir in /etc/passwd.
(But maybe a cd command in the .profile or .kshrc may help too.)
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 06:58 AM
03-11-2004 06:58 AM
Re: cde customizations
Do you want root terminals to start at /root?
I want to start at root's home directory. Which is /root as defined in /etc/passwd. So, your suggestion to change root's homedir in /etc/profile has already been done.
(But maybe a cd command in the .profile or .kshrc may help too.)
I setup .dtprofile to source .profile. And putting a cd command in .profile doesn't matter. you can cd to whereever and the shell still starts out with "/" as the current directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 02:51 PM
03-16-2004 02:51 PM
Re: cde customizations
the home session remembers what the current working directory is. I happened to notice that a dtterm started using the desktop_app terminal icon did put the shell at the login directory, /root in my case.
So, removed the terminals that had the shell loging in at /. started up different terminal windows and saved that as the home session.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 03:01 PM
03-16-2004 03:01 PM
Re: cde customizations
putting Dtterm*loginShell: true and other such resource settings in ~/.Xdefaults did get the dtterm windows to behave as a login shell.
the same isn't true for hpterms or xterms. If the windows are started from the command line within a dtterm, hpterm or xterm get the same environment that the dtterm had. If started via an icon, a hpterm or xterm get the cde default environment. And, if started from the command line with the -ls option, the window does behave as a login shell.
I've tried setting the resources in:
/etc/dt/config/C/sys.resources
/etc/dt/config/C/sys.dtwmrc
/usr/dt/config/C/sys.resources
/usr/dt/config/C/sys.dtwmrc
~/.Xdefaults
but, I still can't seem to get a hpterm or xterm to startup with a login shell.
any suggestions on what I might be doing incorrectly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 02:02 AM
03-17-2004 02:02 AM
Re: cde customizations
Add the following:
*loginShell: true
*saveLines: 1024
*scrollBar: true
to these files:
/usr/lib/X11/app-defaults/HPterm
/usr/lib/X11/app-defaults/XTerm
/usr/dt/app-defaults/C/Dtterm
You may also want to check/uncomment:
DTSOURCEPROFILE=true
found in the ~/.dtprofile file (if your using CDE).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2004 09:51 AM
03-26-2004 09:51 AM
Re: cde customizations
once I used these putting the resources in ~/.Xdefaults and
/usr/lib/X11/app-defaults/HPterm
/usr/lib/X11/app-defaults/XTerm
/usr/dt/app-defaults/C/Dtterm
did work just fine
still don't know why
/etc/dt/config/C/sys.resources
/etc/dt/config/C/sys.dtwmrc
don't work at all