Networking Forums

Networking Forums > Computer Networking > Linux Networking > [XDMCP] XDM/KDM sometimes not responding to UDP packets on port 177

Reply
Thread Tools Display Modes

[XDMCP] XDM/KDM sometimes not responding to UDP packets on port 177

 
 
Marcel Meckel
Guest
Posts: n/a

 
      04-25-2005, 12:14 PM
Hi,

short introduction:

-Linux terminal server serving xdm/kdm login manager via XDMCP
to X (thin)clients over ethernet
-Clients are thinclients and normal x86 PCs running x.org

problem:

from time to time the login manager (xdm and kdm are both affected)
serving on the terminal server stops reading from it's received packets
queue leading to not being able to login remotely via XDMCP.

packet flow when all is fine:

client -> server:177/udp
server -> client "Willing to serve"

packet flow when the mentioned problem occurs:

client -> server:177/udp (no response, some seconds delay)
client -> server:177/udp (no response, some seconds delay)
client -> server:177/udp (no response, some seconds delay)
....

# netstat -lnp (server)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program
udp 2800 0 0.0.0.0:177 0.0.0.0:* 2567/kdm

The size of the Recv-Q is growing accordingly to udp packets received
from clients.

Client and server are in the same subnet, no bridge or router in
between.

Server is running X.org 6.8.2, kernel 2.6.11.

Sidenote: A kill `pidof kdm` doesn't kill kdm, kill -9 is needed.

I'm a bit frustrated since googling around didn't give me much info what
could be wrong here. I would be glad if someone could point me in the
right direction.

X-Post & F'up2 comp.os.linux.networking

Greetings,
Marcel.

--
Reply-To is working.
 
Reply With Quote
 
 
 
 
Marcel Meckel
Guest
Posts: n/a

 
      04-26-2005, 01:31 PM
Solution:

http://forums.gentoo.org/viewtopic-p...2.html#2351552

kdm/xdm is reading from /dev/random by default which causes xdm/kdm to
hang when no hdd activity, keystrokes and mouse movement is done...

Fix for KDM:

[General]
RandomDevice=/dev/urandom

--
Reply-To ist working
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Route some packets based on port or source ip, over pptp link morleyc@gmail.com Linux Networking 2 06-26-2007 10:22 PM
netfilter: Redirecting incoming udp packets to other port muruga Linux Networking 0 12-11-2006 05:56 AM
XDMCP & coLinux ? Christian Sgraja Linux Networking 0 05-05-2006 12:59 PM
ipv6 and XDMCP Captain Dondo Linux Networking 3 01-19-2005 02:53 PM
port 25 not responding to outside Blitzen Linux Networking 4 05-31-2004 08:43 PM



1 2 3 4 5 6 7 8 9 10 11