- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with DT Login.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 06:04 PM
03-17-2006 06:04 PM
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 06:10 PM
03-17-2006 06:10 PM
Re: Problem with DT Login.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 07:28 PM
03-17-2006 07:28 PM
Re: Problem with DT Login.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 07:43 PM
03-17-2006 07:43 PM
Re: Problem with DT Login.
Could you post the errors from the file $HOME/.dt/errorlog of one of these users ?
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 10:39 PM
03-17-2006 10:39 PM
Re: Problem with DT Login.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 10:43 PM
03-17-2006 10:43 PM
Re: Problem with DT Login.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 11:07 PM
03-17-2006 11:07 PM
Re: Problem with DT Login.
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2006 12:48 AM
03-18-2006 12:48 AM
Re: Problem with DT Login.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2006 12:54 AM
03-18-2006 12:54 AM
Re: Problem with DT Login.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2006 05:45 AM
03-18-2006 05:45 AM
Re: Problem with DT Login.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2006 07:00 AM
03-18-2006 07:00 AM
Re: Problem with DT Login.
consider running dr_dt and examining the output, and perhaps comments on what levels of CDE customisation on a per user basis and in terms of in-house cleanup routines might be of use here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2006 04:13 PM
03-19-2006 04:13 PM
Re: Problem with DT Login.
Per Robert's Suggestion, I've checked out the file permissions, and is set to 0444. Further, the nslookup command displays the same output for both the ip and the hostname.
Senthil,
I tried creating a new user (test) and tried DT access thro' the new Id, but it didn't work. Also, even after all the Processes of the user (test) had been killed, the user is still listed in w -s. There are no processes of the user test displayed when ps -ef | grep
Can you please help me trouble shoot this ?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2006 07:09 PM
03-19-2006 07:09 PM
Re: Problem with DT Login.
try to run the script dr_dt
# /usr/contrib/bin/X11/dr_dt
post the Error messages.
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2006 10:29 PM
03-19-2006 10:29 PM
Re: Problem with DT Login.
I ran the dr_dt found under /usr/contrib/bin/X11 and found a few discrpancies and corrected them, but still I recieve the following error & I'm attaching the error screenshot herewith.
The dr_dt output had 0 errors and 11 warnings, & i've corrected all of them.
Please help me to fix this,
Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2006 11:05 PM
03-19-2006 11:05 PM
Re: Problem with DT Login.
Are your users sharing one homedirectory ? What kind of shell are they using ?
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2006 11:27 PM
03-19-2006 11:27 PM
Re: Problem with DT Login.
All the users, share a common home directory, except the root and the startup shell would be /usr/bin/sh.
(the lv containing the /home dir is just 60% full). I even tried creating a new user with a different home dir and that too fails.
Would be glad to provide any further info which you want.
Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2006 11:32 PM
03-19-2006 11:32 PM
Re: Problem with DT Login.
I don't think sharing one homedirectory is supported for CDE. Try to create a user with a different local homedirectory, and try try to start CDE again.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=85458
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2006 11:37 PM
03-19-2006 11:37 PM
SolutionTitle: How to allow multiple users to use the same homedir with CDE 2.*
Document ID: KBRC00005693
Europe
http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080093121
US
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080093121
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 09:13 PM
03-20-2006 09:13 PM
Re: Problem with DT Login.
Than you for the info !
I tried creating a new user, with a different home directory, and now the CDE login works, but takes yeons to log in. Plus I got this error,
_____________________________________________
...Warning: Missing charsets in
String to FontSet conversion
Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*-*-*-*-*-
*-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-
*-*-*" to type FontSet
_____________________________________________
But still, the root login works perfectly fine. Can you please advise me on this.
Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 09:52 PM
03-20-2006 09:52 PM
Re: Problem with DT Login.
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080000386
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 10:36 PM
03-22-2006 10:36 PM
Re: Problem with DT Login.
The CDE ran very slow, and I had to log a call with HP to solve this. The solution provided by HP worked out, but really out of scope for guessing.
They asked me to remove /etc/resolv.conf and asked me to rename /etc/nsswitch.files to /etc/nsswitch.conf and remove the older nsswitch.conf.
It worked really fine, and then I came to know that our DNS server was not reachable throu' resolv.conf and nsswitch.conf had to be changed.
Everything works fine now. Anyway, Thank you very much for your support.
Also thank everyone for great support.
Bye.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 10:39 PM
03-22-2006 10:39 PM
Re: Problem with DT Login.
Thank you very much for ur support. I never thought that the problem could be with the name service switch. Just understand that, without an indepth understanding of unix internals, it's really hard to trouble shoot.
Once again, thanks a lot for support.