Operating System - HP-UX
1834650 Members
2053 Online
110069 Solutions
New Discussion

desktop auto-start(dtlogin.rc)problem?

 
SOLVED
Go to solution
leereg_5
Frequent Advisor

desktop auto-start(dtlogin.rc)problem?

Hi, Gurus:

I have a B132L+ box with HPUX11.00.It can not start CDE each time boot up. I have to issue the command:
#/sbin/init.d/dtlogin.rc start
to start CDE. I also issue the command
#/usr/dt/bin/dtconfig -e
done
desktop auto-start enable.
But when I reboot the box, it still can not start CDE.

Please lend me a hand to fix the problem to set it auto-start each time the system boot up.


Thanks in advance!
Always UNIX!
3 REPLIES 3
Alex Glennie
Honored Contributor
Solution

Re: desktop auto-start(dtlogin.rc)problem?

Things to check

I'd suggest running the CDE diagnostic tool dr_dt and correct any permission errors warnings etc.

secondly confirm your default run-level is 3 or above.

check permissions on the startup script with a working system and make sure there's a link from /sbin/rc3.d/S990dtlogin.rc -> /sbin/init.d/dtlogin.rc

What's the H/W ? It may just be that /etc/dt/config/Xservers file has a line reading

#* local loacal@console .....

if this is the case remove the hash, if the file does not exists check /usr/dt/config/Xservers for similar, as before remove the hash if appropriate.

Then init 2, init 3 does CDE start automatically now ?

Also check syslog.log , rc.log imparticularly and /var/dt/Xerrors for clues.
leereg_5
Frequent Advisor

Re: desktop auto-start(dtlogin.rc)problem?

Alex:

Thanks a lot.
The real reason is that the prior user has do following thing:
#/sbin/rc3.d/S990dtlogin.rc ofc_S990dtlogin.rc

Thanks again for your input.



And this subject closed!
Always UNIX!
Sundar_7
Honored Contributor

Re: desktop auto-start(dtlogin.rc)problem?

Hi,

Make sure the initdefault entry in /etc/inittab is 4 ..

Sundar
Learn What to do ,How to do and more importantly When to do ?