From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HqChJ-0007qv-Es for garchives@archives.gentoo.org; Mon, 21 May 2007 18:33:33 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4LIWJrj021716; Mon, 21 May 2007 18:32:19 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4LIQdOJ014307 for ; Mon, 21 May 2007 18:26:40 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 0DCC765011 for ; Mon, 21 May 2007 18:26:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.85 X-Spam-Level: X-Spam-Status: No, score=-0.85 required=5.5 tests=[AWL=-0.850] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BBZbAa3yS7J8 for ; Mon, 21 May 2007 18:26:35 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id B27EB65132 for ; Mon, 21 May 2007 18:26:33 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HqCaB-0004Mm-8I for gentoo-user@gentoo.org; Mon, 21 May 2007 20:26:11 +0200 Received: from c-76-17-159-202.hsd1.mn.comcast.net ([76.17.159.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 May 2007 20:26:11 +0200 Received: from grante by c-76-17-159-202.hsd1.mn.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 May 2007 20:26:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: X11 from another machine Date: Mon, 21 May 2007 18:25:58 +0000 (UTC) Message-ID: References: <4651C936.4030307@wht.com.au> <20070521184526.04311d8e.hilse@web.de> <20070521193732.a7356246.hilse@web.de> X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-76-17-159-202.hsd1.mn.comcast.net User-Agent: slrn/0.9.8.1 (Linux) Sender: news Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Archives-Salt: 384a412a-b2f9-4b2d-b6e7-53a7c0b3524f X-Archives-Hash: c24a601e7d85e6ddf785b6be0e3225ad On 2007-05-21, Hans-Werner Hilse wrote: > Hi, > > On Mon, 21 May 2007 17:22:39 +0000 (UTC) Grant Edwards > 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