Help: for XDMCP

Hi, Boss
i have a problem about open the Graphic remote. when i used the Xmanager2.0 connect to the Sun Fire880 with Sun solaris 2.8 software. prompt to following information:
XDMCP connection failed: retry?
so can some body told me how the check the XDMCP protocol was enable...and the port 177 is under listening?
in my memory the SunFire800 is enable the XDMCP protocol as default..
thanks very much....thkssss
very urgent.
waiting on-line.

Is your office and server on different LANS? Do you have a firewall in between?

we have this problem also but we use reflection, sometimes I use broadcast and it works and sometimes it doesn't.

There's no corporate or desktop firewall between our offices and where the servers are located.

First of, check the daemon if its running if not start it

ps -ef |grep dtlogin
/etc/rc2.d/S99dtlogin start # start it if no dtlogin process if running

You might try to use the direct method instead of the broadcast one as sometimes it works sometimes not like sparcguy said :smiley:

hi!

check whether gdm is running or not ,if not start it using
gdm commad default has xdcmp set so it can solve ur problem

gdm I think is only for solaris 10? solaris 8 no such command.

I checked ard, it seems you need to open tcp ports 6000-6010 bidirectional and udp port 177 birectional also.

if you have a desktop PC antivirus with builtin firewall software like trendmicro, or norton or windows XP firewall or both and a corporate firewall between your office and your datacenter where your boxes are located you need to open all these ports on all the firewalls.

alas I'm still not able to get my reflection X to connect to any servers whether using direct/indirect/broadcast, somehow it's not coming. I'm thinking could be server side, still investigating. :frowning:

for solaris 10 and below, there is a file /usr/dt/config/Xconfig

inside this file are configuration entries look for something which says.

############################################################################
# To disable listening for XDMCP requests from X-terminals.
#
Dtlogin.requestPort: 0

'#' it out and restart machine,

Solaris 10's.

  1. Log in as root

  2. Open a terminal

  3. type gdmsetup (a dialog box will appear)

4 Click on the XDMCP tab

  1. Check the Enable XDMCP box

  2. Press Close

unfortunately for my case, my solaris8 box is already '#' out for the entry and it's still not coming :frowning: :frowning: ... investigating again.

hkse3:/home/omc <41> (omc) % ps -ef |grep dtlogin
omc 12130 11963 0 17:14:17 pts/2 0:00 grep dtlogin

I can not find the process.
any advice?

Here you go...

When using GDM (Gnome Display Manager), XDMCP access from remote host is not permitted by default.

To allow XDMCP access from the remote host with GDM, modify xdmcp entry in /etc/X11/gdm/gdm.conf file as follows:

FROM

    [xdmcp]
    # Distributions: Ship with this off.  It is never a safe thing to leave
    # out on the net.  Setting up /etc/hosts.allow and /etc/hosts.deny to only
    # allow local access is another alternative but not the safest.
    # Firewalling port 177 is the safest if you wish to have xdmcp on.
    # Read the manual for more notes on the security of XDMCP.
    Enable=false


TO

    [xdmcp]
    # Distributions: Ship with this off.  It is never a safe thing to leave
    # out on the net.  Setting up /etc/hosts.allow and /etc/hosts.deny to only
    # allow local access is another alternative but not the safest.
    # Firewalling port 177 is the safest if you wish to have xdmcp on.
    # Read the manual for more notes on the security of XDMCP.
    Enable=true


After the modification, restart gdm daemon:

    # svcadm restart svc:/application/gdm2-login:default

When you uncomment it out, don't your disable listening for XDMCP? Thus, it is disable b/c you're listening on port 0.

I have it uncommented out so that I can access my XDMCP connection via port 180 not the default 177.

My looks like this:

Dtlogin.requestPort: 180

OK I have the same problem of not being able to establish a connection. If I do netstat -a I see:

TCP: IPv6

.6010 *. 0 0 49152 0 LISTEN

.6011 *. 0 0 49152 0 LISTEN

UDP: IPv6

*.177 Idle

UDP: IPv4

*.177 Idle

I am using solaris 9. So i dont have gdm. Also on the config file, I have the line Dtlogin.requestPort: 0 commented out. I am inside of a network and there is no firewall. I still cant connect. How do you enable ports to LISTEN in solaris 9 ? Or what am I doing wrong? Do have to run Xsession?