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



2008-09-18 klockan 18:38 skrev Pacho Ramos:
> 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?
> 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

You probably need to enable X11 forwarding in the server's
/etc/ssh/sshd_config.

  mvrgr, Wouter

-- 
:wq                                                       mail uws xs4all nl
                                                      web http://uwstopia.nl

sugar sugar :: you couldn't taste it :: in my throat         -- heather nova

Attachment: signature.asc
Description: Digital signature



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