Operating System - HP-UX
1833780 Members
2138 Online
110063 Solutions
New Discussion

Re: CDE and user "daemon" problem

 
Alessandro Pilati
Esteemed Contributor

CDE and user "daemon" problem

I have this error when I try to start CDE ( dtlogin starts itself X):

*************************
*****/var/dt/Xerrors*****
*************************

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Build Operating System: HP-UX B.11.11 U 9000/785
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/X11/Xserver/logs/Xf86.0.log", Time: Tue Jul 5 09:35:30 2005
(==) Using config file: "/etc/X11/XF86Config"
Error: could not register X as the master with GVID
Make sure the kernel driver is loaded and that another
X server isn't running on this display connection
GVID_CFG read failed in hpuxPciCfgRead()
GVID_CFG read failed in hpuxPciCfgRead()
GVID_CFG read failed in hpuxPciCfgRead()
GVID_CFG read failed in hpuxPciCfgRead()
GVID_CFG read failed in hpuxPciCfgRead()
GVID_CFG read failed in hpuxPciCfgRead()
GVID_CFG read failed in hpuxPciCfgRead()
GVID_CFG read failed in hpuxPciCfgRead()
GVID_CFG read failed in hpuxPciCfgRead()
GVID_CFG read failed in hpuxPciCfgRead()
(EE) No devices detected.

Fatal server error:
no screens found

But if I assign to user "daemon" the UID 0, the CDE goes up correctly.

Can you help me to understand the cause of this problem? ( the assignment of UID 0 to daemon is a temporary workaround I would be happy to avoid... )

Thank you all
if you don't try, you'll never know if you are able to
2 REPLIES 2
ramkumar
Valued Contributor

Re: CDE and user "daemon" problem

Hi

Please run a script dr_dt from /usr/contrib/bin/X11 it will tell exactly what problem your are having . just solve the problem and hook to the system . it will work definitley .

Rds
Ramkumar.G
Alessandro Pilati
Esteemed Contributor

Re: CDE and user "daemon" problem

Here it is the dr_dt output ( but consider that this output is not properly affordable, for example if I change permission to a file checked to have incorrect permission, then the dr_dt says that I must change again to the previously setting )
******************************************

# ./dr_dt

Welcome to dr_dt. I will examine your system to determine if HP CDE
can function properly. If I find problems or concerns, or just want
to supply some information, I will issue INFO/WARNING/ERROR statements.
I will not make any changes myself, but might suggest that you change
something. If you are not sure if a particular change should be made,
check with your system administrator.

Here's to your health!

INFO: A uname produces the following information:
HP-UX dspp B.11.23 U ia64 3195668279 unlimited-user license

INFO: Checking some networking on your system...

INFO: Your system currently has the following lan hardware installed,
as reported by the '/etc/lanscan' command:

Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/3/0 0x00306EF3FD43 0 UP lan0 snap0 1 ETHER Yes 119
0/1/2/0 0x00306EF37CB2 1 UP lan1 snap1 2 ETHER Yes 119

INFO: The following is the current configuration information for
each of your lan cards, as reported by the '/etc/ifconfig'
command:

lan0: flags=843
inet 10.115.0.35 netmask ffffff00 broadcast 10.115.0.255
ifconfig: no such interface
lan1: flags=1843
inet 190.0.0.2 netmask ffffff00 broadcast 190.0.0.255
ifconfig: no such interface

INFO: /etc/nsswitch.conf contains the following information:

hosts: files

INFO: Checking inetd configuration...

INFO: Checking / validity

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


Although the permissions of your home directory may
be different from the above, please check that you
are able to write to your own directory.

INFO: Checking //.dtprofile for terminal I/O statements...

INFO: Checking //.dt existence...

INFO: Validating setting of $DISPLAY environment variable...

INFO: Checking CDE/Vue startup for possible conflicts...

INFO: Checking existence/permissions of certain system directories...

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

