From owner-freebsd-questions@FreeBSD.ORG Tue Nov 20 16:38:42 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26D4516A46B for ; Tue, 20 Nov 2007 16:38:42 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep14-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id A00BA13C469 for ; Tue, 20 Nov 2007 16:38:41 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from [192.168.1.104] (really [80.99.119.201]) by viefep14-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20071120163833.UJKW27233.viefep14-int.chello.at@[192.168.1.104]> for ; Tue, 20 Nov 2007 17:38:33 +0100 Message-ID: <47430D88.6000405@shopzeus.com> Date: Tue, 20 Nov 2007 17:38:32 +0100 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: gdm-binary: Unable to connect to socket: hostname nor servname provided X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2007 16:38:42 -0000 Hi All, Do you have any idea what is the problem with my settings? gdm places this message in /var/log/messages: Nov 20 12:19:05 cassiopeia gdm-binary[1167]: ERROR: Unable to connect to socket: hostname nor servname provided, or not known aborting... The local X server starts, but gdm is not accepting connections on TCP/177. This is the problem, because I want many clients connect to this computer with xdmcp. My ports tree was first downloaded via "portsnap fetch" three days ago. All ports have been compiled from this ports tree. My /usr/local/etc/gdm/custom.conf file has these modifications: [security] DisallowTCP=false [xdmcp] Enable=true Here is some more information: cassiopeia# uname -a FreeBSD cassiopeia.ronet 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: Thu Nov 15 17:19:45 EST 2007 gandalf@cassiopeia.chello.hu:/usr/obj/usr/src/sys/CASSIOPEIA amd64 cassiopeia# hostname cassiopeia.ronet cassiopeia# cat /etc/resolv.conf search ronet nameserver 192.168.0.1 cassiopeia# host cassiopeia cassiopeia.ronet has address 192.168.0.1 cassiopeia# ipfw show 00050 4320 696526 divert 8668 ip4 from any to any via rl0 00100 112 8560 allow ip from any to any via lo0 00200 0 0 deny ip from any to 127.0.0.0/8 00300 0 0 deny ip from 127.0.0.0/8 to any 65000 4320 696526 allow ip from any to any 65535 0 0 deny ip from any to any cassiopeia# pkg_info | grep gdm gdm-2.20.1_1 GNOME 2 version of xdm display manager cassiopeia#ifconfig rl0: flags=8843 mtu 1500 options=8 inet 192.168.1.105 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:0e:2e:8f:13:03 media: Ethernet autoselect (100baseTX ) status: active re0: flags=8843 mtu 1500 options=1b inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:1a:4d:7b:cf:d6 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=108810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 cassiopeia# cat /etc/rc.conf moused_flags="" moused_port="/dev/psm0" moused_type="auto" moused_enable="YES" gateway_enable="YES" hostname="cassiopeia.ronet" ifconfig_rl0="inet 192.168.1.105 netmask 255.255.255.0" ifconfig_re0="inet 192.168.0.1 netmask 255.255.255.0" firewall_enable="YES" firewall_type="/etc/ipfw.conf" local_startup="/usr/local/etc/rc.d" gnome_enable="YES" inetd_enable="YES" # TFTP named_enable="YES" # DNS cache, local DNS (diskless1XX.ronet) dhcpd_enable="YES" # dhcpd enabled? dhcpd_flags="-q" # command option(s) dhcpd_conf="/usr/local/etc/dhcpd.conf" # configuration file dhcpd_ifaces="re0" # ethernet interface(s) dhcpd_withumask="022" # file creation mask nfs_server_enable="YES" nfs_reserved_port_only="YES" rcpbind_enable="YES" mountd_flags="-r" rpc_lockd_enable="YES" rpc_statd_enable="YES" natd_enable="YES" natd_interface="rl0" natd_flags="" Thanks, Laszlo