b1f30
April 20, 2009, 1:05pm
1
All:
Have an HP-UX server running init level 3, dtlogin shows up in ps -ef, but when you try to connect to this server via X browser (on Win XP), the browser comes up with just a gray screen w/mouse pointer.
All the other HP-UX boxes on the same subnet come up with a pretty dtlogin screen.
Any assistance, much appreciated.
vbe
April 21, 2009, 9:55am
2
CDE will only start at run-level 3 if /etc/rc.config.d/desktop file contains:
DESKTOP=CDE
Look at your /etc/rc.log and search for 'dtlogin'.
You should see Sxxxdtlogin.rc start almost at the end.
If there are any errors, then you will need to fix them.
All the best
b1f30
April 22, 2009, 10:06am
3
vbe:
CDE will only start at run-level 3 if /etc/rc.config.d/desktop file contains:
DESKTOP=CDE
Look at your /etc/rc.log and search for 'dtlogin'.
You should see Sxxxdtlogin.rc start almost at the end.
If there are any errors, then you will need to fix them.
All the best
DESKTOP=CDE, check.
Sxxxdtlogin.rc start, check.
Still a gray screen.
vbe
April 22, 2009, 12:08pm
4
I had a case where dtlogin was corrupted:
copied from another box and all worked again:
phar # ll dtlog*
-r-xr-xr-x 1 root bin 389280 Mar 29 2007 dtlogin
-r-xr-xr-x 1 root bin 389280 Mar 29 2007 dtlogin.ezra
-rwxr-xr-x 1 root bin 389512 Sep 27 2001 dtlogin.phar
-rwxr-xr-x 1 root bin 389512 Sep 27 2001 dtlogin.ori?
I kept a trace of the manip:
331 Password required for vbe.
Password:
230 User vbe logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd /usr/dt/bin
250 CWD command successful.
ftp> get dtlogin
200 PORT command successful.
150 Opening BINARY mode data connection for dtlogin (389280 bytes).
226 Transfer complete.
389280 bytes received in 0.15 seconds (2540.79 Kbytes/s)
ftp> bye
221 Goodbye.
phar # ll dtlo*
-rw-r--r-- 1 root sys 389280 Mar 29 15:19 dtlogin
-rwxr-xr-x 1 root bin 389512 Sep 27 2001 dtlogin.phar
phar # chown root:bin dtlogin
phar # chmod 555 dtlogin
phar # cp -p dtlogin dtlogin.ezra
phar # /sbin/init.d/dtlogin.rc stop
phar # ps -ef|grep dtlo
root 11523 3322 2 15:21:26 pts/1 0:00 grep dtlo
phar # /sbin/init.d/dtlogin.rc start
#And now it works......
Addendum: These are HP.UX 11.00 32Bit files..
vbe
April 23, 2009, 8:45am
5
I forgot to mention:
There is a tool in /usr/contrib/bin/X11 called dr_dt to help diagnose CDE issues, give it a try...
All the best