[winswitch] Using xpra in ssh -X

V V zheglov1887 at gmail.com
Sat May 3 09:04:06 BST 2014


Thanks Antoine, this works exactly as I wanted.

Vladimir


On 1 May 2014 09:51, Antoine Martin <antoine at nagafix.co.uk> wrote:

> On 01/05/14 15:41, V V wrote:
> > At the moment I am doing "xpra start :100 --start-child=xterm" on the
> > server, then "xpra attach ssh:serverhostname:100" on the client. Then
> > I use gnuplot (for example) which is mostly terminal work but also
> > launches windows with the plots. When I am finised I do "xpra stop".
> You may want to simplify this a bit:
> xpra start ssh:SERVER:100 --start-child=xterm --exit-with-children
> (no need to ssh, exit the xterm to stop the session)
> > The alternative is using "ssh -X" from the client and then starting
> > gnuplot. The advantage of the second method is that the terminal
> > emulator is running on the client. However this method is very slow.
> Then you could also do this on the server after you "ssh -X":
> xpra start :100
> DISPLAY=:100 gnuplot
> Then attach as normal.
> The downside is that if your ssh connection goes down.. gnuplot will die.
> But then you should be able to use screen or tmux to workaround that.
>
> Antoine
>
> >
> > Vladimir
> >
> >
> > On 30/04/14 15:25, V V wrote:
> >> * If xpra is installed on the server and client, is it possible to make
> it so
> > *>* that when ssh connection with X forwarding (i.e. ssh -X ...) is done
> from
> > *>* client to server, xpra is used underneath?
> > *I'm not sure I understand what it is that you are trying to do.
> > If you are already connecting to xpra over ssh and want to use the ssh
> > connection sharing feature. (openssh "ControlMaster")
> > This should already work, but you may be interested in adding:
> > "--no-exit-ssh" to your command line, or to your .xpra/xpra.conf
> > If you are connecting to xpra over tcp, then this is not possible at
> > present.
> >
> > Antoine
> >> * This is just for convenience really. I know you can just start xterm
> on
> > *>* server and then access it from client.*
> > _______________________________________________
> > shifter-users mailing list
> > shifter-users at lists.devloop.org.uk
> > http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>



More information about the shifter-users mailing list