SCIENTIFIC-LINUX-USERS Archives

February 2015

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Brett Viren <[log in to unmask]>
Reply To:
Brett Viren <[log in to unmask]>
Date:
Fri, 27 Feb 2015 09:32:19 -0500
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (885 bytes) , application/pgp-signature (184 bytes)
~Stack~ <[log in to unmask]> writes:

> Because the app acts funny when X forwarded over SSH

What does "funny" mean?

All that is needed to run remote X11 programs displayed on your local
X11 server's screen is:

  local> ssh -Y user@remote

  remote> the-gui-program &

If your network connection is high-latency and/or flaky then this may
not be such a great experience (maybe this is what you mean by "funny").
If that is the case you can install Xpra on both ends.  This tool is
designed for being robust against such adversity and it takes just
slightly more to run than basic SSH.  Use it like:

  local> ssh user@remote

  remote> xpra start :100 &
  remote> DISPLAY=:100 the-gui-program &

  local> xpra attach ssh:user@remote:100

After this last command "the-gui-program" should pop up on your local
X11 server's screen.

When finished you can kill the remote daemon with:

  remote> xpra stop :100

-Brett.


ATOM RSS1 RSS2