INFO: Checking existence/permissions of certain CDE directories...

INFO: Checking existence/permissions of CDE executable files...

WARNING: The /usr/dt/bin/dtlogin file is not properly
configured. The current configuration is:
permissions = -r-xr--r-x
owner = root
group = bin
For HP CDE to function correctly, it should be a
file with the following configuration:
permissions = -r-xr--r--
owner = root
group = bin

WARNING: The /usr/dt/bin/dtchooser file is not properly
configured. The current configuration is:
permissions = -r-xr--r-x
owner = root
group = bin
For HP CDE to function correctly, it should be a
file with the following configuration:
permissions = -r-xr--r--
owner = root
group = bin

WARNING: The /usr/dt/bin/dtgreet file is not properly
configured. The current configuration is:
permissions = -r-xr--r-x
owner = bin
group = bin
For HP CDE to function correctly, it should be a
file with the following configuration:
permissions = -r-xr--r--
owner = bin
group = bin

WARNING: The /usr/dt/bin/dtterm file is not properly
configured. The current configuration is:
permissions = -rwxrwxrwx
owner = root
group = sys
For HP CDE to function correctly, it should be a
file with the following configuration:
permissions = -r-sr-xr-x
owner = root
group = bin

INFO: Checking existence/permissions of CDE script files...

WARNING: The /usr/dt/bin/dtrc file is not properly
configured. The current configuration is:
permissions = -r-xr--r-x
owner = bin
group = bin
For HP CDE to function correctly, it should be a
file with the following configuration:
permissions = -r-xr--r--
owner = bin
group = bin

INFO: Checking existence/permissions of CDE configuration files...

WARNING: /usr/dt/config/dtterm.ti 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.

INFO: Listing some CDE configuration resources....

INFO: Listing uncommented lines in /usr/dt/config/Xconfig

Dtlogin.errorLogFile: /var/dt/Xerrors
Dtlogin.pidFile: /var/dt/Xpid
Dtlogin.accessFile: Xaccess
Dtlogin.servers: Xservers
Dtlogin*resources: %L/Xresources
Dtlogin*startup: Xstartup
Dtlogin*reset: Xreset
Dtlogin*setup: Xsetup
Dtlogin*failsafeClient: Xfailsafe
Dtlogin*langSetup: /usr/dt/config/Xlangsetup
Dtlogin*openTimeout: 60

INFO: Listing uncommented lines in /usr/dt/config/Xservers

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

INFO: Listing uncommented lines in /usr/dt/config/Xaccess

* # grant service to all remote displays
* CHOOSER BROADCAST # any indirect host can get a chooser

INFO: Checking existence/permissions of CDE locale-specific
configuration and app-defaults files...

WARNING: The /usr/dt/app-defaults/C/Dtterm file does
not exist. This file is used when running in the
'C' locale, and as a fallback when running in a locale
where a localized version of this file does not exist.
Without this file, parts of CDE may not run correctly.
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.

INFO: Checking existence/permissions of Motif binding files...

INFO: Running swverify to verify your software installation and list
what patches are installed your system.
Note that this may take a considerable amount of time, depending
on your processor. Please be patient.

Also note that swverify leaves complete logs of its work
in the files:
/usr/adm/sw/swverify.log
/usr/adm/sw/swagent.log
You may wish to review these if there are any WARNINGS or
ERRORS found during the software verification.


INFO: Verifying CDE-Italian...
WARNING: "dspp:/": 59 files had warnings during this operation.
ERROR: "dspp:/": 6 files had errors during this operation.

INFO: Generating list of patches installed on the system...

PHCO_31543 1.0 csh(1) cumulative patch
PHCO_31544 1.0 Cumulative changes to du(1)
(...)
(...)
(...)

INFO: Checking permissions of the /dev/null device...


Dr_dt finished with:

0 ERROR messages
9 WARNING messages
if you don't try, you'll never know if you are able to