Showing results for 
Search instead for 
Did you mean: 

Xmanager not working

Go to solution
Respected Contributor

Xmanager not working

Hi ,


We have version of xmanager 4 , for where we are trying to access one hpux 11iv2 guest .

We are getting xdmcp connection failed error.



Honored Contributor

Re: Xmanager not working

NOTE: if your system has been hardened for security, the unencrypted X11 remote access may have been intentionally disabled. In that case, the steps below will undo some of the security hardening. If the security hardening is a requirement, do NOT perform these steps without getting an appropriate permission first.


Is the dtlogin process running on the 11iv2 guest?


If not, check the DESKTOP variable in /etc/rc.config.d/desktop file.

If necessary, change to "DESKTOP=CDE" and start the dtlogin service with "/sbin/init.d/dtlogin start".


Is the dtlogin process listening on port 177? (run "netstat -anf inet | grep 177" and see if port 177 is reported as LISTENing)


If not, check /etc/dt/config/Xconfig and /usr/dt/config/Xconfig.

If either of those contains this line:

Dtlogin.requestPort: 0

 ... then xdmcp access has been disabled. Comment out this line and restart the dtlogin process to re-enable it.


If the dtlogin binary does not exist on your system, the CDE desktop software may have been removed from the server (i.e. "swremove CDE"). In that case, you must reinstall it from the HP-UX installation media if you want it.


If all of the above steps are OK, also check /usr/dt/config/Xaccess (and /etc/dt/config/Xaccess if it exists).

This file can be used to restrict the IP addresses which can connect to the dtlogin service.
By default, it has one line which has a single uncommented asterisk (*) on it: it means "allow connections from any IP address". If this line has been commented out, access is disabled.


To have the CDE desktop run successfully, you'll also need these services uncommented in /etc/inetd.conf:

dtspc stream tcp nowait root /usr/dt/bin/dtspcd /usr/dt/bin/dtspcd
rpc xti tcp swait root /usr/dt/bin/rpc.ttdbserver 100083 1 /usr/dt/bin/rpc.ttdbserver
cde rpc dgram udp wait root /usr/dt/bin/rpc.cmsd 100068 2-5 rpc.cmsd
rpc dgram udp wait root /usr/dt/bin/rpc.cmsd 100068 2-5 rpc.cmsd

 If CDE has been disabled for security, these services will probably also have been commented out or removed.

If you need to uncomment or add them back, run "inetd -c" afterwards to activate the services.