xdmcp is always running even after I reboot

I always notice that xdmcp always runs on my system. I don’t want it to. These are my settings and I tried to reboot. xdmcp still runs. How do I stop it once for all.

/etc/sysconfig/displaymanager
DISPLAYMANAGER=“kdm”
DISPLAYMANAGER_REMOTE_ACCESS=“no”
DISPLAYMANAGER_ROOT_LOGIN_REMOTE=“no”

/etc/X11/xdm/xdm-config
DIsplayManager.requestPort: 0

the file /opt/kde3/share/config/kdm/kdmrc has the following:
Enable=false
#Port=177
Xaccess=/etc/X11/xdm/Xaccess
Willing=/etc/X11/xdm/Xwilling

/etc/X11/xdm/Xaccess shows this:

  • #any host can get a login window

Yast - System - Run Level Services expertmode

when I do "Yast - System - Run Level Services expertmode "… I see “xdm”. I don’t see “xdmcp”. I don’t want to stop the display manger, I just don’t want it to use xdmcp. I want the display manager to use “ssh” instead. My system uses “kdm”.

xdmcp is not a process, it’s a protocol. Whenever you have a display manager (kdm, gdm, xdm, etc) running and it’s configured to listen for network connections, then the xdmcp port will be active. So to disable it, you have to set DISPLAYMANGER_REMOTE_ACCESS=“no” in /etc/sysconfig/displaymanager and restart it.

ken you are right. I agree. If you look into the start of the thread, I have set DISPLAYMANGER_REMOTE_ACCESS=“no”.

So why am I getting this when I run these netstat commands:

netstat -anp | grep 177

udp 0 0 0.0.0.0:177 0.0.0.0:* 14217/kdm

netstat --tcp --udp --listening --program | grep xdmcp

udp 0 0 *:xdmcp : 12774/kdm

Did you rerun SuSEconfig to rebuild /usr/share/kde4/config/kdm/kdmrc (for kde4)? If you edit /etc/sysconfig/displaymanager with a text editor, SuSEconfig doesn’t get run, but if you edit it with YaST, it should.