Xmanager Forum

HP-UX with tsch hangs at login

Last post: Thursday, July 31, 2008 8:19 AM by Support, 13 reply

 
Tuesday, January 29, 2002 8:36 AM - Tim

HP-UX with tsch hangs at login

 
I have several HP-UX stations that I'd like to use with Xmanager. However when I have them set to default to 'tsch' (T shell), Xmanager hangs at the blue start up screen after logging into CDE. If the HP-UX stations are set back to sh or ksh, Xmanager will work fine. Is there some configuration I need to set to use tsch? Solaris and Linux all appear to work fine, just HPUX that's giving me problems.
Tuesday, January 29, 2002 5:04 PM - Support

Re: HP-UX with tsch hangs at login

 
Please look at the login scripts that are used by tcsh. It might contain a setting for "DISPLAY" variable. If it does, please remove it.

If the problem persists, please give us the following log files.:

- /var/dt/Xerrors
- $HOME/.dt/errorlog
- $HOME/.dt/startlog

--
Technical Support
Friday, July 4, 2008 6:04 AM - Terry Lemons

Re: Re: HP-UX with tsch hangs at login

 
I appear to be having a similar problem to the poster of this base note.

The first two log files requested in the previous reply are empty on my system. The third contains:

# cat $HOME/.dt/startlog
--- Thu, Jul 3, 2008 05:03:28 PM
--- /usr/dt/bin/Xsession starting...
--- Xsession started by dtlogin
--- sourcing //.dtprofile...
--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- sourcing /usr/dt/config/Xsession.d/0020.dtims...
--- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
--- sourcing /usr/dt/config/Xsession.d/0040.xmbind...
--- sourcing /usr/dt/config/Xsession.d/0060.srcsysenv...
--- starting /usr/dt/bin/dthello -file //.dt/paminfo_nwclient1.backup:3 -file /etc/copyright &
--- starting /usr/dt/bin/dtsearchpath -ksh
--- starting /usr/dt/bin/dtappgather &
--- execing /usr/dt/bin/dtsession ...
not sourcing //.profile (see //.dtprofile)
#


Thoughts?

Thanks!
tl
Saturday, July 5, 2008 7:17 AM - Dick Richardson

Re: Re: Re: HP-UX with tsch hangs at login

 
There might be some errors in your login script. Try commenting out "DTSOURCEPROFILE=true" from $HOME/.dtprofile.

And, explain your problem in more detail. Help us understand your problem better =)
Tuesday, July 8, 2008 5:55 AM - Terry Lemons

Re: Re: Re: Re: HP-UX with tsch hangs at login

 
Hi Dick

Thank you for the reply. The line "DTSOURCEPROFILE=true" is already commented out.

My problem is the Xmanager-created session hangs at the blue start up screen after logging into CDE. So, login does happen, I see the screen (the blue CDE screen), but I never see the next screen.

Please let me know if I'm not being clear or complete.

Thanks!
tl
Wednesday, July 9, 2008 11:16 AM - Support

Re: Re: Re: Re: Re: HP-UX with tsch hangs at login

 
This problem may occur when the necessary font pack is not installed on Xmanager or if their are some errors in user account. Please try the following two solutions:

1. In the Login screen, select C for Language and try logging in.
2. Create a new user account and try logging in to that account.

If the problem persists, please send us the following information.

1. Xmanager log file: Following URL shows how to retrieve it:
How to get Xmanager log
2. Xerrors file. Please check again to see if /var/dt/Xerrors is created.

Hope this solves your problem.

---
Technical Support

Did you know that Xshell and Xftp are free for home and school use? To find out more, please click here.

Wednesday, July 9, 2008 11:08 PM - Terry Lemons

Re: HP-UX with tsch hangs at login

 
Hi

Thanks for the suggestions. On the HP-UX login screen, I selected 'C', but this didn't change the behavior.

I didn't try creating another account, because I need to be able to log in to 'root', and this works fine on every other X-capable system in my lab.

