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

Re: Problem connecting app to X display server--more failed efforts



* Sivea Key (siveakey@attbi.com) [020625 09:45]:
> [additional efforts]
> I did some further research and typed: set DISPLAY <hostname>:0.0; export
> DISPLAY

That looks like a mixture of csh-style and sh-style syntax. try isntead

DISPLAY=:0
export DISPLAY

That's the matter of syntax. As for the matter of semantics, you
shouldn't be resetting DISPLAY to use X apps across a network. You
should be using ssh with X11 forwarding. The reason is that sending an X
connection in the clear is like using telnet: anything you type can be
sniffed from the network. ssh helps protect you from that by tunneling
the connection through an encrypted tunnel. Debian helps you stay secure
by not enabling tcp listening by default in the X server installation.

The best way to do this is to start on the machine you want the app to
be displayed on, and go

ssh -X otherhost application

For this to work, the ssh server on otherhost must allow X11Forwarding
in /etc/ssh/sshd_config as well.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
"I disapprove of what you say, but I will defend to the death your right
to say it." --Beatrice Hall, The Friends of Voltaire, 1906

Attachment: pgpoKzVhnpMME.pgp
Description: PGP signature


Reply to: