From 331186c72b7432be159519f0ab7a7e58d3b8d03e Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Thu, 8 Aug 2024 22:58:48 -0400 Subject: [PATCH] Add PROBLEMS entry for bug#72517 * etc/PROBLEMS (X runtime problems): Document ssh -X session hang-on-exit after deletion of remote emacsclient -c frame. (bug#72517) (cherry picked from commit 9f03300c5c626bf6f8f839be4943cc20db89c24d) --- etc/PROBLEMS | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 7d7c9ab5f27..4d6927705b1 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -1778,6 +1778,23 @@ happen without any special user interaction, for example, when Emacs restores a saved desktop. A fix is to install version 2.6.8 of FVWM, see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31650. +*** ssh -X session hangs on exit after remote emacsclient -c frame is deleted. + +When Emacs is configured with an X toolkit, for example, +--with-x-toolkit=lucid, and "emacsclient -c" is run over an "ssh -X" +connection, deleting the emacsclient frame (via C-x 5 0 or C-x C-c) can +leave the X display connection open. + +The symptom is that after you delete the "emacsclient -c" frame and then +attempt to exit ssh (with C-d, or "exit"), ssh will hang before +returning you to the local shell. You will have to press C-c (to sever +the X connection) before ssh returns you to your local shell (that is, +the shell from which you invoked "ssh -X"). + +To avoid this issue configure Emacs with --with-x-toolkit=no. + +See . + ** General X problems *** Redisplay using X is much slower than previous Emacs versions. -- 2.39.2