On Mon, 28 Dec 2009, Warren Block wrote:

On Mon, 28 Dec 2009, d...@safeport.com wrote:
I wouldn't install old versions of xdm. If there's a doubt about one of the many things xdm depends on, you can do 'portupgrade -Rf xdm'. It'll take quite a while.

It may be somehting like this. The system comes up with DNS via DHCP. Because I am starting xdm manually at this point I know DNS is working before xdm is itself is named localhost with no associated domain to avoid this.

I don't quite understand that sentence. Normally all I have in /etc/hosts (on the machine with X, anyway) is:

127.0.0.1       localhost

Everything else comes from DHCP.

AFAIR, xdm did okay with only the /etc/hosts entry and no DNS. Without either, it really had problems. I didn't try it with localhost undefined but with a DNS server. Probably should have.

I will follow your advice on xdm. I appreciate you sharing your experience and insights.

Certainly.  It'll be nice to have an answer for this when it comes up again.

The answer appears to be to add an empty LISTEN statement to /usr/local/lib/X11/xdm/Xaccess. The xdm package issues a IPV6 DHCP request. While the xdm man page suggests this is not needed:

       To disable listening for XDMCP connections altogther, a line of  LISTEN
       with  no addresses may be specified, or the previously supported method
       of setting DisplayManager.requestPort to 0 may be used.

This seems not to be the case as adding this line gets rid of the long delay and suppresses the IPV6 DHCP request. The DisplayManager.requestPort is set to 0 in the default configuration. This solves the long start (I am pretty sure). Thank you for your suggestions that pushed me to find this.

I am also pretty sure my hardware just does not work with hal and dbus.


_____
Douglas Denault
http://www.safeport.com
d...@safeport.com
Voice: 301-217-9220
  Fax: 301-217-9277
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to