Operating System - HP-UX
1836956 Members
2488 Online
110112 Solutions
New Discussion

Re: remote login to CDE failed

 
Tan_14
New Member

remote login to CDE failed

Hi folks,

I ran dtlogin in debug mode to trace why remote login to CDE failed.

The greeter failed, but is this the reason why remote login failed or is there a prior problem that is the cause of it?

Thank you.
2 REPLIES 2
vinod_25
Valued Contributor

Re: remote login to CDE failed

Hi Tan

To automatically grant invoke the /usr/bin/X11/xhost command each time a user logs into CDE:

1. Create a 0050.xhost file in the /etc/dt/config/Xsession.d/ directory.

2. Add the following contents to this new file:

XHOST=/usr/bin/X11/xhost

$XHOST + servera serverb serverc serverd servere
$XHOST + iserver
$XHOST + remote1 remote2 remote3

NOTE: Each line may contain a single machine or a space separated list of machines to be granted display access.

3. Set the permissions on this file to be 755 (-rwxr-xr-x):

/usr/bin/chmod 755 /etc/dt/config/Xsession.d/0050.xhost

4. Set the ownership on this file to be root:sys:

/usr/bin/chown root:sys /etc/dt/config/Xsession.d/0050.xhost

The next time a user logs into CDE, their $HOME/.dt/startlog file will reflected these modifications:

--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- sourcing /usr/dt/config/Xsession.d/0020.dtims...
--- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
--- sourcing /usr/dt/config/Xsession.d/0040.xmbind...
--- sourcing /etc/dt/config/Xsession.d/0050.xhost...
servera being added to access control list
serverb being added to access control list
serverc being added to access control list
serverd being added to access control list
servere being added to access control list
iserver being added to access control list
remote1 being added to access control list
remote2 being added to access control list
remote3 being added to access control list
--- sourcing /usr/dt/config/Xsession.d/0060.srcsysenv...
....

Good Luck

Vinod
Tan_14
New Member

Re: remote login to CDE failed

Hi vinod,

The remote login failed before the CDE desktop login screen was drawn and hence the callup of the greeter was not successful.


--- Loading resource file: LANG= XAUTHORITY=/var/dt/... /usr/bin/X11/xrdb -display ...:0 -load /usr/dt/config/C/Xresources
--- enviroment of greeter
--- start greeter
--- Greeter return status; exit = 0, signal = 11
Greeter failed: non-zero signal on exit
--- Display exited with OPENFAILED_DISPLAY
Display start failed, sending Failed
Send FAILED to session ... Cannot open display

What can be the possible errors with my X configs ?