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

Re: Woody: "xhost +" on Local Machine not Working

Holger Rauch <Holger.Rauch@heitec.de> writes:
> When I execute "xhost +" on localhost, telnet to another machine,
> set the DISPLAY to my machine's hostname (!export
> DISPLAY=prag:0.0"), I get the error message that this connection is
> refused by the server? Why? (It doesn't make sense to me since I
> executed "xhost +" on the machine the X server is running on.)

"Don't do that."  xhost is notoriously insecure; ssh X forwarding is
easier to manage, isn't vulnerable to IP spoofing attacks, and doesn't
require you to manually set DISPLAY.  The X server in woody comes, by
default, with its TCP socket disabled (so ssh X forwarding and local
connections work, but "normal remote X connections" don't).  Changing
this is left as an exercise to the reader.

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

To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: