1753826 Members
8650 Online
108805 Solutions
New Discussion юеВ

Re: profile problems...

 
Bill Hassell
Honored Contributor

Re: profile problems...

Sorry for the typo:

echo "*loginShell: true" >> .Xdefaults

I specifically used >> to append to your current .Xdefaults file (but likely there isn't one). This file is sort of like .profile only for Xwindows. What it does is to set certain Xwindow default values. For example, the contents might look like this:

*loginShell: true
HPterm*scrollBar: true
HPterm*saveLines: 10s
HPterm*background: navy
HPterm*foreground: white
Xterm*background: darkslateblue
Xterm*foreground: white
Xterm*saveLines: 10s
Xterm*scrollBar: true
Dtterm*saveLines: 10s
Dtterm*scrollBar: true

and after adding these lines to .Xdefaults, all hpterm, xterm and dtterm windows will have a scroll bar plus 10 screens (800 lines) of history. hpterm will have a dark blue with white letter color scheme while xterm will have a more gray-blue background with white letters. dtterm will match the overall CDE color scheme.

.Xdefaults is one of the many ways to set window decorations or resources. Look at the man page for hpterm and you'll see the dozens of options and resources that can be set. They can be set generically for every window or they can be set for a window that has a specific title. man X is a start but a good book on Xwindows will also be worthwhile.

Does this help?



Bill Hassell, sysadmin
Jonathan Caplette
Regular Advisor

Re: profile problems...

Hi guys...

sorry for the delay, but none of these answer working.. :( I still stuck with the problem!!!
Steve Steel
Honored Contributor

Re: profile problems...

Hi

how is the user logging in.

Telnet
X
X-emulator.

When you login can you do set > file
Su as user set > file2
diff file file2

Then you will see.

Maybe he has a fault.

If CDE look at $HOME/.dt/startlog $HOME/.dt/errorlog.

Otherwise put set -x in users .profile
login and you will see the steps taken by the profile.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Jonathan Caplette
Regular Advisor

Re: profile problems...

Hum.. sorry for the delay guys..

I solved my problem, it was with the application (I-deas 8) someone from SDRC came to resolved it!!

Thanks anyway!!
ciao!