1832973 Members
2747 Online
110048 Solutions
New Discussion

Re: login without CDE

 
SOLVED
Go to solution
Cliff Beveridge
New Member

login without CDE

I have a problem with my system such that the CDE will not start. I need to login without the CDE ever starting so I can correct the problem. How do I stop the CDE from running at boot time?
6 REPLIES 6
Tony Contratto
Respected Contributor
Solution

Re: login without CDE

Hi,

Edit /etc/rc.config.d/desktop:

Change
DESKTOP=CDE

To
DESKTOP=""


--
Tony
got root?
Ken Hubnik_2
Honored Contributor

Re: login without CDE

/sbin/init.t/dtlogin.rc stop
Cliff Beveridge
New Member

Re: login without CDE

Tony/Ken,
Thanks for the quick responses. Unfortunately, I cannot do either of these because I cannot login to the system. The CDE launches at boot time before I get the chance to login. Normally this would not present a problem since I could just login when the dialog appears. However, the CDE hangs and never reaches this login dialog. So, as of right now I do not have the ability to login to this system. I need to be able to turn off the CDE without logging into the system. This would allow me to login at the normal console login prompt and then try to fix the problem. Is there any way to turn off the CDE without logging in?
S.K. Chan
Honored Contributor

Re: login without CDE

I assumed you can't telnet to be box either from another remote machine. If the system is not accesible, you would have to hard reset it, interrupt the boot up by pressing the ESC key, go to ISL mode and boot it up in single user mode. In ISL prompt enter ..
ISL> hpux -is
You'll then get the root prompt you should be able to proceed like others have suggested.
Christopher McCray_1
Honored Contributor

Re: login without CDE

Hello,

Boot into init level 2. Interrupt the autoboot process and at the ISL prompt type:

ISL> hpux -i2

From there you can do the things that Ken and Anthony suggested becuase the CDE doesn't start until init 3. Another thing you can do is :

mv /sbin/rc3.d/Sxxxdtlogin.rc /sbin/rc3.d/sxxxdtlogin.rc

by changing the S to an s, init will ignore the script altogether.

Hope this helps

Chris
It wasn't me!!!!
Cliff Beveridge
New Member

Re: login without CDE

You guys helped me bail out of a bad situation. I am back up and running now. Thanks!!!