On 2007-05-21, Hans-Werner Hilse <[EMAIL PROTECTED]> wrote: > Hi, > > On Mon, 21 May 2007 17:22:39 +0000 (UTC) Grant Edwards ><[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]" 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!! -- [EMAIL PROTECTED] mailing list