Operating System - HP-UX
1834645 Members
2733 Online
110069 Solutions
New Discussion

Re: cde login does not start

 
Malte Neumann
Advisor

cde login does not start

Hi,

we have a brand new rx5670 with HP-UX 11.23 and a vga card. The system boots normally and ends with a console login on the vga. But the cde login does not appear, eventhough while booting the message 'start CDE login server' is followed by an OK and in the /etc/rc.config.de/desktop file
DESKTOP=CDE is set.
Why doesn't it start the login screen??

Thanks for your help.

Malte
13 REPLIES 13
Steven E. Protter
Exalted Contributor

Re: cde login does not start

Check the file /etc/rc.config.d/xfs

The first variable needs to be set to 1.

That starts the font server at boot.

/sbin/init.d/xfs start

Will get it going so CDE comes up.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bryan D. Quinn
Respected Contributor

Re: cde login does not start

Hello Malte,

Here is a link with a couple of suggestions from a discussion about a similar problem.

http://www.dutchworks.nl/htbin/hpsysadmin?h=3&dn=14523&q=CDE%20not%20starting&fh

Hope something in this link will help you.

-Bryan
Malte Neumann
Advisor

Re: cde login does not start

Thanks for the answer, but I changed this variable, but CDE still doesn't come up.

I checked for processe called xfs and I now have two running:
vxfsd
/usr/bin/X11/xfs

Any further suggestions?
DIPAK KUMAR ROY
Frequent Advisor

Re: cde login does not start

CDE won't start if you have bad mouse. Try replacing your mouse.

Thanks
Malte Neumann
Advisor

Re: cde login does not start

Thanks for this link, Bryan.

But none of these tipss did help me.

The Real Fix, doesn't help me. There is a file /var/dt/Xpid, containing a pid.

There is no line for the invocation of vue in /etc/inittab

I executed:
# /usr/dt/bin/dtconfig -e
done
desktop auto-start enabled.
=> no change after rebooting

My default run-level is 3. The following line is /etc/inittab
init:3:initdefault:

Malte Neumann
Advisor

Re: cde login does not start

I changed the mouse, but that was not the problem.

Thanks anyway.
Steven E. Protter
Exalted Contributor

Re: cde login does not start

After making the configuration change, a reboot is probably a good idea.

Are there any messages in /var/adm/syslog/syslog.log

They may be instructive in resolving this issue.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Malte Neumann
Advisor

Re: cde login does not start

I always reboot the maschine after making configuration changes.

Here are some lines from /var/adm/syslog/syslog.log, that might be connected with the problem:

Dec 17 17:05:32 stat17 FontServer[1588]: Warning: Bad font path element: "/usr/lib/X11/fonts/hp_japanese/100dpi/"
Dec 17 17:05:32 stat17 FontServer[1588]: Warning: Bad font path element: "/usr/lib/X11/fonts/hp_japanese/75dpi/"
Dec 17 17:05:32 stat17 FontServer[1588]: Warning: Bad font path element: "/usr/lib/X11/fonts/hp_korean/75dpi/"
Dec 17 17:05:32 stat17 FontServer[1588]: Warning: Bad font path element: "/usr/lib/X11/fonts/hp_chinese_s/75dpi/"
Dec 17 17:05:32 stat17 FontServer[1588]: Warning: Cannot initialize font path element: "/usr/lib/X11/fonts/hp_chinese_t/75dpi/"
Dec 17 17:05:32 stat17 FontServer[1588]: Warning: Bad font path element: "/usr/lib/X11/fonts/ttfjpn.st"
Dec 17 17:05:32 stat17 FontServer[1588]: Warning: Bad font path element: "/usr/lib/X11/fonts/ifojpn.st"

All the other output seems absolutely normal.
Robert-Jan Goossens
Honored Contributor

Re: cde login does not start

Hi Malte,

Look at the file /etc/X11/fs/config.
# grep "catalogue =" /etc/X11/fs/config

Check if there are more fonts configured then the are installed on the system. Fonts are installed in the /usr/lib/X11/fonts directory. Remove those fonts from the line.

# /sbin/init.d/xfs stop
# /sbin/init.d/xfs start

HTH,
Robert-Jan
Malte Neumann
Advisor

Re: cde login does not start

Thanks Robert-Jan,

this certainly removed the xfs-warnings, but didn't change anything concerning CDE.
T G Manikandan
Honored Contributor

Re: cde login does not start

Run /usr/contrib/bin/X11/dr_dt

check for /var/adm/Xerrors

Revert with that.
Malte Neumann
Advisor

Re: cde login does not start

Here are parts from the output of dr_dt:

WARNING: /var/adm/inetd.sec does not exist. It needs
to be on the system in order for HP CDE to run properly.
There may have been a problem at installation. You
can either reinstall HP CDE or get a copy of the file
from another compatible system.


WARNING: The / directory is not properly
configured. The current configuration is:
permissions = drwxr-xr-x
owner = root
group = root
For HP CDE to function correctly, it should be a
directory with the following configuration:
permissions = dr-xr-xr-x
owner = root
group = sys

WARNING: /etc/X11/X0screens does not exist. It needs
to be on the system in order for HP CDE to run properly.
There may have been a problem at installation. You
can either reinstall HP CDE or get a copy of the file
from another compatible system.

WARNING: /etc/X11/X0devices does not exist. It needs
to be on the system in order for HP CDE to run properly.
There may have been a problem at installation. You
can either reinstall HP CDE or get a copy of the file
from another compatible system.

WARNING: /etc/X11/X0pointerkeys does not exist. It needs
to be on the system in order for HP CDE to run properly.
There may have been a problem at installation. You
can either reinstall HP CDE or get a copy of the file
from another compatible system.


There were no errors in the output, only 11 warnings.
As these machine is brandnew and preinstalled I just wonder were these problems come from.

How do I solve this, a cold install of the machine, or is it possible to reinstall only cde.
Malte Neumann
Advisor

Re: cde login does not start

The problem is solved. A Senior Technical Consultant of my retailer found the problem:

In the file /etc/dt/config/Xservers there was a # in front of the line:
* Local local@console /usr/bin/X11/X :0


Thanks again everybody who help to solve my problem.