From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: hw Newsgroups: gmane.emacs.devel Subject: Re: Some developement questions Date: Thu, 06 Sep 2018 00:40:00 +0200 Organization: my virtual residence Message-ID: <87in3j601r.fsf@toy.adminart.net> References: <87sh36inql.fsf@himinbjorg.adminart.net> <87zhxcbmtr.fsf@himinbjorg.adminart.net> <83in409lub.fsf@gnu.org> <871sanb71j.fsf@himinbjorg.adminart.net> <87k1oeaofu.fsf@ada> <20180825103413.gbm5stsl67j6weow@Ergus> <87k1od7vzf.fsf@himinbjorg.adminart.net> <83wosd5h3x.fsf@gnu.org> <871sakzssu.fsf@himinbjorg.adminart.net> <83bm9n6f7d.fsf@gnu.org> <87tvneql3i.fsf@himinbjorg.adminart.net> <83o9dl2oob.fsf@gnu.org> <87y3coopyf.fsf@himinbjorg.adminart.net> <83pny00y1q.fsf@gnu.org> <87tvnbl669.fsf@himinbjorg.adminart.net> <83h8j912d0.fsf@gnu.org> <87efebg900.fsf@himinbjorg.adminart.net> <83tvn7zuuf.fsf@gnu.org> <87lg8hqndn.fsf@toy.adminart.net> <83y3chxlb7.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1536196260 3228 195.159.176.226 (6 Sep 2018 01:11:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2018 01:11:00 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: spacibba@aol.com, radon.neon@gmail.com, flexibeast@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 06 03:10:56 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fxiox-0000fC-83 for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2018 03:10:55 +0200 Original-Received: from localhost ([::1]:58835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxir3-0000dY-Dx for ged-emacs-devel@m.gmane.org; Wed, 05 Sep 2018 21:13:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxipl-0000bu-TH for emacs-devel@gnu.org; Wed, 05 Sep 2018 21:11:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fxipk-0001cy-W3 for emacs-devel@gnu.org; Wed, 05 Sep 2018 21:11:45 -0400 Original-Received: from mo6-p01-ob.smtp.rzone.de ([2a01:238:20a:202:5301::3]:27060) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fxipk-0001bC-Ms; Wed, 05 Sep 2018 21:11:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1536196303; s=strato-dkim-0002; d=adminart.net; h=References:Message-ID:Date:In-Reply-To:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=pMXVDUMpf5lqTpAvmX5hSNTmsCCj943I5kRkucrGBwo=; b=D7njNfLZBMgHgMkRqzcnpXqv3KE/sDRz8jG4D61uPLfDaKY989yGD9g5Z/Ruesz9gB hzLj8lMsZzpAbQHHtIWh1El/1gs5wI1xWLV7X/71punndeNqMwPPGz07t09OZna8TuLT cMgS97UkzgVhk5gkr18FtZ/hx+HzUZHxsKXNhhTWCsJ8SSV9rUKaK1FQPT303AQ22Txx PxwdCrUnVK/GaPDCAzu5pqO9O7bHk+zhYIg2InEpnIwwikhonJPWLUoAE4Lkgv7scvqO pRp/xdC/QHvEBmHxDSD2vfovahpzsj1nM2ij8p/oSLhPoXb6p6tJrYe9kx2CtL93van8 HnXA== X-RZG-AUTH: ":O2kGeEG7b/pS1FS4THaxjVF9w0vVgfQ9xGcjwO5WMRo5c+h5ceMqQWZ3yrBp+AVdIIwXjneEe9k=" X-RZG-CLASS-ID: mo00 Original-Received: from himinbjorg.adminart.net by smtp.strato.de (RZmta 44.0 DYNA|AUTH) with ESMTPSA id e03b99u861Bc65z (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Thu, 6 Sep 2018 03:11:38 +0200 (CEST) Original-Received: from toy.adminart.net ([192.168.3.55]) by himinbjorg.adminart.net with esmtp (Exim 4.90_1) (envelope-from ) id 1fxipe-00021i-AK; Thu, 06 Sep 2018 03:11:38 +0200 In-Reply-To: <83y3chxlb7.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 04 Sep 2018 19:46:20 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5301::3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229323 Archived-At: Eli Zaretskii writes: >> From: hw >> Cc: spacibba@aol.com, radon.neon@gmail.com, flexibeast@gmail.com, emacs-devel@gnu.org >> Date: Tue, 04 Sep 2018 17:43:32 +0200 >> >> >> I want to be able to use the same Emacs session with multiple different >> >> machines --- currently only two. >> > >> > That's what -dDISPLAY option is about, AFAIK. >> >> But that would be unsave ... >> >> Using 'ssh -Y' didn't work too well, either. The Emacs daemon crashed >> when it wasn't able to draw the contents of the frames correctly and I >> had to close them because they were entirely unresponsive. > > What makes you think emacsclient will do any better in this scenario? That way, it worked a couple days until it crashed, which was better than using it directly, which didn't work at all and is unsafe. > After all, you still want the Emacs X frame be displayed on the same > machine, and the data be moved over the same network. X frames could be displayed on both machines (I'm usually not running an X session on the server, but I could) and would usually be displayed on the remote machine. That is what 'ssh -Y' provides; you can set DISPLAY to point to the remote machine, run the program locally and have everything displayed remotely --- without the remote X server listening to the network and the data transfer encrypted, all like magic. That means you log in to the remote machine with 'ssh -Y', set DISPLAY and start some program on the remote machine, and the program uses the local X session like programs running locally do.