From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Remote GUI Emacs really works (was: cc-mode fontification feels random) Date: Sat, 05 Jun 2021 15:59:25 +0200 Message-ID: <8735twbef6.fsf_-_@telefonica.net> References: <831r9iw473.fsf@gnu.org> <87h7ieyma7.fsf@gmail.com> <15be7dd8-e901-e317-5111-e1a34f6f0416@gmail.com> <83k0n9l9pv.fsf@gnu.org> <83eedhl83r.fsf@gnu.org> <838s3olsok.fsf@gnu.org> <87lf7oy7vn.fsf@gmail.com> <20210605095904.vnyrph5n4lqooeyh@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36487"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:z03xqnpdeC9ReaYIJrq8b3ELumk= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 05 16:00:23 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lpWqc-0009GS-MM for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Jun 2021 16:00:22 +0200 Original-Received: from localhost ([::1]:50398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpWqb-0003io-P4 for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Jun 2021 10:00:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpWpr-00031n-RN for emacs-devel@gnu.org; Sat, 05 Jun 2021 09:59:35 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:35402) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpWpp-0002fR-Lg for emacs-devel@gnu.org; Sat, 05 Jun 2021 09:59:35 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lpWpm-0008Ak-Su for emacs-devel@gnu.org; Sat, 05 Jun 2021 15:59:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270437 Archived-At: Ergus writes: > Usually running a remote emacs is extremely slow if using gui and > creates all kind of issues if the connection fails or hang. Use the right method: something based on the NX protocol, like x2go. Until a year ago, I used that with no issues on ADSL lines with 60KBps upstream bandwidth. Connection failures are a non-issue: the session is kept live on the remote machine, you simply reconnect to it and everything comes back as it was. The same mechanism allows you to suspend and resume the session at your convenience. Text-based applications such as Emacs work very well with this setup over slow networks, just some tens of KBps are enough. As long as you don't have too much latency (as it is often the case with cellular networks) the experience is quite good.