Re: Idea about creation of a new app for launching remote apps using ssh



El jue, 18-09-2008 a las 17:26 +0100, Ross Burton escribió:
> On Thu, 2008-09-18 at 18:14 +0200, Pacho Ramos wrote:
> > Now, I usually run remote apps doing the following:
> > 1. I run "xhost + `remote ip`"
> > 2. "ssh -X `remote ip`"
> > 3. "export DISPLAY="`local ip`:0.0"
> > 4. And I run remote app
> 
> Do you realise that steps 1 and 3 are not required, because you enabled
> X tunnelling in step 2?
> 
> Ross

I need them, if I skip 1 and 3 I get:

$ xterm 
xterm Xt error: Can't open display: 
xterm:  DISPLAY is not set

Then, I run 3, and I got:
$ xterm 
No protocol specified
xterm Xt error: Can't open display: .....:0.0

Then, I run 1 and it worked again

Thanks



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