From: Grant Edwards <grante@visi.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: X11 from another machine
Date: Mon, 21 May 2007 18:25:58 +0000 (UTC) [thread overview]
Message-ID: <f2so7l$bun$1@sea.gmane.org> (raw)
In-Reply-To: 20070521193732.a7356246.hilse@web.de
On 2007-05-21, Hans-Werner Hilse <hilse@web.de> wrote:
> Hi,
>
> On Mon, 21 May 2007 17:22:39 +0000 (UTC) Grant Edwards
><grante@visi.com> wrote:
>
>> > However, the usual way to use remote X-based programs is just to let
>> > SSH do that. It can provide a tunnel for X. This is especially easy
>> > if the remote SSH server daemon has set its "X11Forwarding"
>> > configuration setting set to "yes" (otherwise, it is really a bit
>> > harder and not suggested). Then, you just would connect using "ssh
>> > -X user@host" and that's it, SSH will care for creating a socket on
>> > the remote machine and set the DISPLAY variable accordingly.
>>
>> NB: I've found that using -Y instead of -X can speed up some
>> applications by a factor of 50 or more.
>
> well, I don't doubt you did experience it, but it sounds quite
> unlikely (or like a bug). To be a bit picky: How did you
> measure that factor?
With a stopwatch. I timed how long the initial window took to
draw, how long it took to redraw after an expose event, how
long a dialog box took to appear, etc. Using -X, the times
were 1-2 minutes. Using -Y, they were was 1-3 seconds.
This was through a 1Mbps link with about 40ms of latency.
> But you're right: In fact, some applications will probably work better
> in "trusted" mode (see "ForwardX11" in ssh_config(5)). However, usually
> applications are not supposed to behave in a way where -Y (i.e.
> trusting all and everything) has improvements...
It made a big difference on all apps I tested, and a _huge_
difference on GTK apps. The improvement on GTK apps was
probably 10X the improvement for Motif or Athena apps.
--
Grant Edwards grante Yow! I just heard the
at SEVENTIES were over!! And
visi.com I was just getting in touch
with my LEISURE SUIT!!
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-05-21 18:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-21 16:30 [gentoo-user] X11 from another machine Andrew Lowe
2007-05-21 16:45 ` Hans-Werner Hilse
2007-05-21 17:22 ` [gentoo-user] " Grant Edwards
2007-05-21 17:37 ` Hans-Werner Hilse
2007-05-21 18:25 ` Grant Edwards [this message]
2007-05-29 15:00 ` [gentoo-user] Re: X11 from another machine [SOLVED] Andrew Lowe
2007-05-29 17:47 ` Alan McKinnon
2007-05-21 16:57 ` [gentoo-user] X11 from another machine Alan McKinnon
2007-05-21 17:01 ` Alex Schuster
2007-05-21 17:58 ` Neil Bothwick
2007-05-21 18:15 ` [gentoo-user] " james
2007-05-21 21:54 ` [gentoo-user] " Guillermo A. Amaral
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='f2so7l$bun$1@sea.gmane.org' \
--to=grante@visi.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox