From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Adam_Sj=C3=83=C2=B8gren_via_=22Emacs_development_discussions=2E?= Newsgroups: gmane.emacs.devel Subject: Log out hanging after X-forwarded emacsclient [Was: Closing displays GTK+ bug] Date: Thu, 16 Apr 2020 22:36:43 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87blnr6uck.fsf@tullinup.koldfront.dk> References: <83zhbcg6s4.fsf@gnu.org> <87r1wng2ki.fsf@linaro.org> <83o8rrenn1.fsf@gnu.org> Reply-To: =?UTF-8?Q?Reply-to=3A_Adam_Sj=C3=83=C2=B8gren_=3Casjo=40koldfront=2Edk=3E?= =?UTF-8?Q?=0A?= Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="91940"; 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:cnUGahG0Z3dfhr8HFcS9N1ww0ls= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 16 22:38:46 2020 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 1jPBHZ-000Nr7-Jf for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Apr 2020 22:38:45 +0200 Original-Received: from localhost ([::1]:39096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPBHY-0002Ip-MX for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Apr 2020 16:38:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60577) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPBFr-0008Uj-QO for emacs-devel@gnu.org; Thu, 16 Apr 2020 16:37:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPBFk-0004A1-F0 for emacs-devel@gnu.org; Thu, 16 Apr 2020 16:36:59 -0400 Original-Received: from ciao.gmane.io ([159.69.161.202]:45334) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jPBFk-00049G-7o for emacs-devel@gnu.org; Thu, 16 Apr 2020 16:36:52 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jPBFi-000Lsl-7g for emacs-devel@gnu.org; Thu, 16 Apr 2020 22:36:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ OpenPGP: id=476630590A231909B0A0961A49D0746121BDE416; url=https://asjo.koldfront.dk/gpg.asc X-Now-Playing: Musik Non Stop, Hagnesta Hill (Kent) X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97, Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR 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:247134 Archived-At: Inspired by the mention of the old GTK+-bug, I did a build of emacs like this: ./configure --without-pop --with-cairo --without-dbus --with-x-toolkit=lucid && make bootstrap And then I started Emacs on the machine: machine1:~$ /usr/src/emacs/src/emacs -Q --eval '(server-start)' On another machine, I ssh'ed to the first machine, with X-forwarding turned on, and started emacsclient: machine2:~$ ssh -X machine1 machine1:~$ /usr/src/emacs/lib-src/emacsclient --create-frame /tmp/test.txt Waiting for Emacs... And got an X frame displayed on the screen of machine2, as expected. When I then end emacsclient with C-x # I'm back at the prompt. If I run "exit", the prompt is hanging, where I would expect to be logged out of machine1 and returned to machine2. Only after I press control-c do I get the prompt back: machine1:~$ exit ^C machine2:~$ (When I press control-c, the message "Connection lost to X server 'localhost:10.0'" is displayed in the mini-buffer in the Emacs frame on machine1.) I thought this "hanging" was related to the display closing GTK+-bug, but this is with lucid. At one point, I think, I read that it was a dbus-related thing, but I also turned off dbus. How do I avoid this hanging/having to press control-c? Best regards, Adam -- "I think grown-ups just act like they know what Adam Sjøgren they're doing." asjo@koldfront.dk