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

Re: display



Jianbo Wang said:
> Hi,
>
> I am running woody r3.0. I telnet to a remote server and xhost + the
> server, setenv DISPLAY, but "cannot open DISPLAY, I have the same problem
> with ssh before, but changing ssh config file fixed that. I don't know
> which file I need change this time. Thanks!

on the debian machine:

cd /etc

grep -nri "nolisten tcp" *

remove the  "-nolisten tcp" from any files that come up, and restart your
X server(and/or your display manager)

you can confirm that it is removed and restarted by telnetting to localhost
on port 6000 (you won't see anything other then a successful connection)

ideally you should tunnel your stuff over ssh:

ssh -l username -v -C hostname -X

(is my preferred method for launching SSH)

nate





Reply to: