gdm-binary: Unable to connect to socket: hostname nor servname provided

Laszlo Nagy gandalf at shopzeus.com
Tue Nov 20 08:38:42 PST 2007


  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:

<snip>
[security]
DisallowTCP=false

[xdmcp]
Enable=true
</snip>

Here is some more information:


<snip>
cassiopeia# uname -a
FreeBSD cassiopeia.ronet 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: Thu 
Nov 15 17:19:45 EST 2007     
gandalf at 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet 192.168.1.105 netmask 0xffffff00 broadcast 192.168.1.255
        ether 00:0e:2e:8f:13:03
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:1a:4d:7b:cf:d6
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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=""

</snip>

Thanks,

   Laszlo





More information about the freebsd-questions mailing list