- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CDE/dtlogin problem.
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
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
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
тАО04-01-2004 05:23 AM
тАО04-01-2004 05:23 AM
The error I get in /var/dt/Xerrors is:
Thu Apr 1 19:09:31 2004
error (pid 1381): Server for display
This repeats over and over. The hostname given in the error is correct. This message is not generated when I login to the console but begins again when I log off.
# ps -ef | grep 1381
root 1381 1353 0 19:08:32 ? 0:00 /usr/dt/bin/dtlogin
I have checked the obvious causes for a CDE startup error; nslookup of hostname/IP is ok. If I start X manually I get a nice screen, X works ok. StartX gives me an X screen with a terminal.
When I log in at the console, the TERM variable is set to something weird: "ITE_x128y49".
When I telnet to the system the TERM variable is set properly to hpterm.
Strangely rcp to the system doesn't work, I get a permission denied error. Could this be related?
I was given the system after it had been thoroughly thrashed by a colleague (read 'barbarian') and unfortunately re-installing isn't an option, this must be fixed. Any ideas?
Cheers,
Myles
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 05:30 AM
тАО04-01-2004 05:30 AM
Re: CDE/dtlogin problem.
Also what error it gives in $HOME/.dt/errorlog ?
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 05:50 AM
тАО04-01-2004 05:50 AM
Re: CDE/dtlogin problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 06:38 AM
тАО04-01-2004 06:38 AM
Re: CDE/dtlogin problem.
What are you loggin in as? root?
Do you have $HOME/.dt directory? IF yes check if you have any errors in there-check errorlog file.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 06:53 AM
тАО04-01-2004 06:53 AM
Re: CDE/dtlogin problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 07:40 AM
тАО04-01-2004 07:40 AM
Re: CDE/dtlogin problem.
and at the X startup command in /etc/dt/config/Xservers .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 07:55 AM
тАО04-01-2004 07:55 AM
Re: CDE/dtlogin problem.
Disclaimer:
Format and content of this file aresubject to change at any time.
Xserver Configuration from command line arguments:
/usr/bin/X11/X :0
Xserver Configuration from X0screens:
Screen /dev/crt # = Device, Code: HPA4982A, ID: 0x35acda16
Dynamically Loaded Library List;
Library Creation Times: Library Names:
Mon Sep 8 12:35:59 2003: /usr/bin/X11/X
Mon Sep 8 12:37:16 2003: /usr/lib/libm.2
Mon Sep 8 12:38:11 2003: /usr/lib/X11/extensions/libSX.1
Mon Sep 8 12:38:11 2003: /usr/lib/X11/Xserver/loadinit/libinit.1
Mon Sep 8 12:38:23 2003: /usr/lib/libXext.3
Mon Sep 8 12:38:23 2003: /usr/lib/libX11.3
Mon Sep 8 12:37:17 2003: /usr/lib/libnsl.1
Mon Sep 8 12:37:17 2003: /usr/lib/libxti.2
Mon Sep 8 12:37:27 2003: /usr/lib/libstd.2
Mon Sep 8 12:37:25 2003: /usr/lib/libCsup.2
Mon Sep 8 12:37:27 2003: /usr/lib/libstream.2
Mon Sep 8 12:37:16 2003: /usr/lib/libcl.2
Mon Sep 8 12:37:26 2003: /usr/lib/libisamstub.1
Mon Sep 8 12:46:49 2003: /usr/lib/libc.2
Mon Sep 8 12:37:16 2003: /usr/lib/libdld.2
Mon Sep 8 12:37:16 2003: /usr/lib/libnss_files.1
Mon Sep 8 12:38:07 2003: /usr/lib/X11/Xserver/modules/screens/hp/mi.1
Mon Sep 8 12:38:07 2003: /usr/lib/X11/Xserver/modules/screens/hp/mfb.1
Mon Sep 8 12:38:07 2003: /usr/lib/X11/Xserver/modules/screens/hp/cfb.1
Mon Sep 8 12:38:08 2003: /usr/lib/X11/Xserver/modules/screens/hp/advutils.1
Mon Sep 8 12:38:07 2003: /usr/lib/X11/Xserver/modules/screens/hp/utils.1
Mon Sep 8 12:38:08 2003: /usr/lib/X11/Xserver/modules/screens/hp/food.1
Mon Sep 8 12:38:08 2003: /usr/lib/X11/Xserver/modules/screens/hp/pinn.1
Mon Sep 8 12:38:07 2003: /usr/lib/X11/Xserver/modules/extensions/hp/record.1
Mon Sep 8 12:38:07 2003: /usr/lib/X11/Xserver/modules/extensions/hp/dpms.1
Mon Sep 8 12:38:07 2003: /usr/lib/X11/Xserver/modules/extensions/hp/gie.1
Mon Sep 8 12:38:07 2003: /usr/lib/X11/Xserver/modules/extensions/hp/polyprim.1
Mon Sep 8 12:38:07 2003: /usr/lib/X11/Xserver/modules/extensions/hp/slsdx.1
Mon Sep 8 12:38:11 2003: /usr/lib/X11/extensions/hp7lc2k.1
Mon Sep 8 12:38:11 2003: /usr/lib/X11/extensions/hid.1
and more Xstartup.0.log
/usr/bin/X11/X: attempting to determine which X server to start
/usr/bin/X11/X: Execing /usr/bin/X11/Xhp :0
Looks fairly innocuous to me. However, I came across something which is pretty disturbing... /etc/dt/config/C was empty, and it isn't on any of the other machines around here. It seems that my colleague decided to 'decommission' the system himself and it looks like he did it with a hatchet. It looks like I really have my work cut out for me now...;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 08:01 AM
тАО04-01-2004 08:01 AM
Re: CDE/dtlogin problem.
Thanks,
Myles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 10:27 AM
тАО04-01-2004 10:27 AM
Re: CDE/dtlogin problem.
You said that you could start the X server manually. You may be looking at log files from one of those successfull starts. Try removing the log files and seeing what dtlogin manages to create. You could also use the tusc system call tracing tool to see what system calls are failing when dtlogin tries to start an X server.
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/tusc-7.5/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2004 02:43 AM
тАО04-02-2004 02:43 AM
Re: CDE/dtlogin problem.
Disable CDE from starting for a minute and then login at console.
/opt/graphics/common/bin/graphinfo | grep product
Type /usr/bin/X11/X
What do you get as output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2004 05:48 AM
тАО04-02-2004 05:48 AM
Re: CDE/dtlogin problem.
Myles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2004 10:30 PM
тАО04-04-2004 10:30 PM
Re: CDE/dtlogin problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2004 03:33 AM
тАО04-05-2004 03:33 AM
Re: CDE/dtlogin problem.
manually change the [xdmcp] section, or run gdmconfig and enable the XDMCP toggle under the "expert" options group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2004 06:51 PM
тАО04-05-2004 06:51 PM
Re: CDE/dtlogin problem.
Yep, that was done. The problem occurs right after entering logon credentials. Right after entering the password, the connection dies. Further, the failed connection doesn't seem to be logged anywhere, I tried again this morning and looked for any updated files but all I found were these:
# find / -xdev -mtime -1 -exec ls -l -d {} \; | grep 'Apr 6'
-rw-r--r-- 1 root root 720 Apr 6 07:40 /etc/utmp
-rw-r--r-- 1 root root 3080 Apr 6 07:40 /etc/utmpx
drwxrwxrwx 8 bin bin 8192 Apr 6 07:40 /tmp
crw-rw-rw- 1 bin bin 3 0x000002 Apr 6 07:40 /dev/null
crw-rw-rw- 1 root root 33 0x000000 Apr 6 07:40 /dev/pts/ta
crw------- 1 root sys 33 0x000001 Apr 6 07:41 /dev/pts/tb
prw-rw-rw- 1 root root 0 Apr 6 07:40 /dev/log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2004 07:06 PM
тАО04-05-2004 07:06 PM
Re: CDE/dtlogin problem.
Probably if you are to troubleshoot in future check this doc
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072080266
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2004 07:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2004 08:07 PM
тАО04-05-2004 08:07 PM
Re: CDE/dtlogin problem.
# Try to give a decent $DISPLAY
if [ "$DISPLAY" = "" ] ; then
LocalHost=$(uname -n)
MyHost=$(who am i -R | cut -d \( -f2 | cut -d \) -f1)
MyHost=${MyHost%%:*}
if [[ -z $MyHost ]]
then
DISPLAY="${LocalHost%%:*}:0.0"
else
DISPLAY="${MyHost%%:*}:0.0"
fi
export DISPLAY
fi
There were other problems; non-existent directories, wrong permissions etc. but the big one was the DISPLAY variable. This has solved the login problems both CDE and Gnome. My thanks to everyone who helped.
Cheers,
Myles