How to enable remote XDMCP in Solaris 10 ?

Solaris 10 is secure by default and starts services on localhost instead of system name or all hosts(*) . Due to that if you try to connect to server over xdmcp using exceed on demand or something you won’t get connection. For that we need to use following method to fix it.

if you issue ps on dtlogin. It might come up like this and listens on udp port 0 instead of 177.

#ps –ef |grep –i dtlogin

/usr/dt/bin/dtlogin -daemon -udpPort 0

You can change the above behaviour by using svccfg and change the properties.

#svccfg -s cde-login setprop ‘dtlogin/args=””‘

#svcadm restart cde-login # or #svcadm enable -r cde-login

After these system should respond to xdmcp broadcast queries.

Solaris 10’s desktop environment is JDS which is based off of GNOME.

Log in as root
Open a terminal
Type gdmsetup (a dialog box will appear)
Click on the XDMCP tab
Check the Enable XDMCP box
Press Close

Check service of gdm2-login and enable it.

bash-3.00# svcs -a | grep gdm
disabled       Oct_10   svc:/application/gdm2-login:default

bash-3.00# svcadm enable svc:/application/gdm2-login:default
bash-3.00# svcs -a | grep gdm
online         10:37:05 svc:/application/gdm2-login:default

1 thought on “How to enable remote XDMCP in Solaris 10 ?”

  1. Your step by step solved it for me.
    All the others only mentioned to restart the gdm service after enabling XDMCP enabled=true but none of the other places or mentions I found actually told to CHECK if GDM service is running and/or if its enabled.

    Your steps solved a weeks long journey into XDMCP and Solaris in general :)

    Thanks a lot

Leave a Comment

Your email address will not be published. Required fields are marked *

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top