Operating System - HP-UX
1836987 Members
1993 Online
110111 Solutions
New Discussion

Re: Swicth GUI to command in hp-ux

 
Shehan
Super Advisor

Swicth GUI to command in hp-ux

Hi

Anybody can let me know how can I switch from GUI to command mode in HP-UX 10.x

Regards
Nirukshitha

11 REPLIES 11
Robert-Jan Goossens
Honored Contributor

Re: Swicth GUI to command in hp-ux

Hi Nirukshitha,

Are you referring to CDE and if you are, do you want to disable CDE?

Have a look at the dtconfig manual.

Robert-Jan
Craig A. Sharp
Super Advisor

Re: Swicth GUI to command in hp-ux

How about starting the server in run level 3?
Shehan
Super Advisor

Re: Swicth GUI to command in hp-ux

I want to disable CDE temporary as CDE is not loaded properly. Hence I want to get the server into CLI mode to check the configurations.

How can I start into run level 3?

Regards
Nirukshitha
Robert-Jan Goossens
Honored Contributor

Re: Swicth GUI to command in hp-ux

Hi again,

# /usr/dt/bin/dtconfig -d
to disable auto-start of desktop(CDE)on subsequent re-boots

# /usr/dt/bin/dtconfig -kill
to halt current desktop login process

# /usr/dt/bin/dtconfig -e
to enable auto-start after a reboot

Regards,
Robert-Jan
Shehan
Super Advisor

Re: Swicth GUI to command in hp-ux

Hi Gross

The problem is currently i don't have CLI mode to do anything in there. That is issue what I have. Is there any keyboard keys to switch to CLI mode like Linux?

Regards
Nirukshitha
Robert-Jan Goossens
Honored Contributor

Re: Swicth GUI to command in hp-ux

do you have the CDE login screen or can describe what kind of screen you are seeying?
Shehan
Super Advisor

Re: Swicth GUI to command in hp-ux

There is no anything,shows blank screen with mouse pointer. It doesn't show CDE login prompt or others.

Regards
Nirukshitha
Robert-Jan Goossens
Honored Contributor

Re: Swicth GUI to command in hp-ux

remote login? otherwise you might need to power down/up the system and boot into single user mode.
Shehan
Super Advisor

Re: Swicth GUI to command in hp-ux

Hi Gross
I was able to boot it into CLI mode(init 3) mode via Single user mode. Now we can work in CLI mode. Now I need to find out why CPE doesn't load properly.Could you please assist me on this too?

Regards
Niru
Sherif A. Louis
Valued Contributor

Re: Swicth GUI to command in hp-ux

hello nirukshitha
there are several things u have to check first. look at the /etc/X11/XF86config file.
read the logs in $HOME_DIRECTORY.dt/errorlog and $HOME_DIRECTORY.dt/startlog
ps -ef | grep dt to make sure the dtlogin service is running.

It looks like ur CDE is running with missing components. After all these check run /usr/dt/bin/dtsession or /usr/dt/bin/Xsession and tell us what happens.
Steven Schweda
Honored Contributor

Re: Swicth GUI to command in hp-ux

> [...] Could you please assist me on this too?

Again?

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1235627