X not listening on 177 after upgrade to 7.3

Lane Holcombe lane at joeandlane.com
Tue Nov 6 20:36:23 PST 2007


Please help, I'm completely out of my league.  I know this is mostly an
Xorg question, but trying to get help from that group is ... not so
easy... 

I've had the gdmchooser working for several months, now.  But recently I
updated X from 7.2 to 7.3 and X is no longer even listening on port 177:

sockstat -l46 | grep 177 

shows nothing

I see Xorg listening on port 6000, but I seem to recall that  xdm was
listening on 177 before the upgrade.  Or maybe it was gdm-binary, but
certainly it was the default port 177, not port 6000.

gdm is started by /usr/local/etc/rc.d/gdm and it runs the greeter just
fine.  But it is the chooser that I need, since I periodically need to
access this machine from the local network or from remote vpn or access
remote machines from this one.

I'm running 6.2-STABLE FreeBSD, built from source in May, so the
configuration in /etc did not change.  But it appears that my 

/usr/local/lib/X11/xdm/xdm-config

and

/usr/local/etc/gdm/custom.conf

have been overwritten with defaults and I can't find a backup version
that works.

I expect that if I could get xdm to listen then I could figure out gdm,
again.  But I've been researching and tweeking all day and can't seem to
make it work.

I thought it was as simple as commenting out the last line in the
default xdm-config:

! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
! DisplayManager.requestPort:   0


But that does not make a difference, even after reboot.

Your helpful suggestions and insight are appreciated.

lane


More information about the freebsd-questions mailing list