Operating System - HP-UX
1833758 Members
2982 Online
110063 Solutions
New Discussion

Problem with CDE on HPux 11.23

 
Alessandro Pilati
Esteemed Contributor

Problem with CDE on HPux 11.23

Hi to all,
I have a problem with start CDE on my ITANIUM hpux 11.23.
I configured my server in a way that dtlogin automatically start Xserver ( I put DT_LOCAL_X_START_ALWAYS=1 in /etc/rc.config.d/desktop )
Pratically I got first a problem that gave me this error on /var/dt/Xerrors :
"/usr/bin/X11/X: ERROR - Missing or incomplete /var/X11 directory structure",
Then I understood that X server launched by dtlogin is started with the user "daemon", that didn't have the correct permission to write under /var/X11/Xserver/logs.

I corrected the permissions of /var/X11 and now I have another problem when the X and dtlogin try to start:

*************************
*****/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

**********************************************
*****/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/Xf86 :0 -auth /var/dt/LocalAAAa16923


Consider also that if I try to start
/usr/bin/X11/Xf86 :0 -auth /var/dt/LocalAAAa16923
as root, the X screen appears without problem,
but if I start the same command with the user "daemon", appears the error that you can see in /var/dt/Xerror and that I wrote before.
Any help will be appreciated, thanks to all in advance,

Alessandro
if you don't try, you'll never know if you are able to
2 REPLIES 2
Alessandro Pilati
Esteemed Contributor

Re: Problem with CDE on HPux 11.23

I resolved partially the problem giving to user "daemon" the UID 0 in /etc/passwd, but now the dtlogin starts X but only this and not dtgreet; it tries 3-4 times ( switches on and off X ) and then displays the character login again.
if you don't try, you'll never know if you are able to
Alessandro Pilati
Esteemed Contributor

Re: Problem with CDE on HPux 11.23

I was able to start CDE correctly by changing in /usr/dt/config/Xservers and in /etc/dt/config/Xservers the following entry:
Local local@console /usr/bin/X11/X :0
in:
:0 Local local@console /usr/bin/X11/X :0

and adding in the file /usr/dt/config/Xconfig the following entry:
Dtlogin*openTimeout: 60

But now I have to resolve the trick of give to "daemon" his correct UID...
if you don't try, you'll never know if you are able to