1753940 Members
9195 Online
108811 Solutions
New Discussion юеВ

Problem with DT Login.

 
SOLVED
Go to solution
Mani Vannan
Advisor

Problem with DT Login.

Hi everyone,

I've got a problem with one of our Workstations running CDE on HP UX 11.11.

The Workstation, was out of use for more than a month and now only the root user is allowed DT Login & when normal users try for DT access, the screen simply hangs, and the login screen returns to the console after a while.

When I tried changing the UID of an user to "0", and then tried for DT access, it perfectly works fine. I've checked the disk space on the user's home directory, and it's just 60 % full.

Could anyone please guide me as to what could be the possible problem.

Thanks a million.
21 REPLIES 21
RAC_1
Honored Contributor

Re: Problem with DT Login.

What does syslog file say?? May be at DT, only root is allowed to login.
There is no substitute to HARDWORK
Sameer_Nirmal
Honored Contributor

Re: Problem with DT Login.

Hi Mani,

CDE usage is seems to be restricted only to "root" & uid 0.

Check /etc/dt/config/Xsession.d/*.nologin
& /etc/dt/config/Xstartup files for login restrictions.

Similarly check following logs files
/var/dt/Xerrors
$HOME/.dt/errorlog
$HOME/.dt/startlog

CDE Guide is at
http://docs.hp.com/en/B1171-90162/index.html
Robert-Jan Goossens_1
Honored Contributor

Re: Problem with DT Login.

Hi Mani,

Could you post the errors from the file $HOME/.dt/errorlog of one of these users ?

Regards,
Robert-Jan
Mani Vannan
Advisor

Re: Problem with DT Login.

Hi RAC,

These are the following lines I was able to look in the Sylog file, related to dt.

Mar 17 19:24:37 akinnaa0 inetd[864]: dtspc/tcp: Added service, server /usr/dt/bin/dtspcd

Mar 17 19:24:37 akinnaa0 inetd[864]: rpc.cmsd/udp: Added service, server /usr/dt/bin/rpc.cmsd

Mar 17 19:24:37 akinnaa0 inetd[864]: rpc.ttdbserver/tcp: Added service, server /usr/dt/bin/rpc.ttdbserver

Plus, I got a message like this:

Mar 17 19:27:15 akinnaa0 syslog: libtt[1733]: ttdt_Xt_input_handler(): tttk_mess
age_receive(): TT_ERR_NOMP^INo ttsession process is running, probably because tt
_open() has not been called yet. If this code is returned from tt_open() it mean
s ttsession could not be started, which generally means ToolTalk is not installe
d on this system.

Can you please help me to interpret something possibly wrong ?

Thanks.
Mani Vannan
Advisor

Re: Problem with DT Login.

Hi Robert,

These are the contents of the errorlog files from the .dt dir of an user home dir.


*** INFORMATION(0): dtwm: PID 2407: Fri Mar 17 19:58:33 2006
Workspace Manager: Menu specification UserMenu not found


*** [119]

*** STDERR(1): (/usr/dt/bin/dtexec) /etc/dt/scripts/cdeexit: PID 2582: Fri Mar 17 19:59:51 2006
rm: .trashinfo non-existent

*** [124]

*** STDERR(1): (/usr/dt/bin/dtexec) /etc/dt/scripts/cdeexit: PID 2582: Fri Mar 17 19:59:51 2006
rm: /home/mz35h6/.dt/Trash/* non-existent

*** [138

Please advise.

Thanks.
Mani Vannan
Advisor

Re: Problem with DT Login.

Hi Sameer,

I've checkout all the files you've mentioned and found the following in startlog in the users .dt dir, which reads:
--- Fri Mar 17 19:58:28 IST 2006
--- /usr/dt/bin/Xsession starting...
--- Xsession started by dtlogin
--- sourcing /home/mz35h6/.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 /etc/dt/config/Xsession.d/0040.xlock...
--- sourcing /usr/dt/config/Xsession.d/0040.xmbind...
--- sourcing /usr/dt/config/Xsession.d/0060.srcsysenv...
--- sourcing /etc/dt/config/Xsession.d/xsession.ugs...
--- starting /usr/dt/bin/dthello &
--- starting /usr/dt/bin/dtsearchpath -ksh
--- starting /usr/dt/bin/dtappgather &
--- execing /usr/dt/bin/dtsession using /home/mz35h6/.profile...
Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter
[3g H H H H H H H H

Thanks,
Victor Fridyev
Honored Contributor

Re: Problem with DT Login.

Hi,

DT usually is very sensitive to errors in startup files.
Please try to rename temporarily the user's .profile and .kshrc files an try to log in.
Additionally you can remove .dt directory in the users home directory. In 90% of cases this helps.

HTH
Entities are not to be multiplied beyond necessity - RTFM
Robert-Jan Goossens_1
Honored Contributor

Re: Problem with DT Login.

Hi Mani,

Chech the permissions of the /etc/hosts file

-r--r--r-- 1 bin bin 616 Jul 1 16:03 /etc/hosts

# nslookup hostname
# nslookup ip_of_hostname

the output of both commands should be the same.

Regards,
Robert-Jan
Senthil Kumar .A_1
Honored Contributor

Re: Problem with DT Login.

Hi,

First check what robert has suggested. Apart from that you need to perform a small test following reasons.

"dtwm: PID 2407: Fri Mar 17 19:58:33 2006
Workspace Manager: Menu specification UserMenu not found
"

The above error points something is missing. Assuming that there are some config files missing for already existing normal user, we might have to confirm for new users.

create a test user and test his DT.that is...

useradd -m test
passwd test

By this I'm just eliminating a possibilty of config file missing/corruption issue. By creating new user, a .dt dir will be created under his home dir, with the available config templates which is in /usr and /etc dir. If the DT works for this new user, then we might have to think of a workaround of purging the DT's of existing normal users and fixing it with right ones.

regards,
Senthil Kumar .A
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)