I attached the X0.log file.

Thanks!
tl
Attachment X0.log (9.2 KB)  
Friday, July 11, 2008 10:29 AM - Support

Re: Re: HP-UX with tsch hangs at login

 
The log file shows that there is no font problem.

There may be some errors in your login scripts. In your HOME directory, try renaming the following files and logging in again.

.dt, .dtprofile, .login, .cshrc

---
Technical Support


Did you know that Xshell and Xftp are free for home and school use? To find out more, please click here.
Saturday, July 12, 2008 4:46 AM - Terry Lemons

Re: Re: Re: HP-UX with tsch hangs at login

 
Thanks for the suggestion. I renamed .dt and .dtprofile (the other two files don't exist in that account's directory). No change in behavior.

What else can it be?

Thanks
tl
Saturday, July 19, 2008 10:46 AM - Support

Re: Re: Re: Re: HP-UX with tsch hangs at login

 
Please answer the following questions and we will try to find a solution for you.

1. What type of Shell environment are you using?
2. Attach your login script
3. After you login, leave Xmanager running for longer period time (about 5 minutes).
*Please send us a screenshot if there is any message.
4. Try logging into a same account from a different PC.
5. Try logging into a different account from your PC.

Thank you for your cooperation.

---
Technical Support

Did you know that Xshell and Xftp are free for home and school use? To find out more, please click here.

Tuesday, July 22, 2008 10:28 PM - Terry Lemons

Re: HP-UX with tsch hangs at login

 
Hi

Thanks for the reply.

1. What type of Shell environment are you using?
> /sbin/sh, that's what I see when I log in to the 'root' account via ssh.

2. Attach your login script
> I don't have one for this account (.login and .cshrc don't exist)

3. After you login, leave Xmanager running for longer period time (about 5 minutes).
*Please send us a screenshot if there is any message.
> I've let it run for hours, and it never completes the login. There are no error messages, or messages of any kind, just the 'blue' login screen.

4. Try logging into a same account from a different PC.
> I have two Xmanager licences, on two different computers, and I see the same behavior from both computers.

I can log in using Xstart, but can't log in using Xbrowser.

Thanks!
tl
Thursday, July 24, 2008 12:22 PM - Support

Re: Re: HP-UX with tsch hangs at login

 
There seems to be a problem with your profile setting. One possibility is that your login script is manually assigning the DISPLAY variable. Check the following files and comment out the line that manually assigns the DISPLAY variable.

/etc/profile (This file effects all users)

$HOME/.profile (User specific setting)

If the problem persists, please send us the followings:

1. Screenshot of Login screen
2. Screenshot after you login to your account (?blue? screen)
3. /var/dt/Xerrors
4. From your PC, try loggin into a different user account

Meanwhile, you can run CDE via Xstart. Here is an instruction:

/products/xmg_tutorial7.html

Hope this fixes your problem.

---
Technical Support


Did you know that Xshell and Xftp are free for home and school use? To find out more, please click here.
Wednesday, July 30, 2008 3:18 AM - Terry Lemons

Re: Re: Re: HP-UX with tsch hangs at login

 
Hi

I tried your suggestion, but DISPLAY doesn't appear in either of those files.

I ran 'top' on the system as I was trying to log in via X, and noticed that the process running 'ttsession' is getting 96% of the CPU. This seems like a problem to me. What should I look at to diagnose this? I've attached a screenshot of the blue screen, and the 'top' output in the attachement.

Thanks
tl
Thursday, July 31, 2008 8:19 AM - Support

Re: Re: Re: Re: HP-UX with tsch hangs at login

 
Lemon, there is no attachment.

Please contact our support at support@netsarang.com for futher customer support.

Please include answers to the following questions.

1. Screenshot of Login screen
2. Screenshot after you login to your account (¿blue¿ screen)
3. /var/dt/Xerrors
4. From your PC, try loggin into a different user account

Thank you.

---
Technical Support