Operating System - HP-UX
1832757 Members
3038 Online
110045 Solutions
New Discussion

xterm does not work with .kshrc

 
Ron Kunzi
Occasional Contributor

xterm does not work with .kshrc

Customer has a J5600 with HP-UX 11.0. When they login to this system they are not able to open an xterm window automatically. Its within the .kshrc to do so, but it works fine manually. Dtterm and hacterm work fine automatically. What is going on? Any suggestions would be helpful.

Ron
3 REPLIES 3
Leif Halvarsson_2
Honored Contributor

Re: xterm does not work with .kshrc

Hi,
Do the customer run CDE on this workstation and, if he does, what do you mean with running "automatically".
Steven E. Protter
Exalted Contributor

Re: xterm does not work with .kshrc

I thought xterm worked with the parameters in the .dtprofile ... files.

Maybe the TERM setting is wrong there. Maybe my brain setting is wrong too. I don't know.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Wodisch
Honored Contributor

Re: xterm does not work with .kshrc

Hi Ron,

are you actually logging in using something like TELNET/RLOGIN/SSH or graphically, like CDE?
Only in the latter case the neccessary environment variable $DISPLAY is set at all!
If you want X-Windows to be used from within a non-X-Windows session, you'll have to set $DISPLAY yourself, only then start X-Windows clients (like "xterm")...

FWIW,
Wodisch