Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2002 16:44:55 +0100 (CET)
From:      Simon J Mudd <sjmudd@pobox.com>
To:        freebsd-questions@freebsd.org
Subject:   Help with XFree config? 'can't open display:' from remote client
Message-ID:  <Pine.LNX.4.44.0202281632470.2646-100000@phoenix.ea4els.ampr.org>

next in thread | raw e-mail | index | archive | help
Hello:

I'm using 4.5-STABLE and recently I've noticed that I can't access my 
xserver with a remote client.  I'm not sure when this started, but it's 
must be over the last couple of months.

I currently have installed:

XFree86-4.1.0_12,1  X11R6.5/XFree86 core distribution (complete)
XFree86-4.1.0_6     X11R6.4/XFree86 core distribution (complete)
XFree86-FontServer-4.1.0_1 XFree86-4 Font Server
XFree86-PrintServer-4.1.0 XFree86-4 print Server
XFree86-Server-4.1.0_1 XFree86-4 X server and related programs
XFree86-aoutlibs-3.3.3 XFree86 a.out compatibility libraries
XFree86-clients-4.1.0 XFree86-4 Client environments
XFree86-documents-4.1.0 XFree86-4 Document Files
XFree86-font100dpi-4.1.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.1.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontEncodings-4.1.0 XFree86-4 font encoding files
XFree86-fontScalable-4.1.0 XFree86-4 Scalable font files
XFree86-libraries-4.1.0 XFree86-4 include/(shared) library kit
XFree86-manuals-4.1.0 XFree86-4 man pages

and 

kde-2.2.2           The "meta-port" for KDE 2
kde-i18n-2.2        Localized messages and documentation for KDE2
kdeadmin-2.2        KDE applications related to system administration
kdebase-2.2_2       Base modules for the KDE integrated X11 desktop
kdegames-2.2        Games for the KDE integrated X11 desktop
kdegraphics-2.2     Utilities for the KDE integrated X11 desktop
kdelibs-2.2_3       Libraries for KDE2
kdemultimedia-2.2   Utilities for the KDE integrated X11 desktop
kdenetwork-2.2      Network modules for KDE2
kdeutils-2.2        Utilities for the KDE integrated X11 desktop

I assume the problem is a configuration problem with the Xserver and is 
probably not kde related.

I've performed 'xhost +' on the server/local display so this is not an
issue.

I had thought that I had firewall (ipfw) filters which weren't allowing 
the connection, but I see in /var/log/messages:

Feb 28 10:47:21 unicorn /kernel: Connection attempt to TCP 44.133.228.2:6000 from 44.133.228.5:1260
Feb 28 10:47:22 unicorn /kernel: Connection attempt to TCP 44.133.228.2:6000 from 44.133.228.5:1261
Feb 28 10:47:23 unicorn /kernel: Connection attempt to TCP 44.133.228.2:6000 from 44.133.228.5:1262

This shows that the connection attempt is being made, but that nothing is 
"listening" on port 6000.

The error message on the remote X client is as follows:

$ export DISPLAY=unicorn:0
$ xterm
xterm Xt error: Can't open display: unicorn:0

I can't seem to find from the X man pages how to enable the X server to 
listen on port 6000.  Searching the freebsd-questions archives didn't seem 
to help.

Could someone please point me in the right direction.

Many thanks.

Simon
-- 
Simon J Mudd,   Tel: +34-91-408 4878,  Mobile: +34-605-085 219
Madrid, Spain.  email: sjmudd@pobox.com,  Postfix RPM Packager


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0202281632470.2646-100000>