Operating System - HP-UX
1827281 Members
2413 Online
109717 Solutions
New Discussion

Re: Can't start CDE on console

 
Griselda Sanchez
Frequent Advisor

Can't start CDE on console

Hi!
I have been experience a problem starting a session with CDE on my console.
I can login to the system (is a workstation) from another computer by exceed and the CDE appears without problems, but when the session starts at the console only appears "starting Desktop Login on display jzlcocw1:0... Wait for Desktop Login Screen before logging in." and nothing happened.
I restart the ws and it stops on the same message.
At the beginning I thought was a .profile problem, but I restore the file from a backup and restart the server and wasn't work.
Thanks for you help.
8 REPLIES 8
Alex Glennie
Honored Contributor

Re: Can't start CDE on console

OK so we know CDE is working correctly otherwise the CDE session via exceed wouldn't work.

Try checking the contents of the /usr/dt/config/Xservers file and also the same file under /etc/dt/config ...

if either have the last line * console local@console commented out uncomment and restart X/CDE.

If both look OK ->

/sbin/init 2
/usr/bin/X11/X :0 ... does this error at all ?

fyi will exit from the grey mesh screen if needed.
Alessandro Pilati
Esteemed Contributor

Re: Can't start CDE on console

Griselda,
give a look in the following log files:
/var/dt/Xerrors

/var/X11/Xserver/logs/Xstartup.0.log
( to see what Xserver is being started )

/var/X11/Xserver/logs/Xf86.0.log
( if you use Xfree86 as Xwindow system )

Give a look also in /etc/dt/config/Xservers for this entry:

:0 Local local@console /usr/bin/X11/X :0

You can also launch this script to verify the correct configuration of CDE:
/usr/contrib/bin/X11/dr_dt
and check for warnings and errors

Regards,
Alessandro
if you don't try, you'll never know if you are able to
Griselda Sanchez
Frequent Advisor

Re: Can't start CDE on console

Hi.
I don't have * console local@console commented.
I did this
/sbin/init 2
/usr/bin/X11/X :0 , but it didn't anything.

I check var/dt/Xerrors, and there isn't something.

#jzlcocw1:/> more /var/X11/Xserver/logs/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 -auth /var/dt/jzlcoAAAa11980


And finally here is the dr_dt output
Griselda Sanchez
Frequent Advisor

Re: Can't start CDE on console

On the drlog appears some messages that the CDE isn't available, and this is because when I run this, the ws was on init 2 because of the other test.

Thanks
Fabio Ettore
Honored Contributor

Re: Can't start CDE on console

Hi,

check if mouse and keyboard are connected.
It is a known problem when either keyboard or mouse (or both) are not connected on console.

Let me know if it helps you too.

Best regards,
Fabio
WISH? IMPROVEMENT!
Alex Glennie
Honored Contributor

Re: Can't start CDE on console

Odd that X:0 didn't error or work ... ?

/tmp isn't full by any chance ?

bdf ?

Other thoughts ... you say this is a console ... by which you mean a graphics monitor as opposed to a green system console right ?

I'd also be tempted to ammend the permissions on /var/spool/sockets and on the X executable ..

other than that you could try a rmsf /dev/*crt*
and then recreate using insf -evd framebuf .. but again I'd of expected to see some indication of a problem in either a log file or from the cmd line after running X: 0

Griselda Sanchez
Frequent Advisor

Re: Can't start CDE on console

I checked the connections of the mouse and keyboard and everything is ok.
I already ran /usr/bin/X11/X :0 and nothing happened, not an error message and didnâ t work ether.
Bdf
/dev/vg00/lvol3 409600 160856 246832 39% /
/dev/vg00/lvol1 393392 60640 293408 17% /stand
/dev/vg01/lvol3 4194304 3562792 626648 85% /var
/dev/vg00/lvol7 2457600 1082896 1365064 44% /usr
/dev/vg01/lvol2 2506752 2116156 366230 85% /u02
/dev/vg00/lvol6 204800 164760 40040 80% /tmp
/dev/vg01/lvol1 2097152 1340160 751104 64% /opt
/dev/vg00/lvol5 3170304 1509489 1557036 49% /opt/oracle
/dev/vg00/lvol4 204800 181096 23696 88% /home


:/> ll /var/spool/sockets
total 32
drwxrwxrwx 2 root sys 8192 Aug 31 08:47 ICE
drwxrwxrwt 2 bin bin 96 Sep 5 15:21 X11
drwxrwxrwx 2 root sys 96 Jan 28 2003 common
srwxrwxrwx 1 daemon sys 0 Sep 5 15:21 grmd
drwxrwxrwx 2 root root 8192 Sep 5 15:30 pwgr

:/var/spool/sockets/X11> ll
total 32
srwxrwxrwx 1 daemon daemon 0 Sep 5 15:21 0
-rw------- 1 daemon daemon 44 Sep 5 15:17 daemon:0
-rw------- 1 root sys 44 Sep 5 15:21 root:0
ErikTheHack
New Member

Re: Can't start CDE on console

Griselda,
I realize that you had this issue quite some time ago but do you recall how you resolved the problem?

I've just done a fresh install of 11.0 on a 712/80 and have ended up with exactly the same problem and I have no idea of how to resolve it.

Thanks in advance for any info!