En el fichero /etc/kde3/kdm/kdmrc añadimos:

[X-:*-Core]
AllowNullPasswd=true
AllowShutdown=All
NoPassEnable=false
NoPassUsers=
ServerArgsLocal=
#ServerCmd=/usr/bin/X -br
ServerCmd=/usr/bin/X

Si no ponemos «ServerArgsLocal=» automaticamente se añadirá la opción «-nolisten TCP» al arrancar.

Si se usa gdm hay que añadir lo siguiente en el fichero de configuración (/etc/gdm/gdm.conf):

[security]
AllowRemoteAutoLogin=true
DisallowTCP=false

[xdmcp]
Enable=true