Ken,

On Mon, 05 Jun 2000, Rodent of Unusual Size <[EMAIL PROTECTED]> wrote:
> I need to keep xdm running, and runnable, but I also want
> X to stop listening on port 1029.  Twiddling a firewall won't
> do; this needs to be done at the origin.  Using startx won't
> do.  lsof shows me X, xconsole, xbanner, and xdm all listening
> on that port, and I need to make them stop.

Searching with "xdm tcp listen port" at www.deja.com yields the following.
Let me know if it works, useful to know how to shut that off (along
with -nolisten tcp closes things up pretty well).


Karl Runge


 [EMAIL PROTECTED] wrote:
 >"Eric L. Schott" wrote:
 >> 
 >> Kenneth Porter <[EMAIL PROTECTED]> writes:
 >> 
 >> > It looks like xdm from XFree86 uses port 1024, or whatever unrestricted
 >> > port is the first available when xdm starts. This socket is then
 >> > inherited by all children of xdm, ie. shells and user programs. What is
 >> > xdm using this port for? I expect I need to firewall that port on my
 >> > external interface, as I do now with port 6000.
 >> 
 >> Insert the line
 >> 
 >>     DisplayManager.requestPort:     0
 >> 
 >> to /etc/X11/xdm/xdm-config
 >
 >What does that do? I looked at "man xdm" and it says that requestPort is
 >the port to listen on for incoming XDMCP messages, and defaults to 177.
 >Why would setting it to 0 make xdm stop listening on port 1024?
 
 True, the requestPort resource defaults to 177, and sets the UDP port
 which xdm listens on for requests. Setting requestPort to zero disables
 this UDP port. But it also disables xdm's TCP port, which typically is
 on port 1024.  Doing this, you lose the ability to have remote X server
 displays connect to your xdm, but will not affect controlling the local
 X server.
 
 Back to the original question. TCP port 1024 (actually, the first
 unreserved port available when xdm starts) is used by xdm to talk
 to chooser. Xdm starts chooser, then waits for chooser to tell it
 what host you picked. Chooser talks back to xdm through that port.


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to