[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XFree 4.0.3 and remote clients



mallum  <breakfast@10.am> writes:
mallum> I apt-get upgarded my woody install this morning and Xfree
mallum> 4.0.3 got installed. All working fine except when I try and
mallum> launch an X app on a remote machine ( with DISPLAY set to the
mallum> 4.0.3 machine ) I get an unable to connect error. This used to
mallum> work fine and the remote machine is in xhost's .
mallum> 
mallum> Any ideas ?

Don't do that; it's massively insecure, since there is no encryption
at all over the X wire protocol.  A much better solution is ssh with X 
forwarding enabled.

In more detail: because of this, the default configuration for Debian
X servers is now to disable listening to TCP ports for connections,
and only accept local socket connections.  This is controlled by the
'-nolisten tcp' option to the X server; you should find where the
server is started (possibly in the configuration file for your display 
manager, if you use one, e.g. in /etc/gdm/gdm.conf) and remove the
option if that's what you *really* want to do.  I'd recommend
switching to ssh if you can, though, since it's much less painless;
in addition to getting better security, you can ignore $DISPLAY,
xhost, and xauth since ssh Just Deals.

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: