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

Re: Can't get remote X clients to display on Debian machine



On Fri, Mar 23, 2001 at 09:36:19PM -0500, Stan Brown wrote:
> xhost +
> rlogin remote_machine
> export DISPLAY=debiab_box
> run_x_task
> 
> And I get "can't connect" errors.

Don't do that.  'xhost +' and rlogin are security holes just waiting for
someone to crawl in.  Easiest way to do the same thing, safely, would be 

    ssh -X remote_machine run_x_task

You need to have non-US entries in the sources.list to get ssh.


> What's going on here?

If you use xdm or equivalent, it starts the X server with '-nolisten tcp'
which prevents everyone from accessing it from the network.  It doesn't
affect ssh X-forwarding, you can still use ssh like I described above.


-- 
Tommi Komulainen                                 Tommi.Komulainen@iki.fi
GPG 1024D/68388EE6    6FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6

Attachment: pgpOwZUdYL4_g.pgp
Description: PGP signature


Reply to: