Operating System - HP-UX
1832617 Members
2809 Online
110043 Solutions
New Discussion

Re: I can't login under X

 
Bakos György
Super Advisor

I can't login under X

I can't login under X.
Push Ok black screen , sand hour, but there is no blue CDE starting screen and 10 sec and again the CDE login.
In syslog.log is no log of that problem.
dr_dt nothing important(there is no xmbind, suid_exec, but i see this files on an another working machine not)
At the begin of the problem i had detected some disk problems, i think that the user switched off the computer by 230V conector.

My previus forum for this disk problem is that:
http://forums1.itrc.hp.com/service/forums/postanswer.do?threadid=293397&forumId=1

but I will here continue this X problem.
45 REPLIES 45
RAC_1
Honored Contributor

Re: I can't login under X

As you said, you have already checked dr_dt and did not find any errors in that.

Check if nslookup to and fro is OK.
Host resolution should be OK.

Also check by restarting dtlogin process.

Logs to check .dt/errorlog and /var/dt/Xerrors.
There is no substitute to HARDWORK
Bakos György
Super Advisor

Re: I can't login under X

/var/dt/Xerrors

X server unable to open /var/X11/Xserver/logs/x0.log for writing
Warning: Cannot convert string "Alt CtrlInsert" to type VirtualBinding
RAC_1
Honored Contributor

Re: I can't login under X

Check perms on var/X11/Xserver/logs.

Shoud be writable. Also do you see any errors in .dt/errorlog?

Are you able to login with superuser id?
There is no substitute to HARDWORK
Bakos György
Super Advisor

Re: I can't login under X

In .dt/errorlog
nothing


startlog
some arg list too long
Steve Steel
Honored Contributor

Re: I can't login under X

Hi

Permissions

Try

chmod ow /var/X11/Xserver/logs/X0.log


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Bakos György
Super Advisor

Re: I can't login under X

I fact there is no /var/X11 directory, that ca came from disk fail
Bakos György
Super Advisor

Re: I can't login under X

again I am litle bit ...
In fact there is no /var/X11 directory, that cames from disk fail
Bakos György
Super Advisor

Re: I can't login under X

/var/dt/Xerrors

That is OK now:X server unable to open /var/X11/Xserver/logs/x0.log for writing
I have create it

That is only what I have at the moment.
Warning: Cannot convert string "Alt CtrlInsert" to type VirtualBinding



.dt/errorlog nothing

In startlog is interesant:
/usr/dt/bin/dthello: arg list too long
dtsearchpath
dtappgather
Xsession[598]:/usr/bin/ksh
Xsession[617]: /bin/rm:

all arg list too long
RAC_1
Honored Contributor

Re: I can't login under X

Do you anything extra in your .profile and .dtprofile.

Also is .profile set to be run for CDE login?

Anything in any on these have dthello etc commands?

If any post those.
There is no substitute to HARDWORK
Bakos György
Super Advisor

Re: I can't login under X

sorry I mean (I only think)
login is on dtlogin.
Steve Steel
Honored Contributor

Re: I can't login under X

Hi


Post .dtprofile .profile .dt/startlog from user and tail -n 50 /etc/rc.log


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Bakos György
Super Advisor

Re: I can't login under X

1
Bakos György
Super Advisor

Re: I can't login under X

2
Bakos György
Super Advisor

Re: I can't login under X

3
Bakos György
Super Advisor

Re: I can't login under X

4
RAC_1
Honored Contributor

Re: I can't login under X

There is no .profile in attachments.

Seems that there .profile calls StartFirst script.

Post both script. .profile and StartFirst
There is no substitute to HARDWORK
Bakos György
Super Advisor

Re: I can't login under X

again
this is a pack.zip file it conaines the previus request
Bakos György
Super Advisor

Re: I can't login under X

The problem is on:

by root and user

Not for only one person.
But this to long is on all
RAC_1
Honored Contributor

Re: I can't login under X

Last line in .profile --> typeset -x ENV=~/.sh

post .sh file.

Also check following error messages in startlog.

StartFirst[8]: /usr/dt/bin/dthello: arg list too long
--- starting /usr/dt/bin/dtsearchpath -ksh
StartFirst[6]: /usr/dt/bin/dtsearchpath: arg list too long
--- starting /usr/dt/bin/dtappgather &
--- execing /usr/dt/bin/dtsession using /root/home/root/.profile...
StartFirst[8]: /usr/dt/bin/dtappgather: arg list too long
/usr/dt/bin/Xsession[592]: /sbin/sh: arg list too long
/usr/dt/bin/Xsession[617]: /bin/rm: arg list too long

The problem is due to StartFirst errors.

Post file .sh as said above.
There is no substitute to HARDWORK
Bakos György
Super Advisor

Re: I can't login under X

Sorry I send ewerything again,
Now is root and assy_tst user present

We are in big hurry sory for ewerything

Please send now again the requested files.
The CDE is not starting on both user.
RAC_1
Honored Contributor

Re: I can't login under X

Do you have .sh file in home dir?

Post it.

Did you restart dtlogin process. If not do that.

/sbin/init.d/dtlogin stop
/sbin/init.d/dtlogin start
There is no substitute to HARDWORK
Bakos György
Super Advisor

Re: I can't login under X

here you are.
In assy_tst home i haven't find sh, but I think that is not the problem.
Bakos György
Super Advisor

Re: I can't login under X

dtlogin start,stop, nothing
a had alredy rebooted
RAC_1
Honored Contributor

Re: I can't login under X


Did not see anything wrong in .sh file.

Can you comment out the ENV line in .profile and try.

Also did you restart dtlogin process.

Post the rsults.

Going for dinner, will back in 30 mins.
There is no substitute to HARDWORK