all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Strange things with client-server in 24
@ 2012-11-08  8:51 Kamil Jońca
  2012-11-08 16:55 ` Kamil Jońca
  0 siblings, 1 reply; 3+ messages in thread
From: Kamil Jońca @ 2012-11-08  8:51 UTC (permalink / raw)
  To: help-gnu-emacs


1. Run emacs24 with server on machine A
2. From machine B try to ssh -X A
3. run something like "emacsclient -c -d ${DISPLAY} -n"  within ssh
    session created earlier.
    (so far everything works ok - I have frame on machine B, and can switch
    to gnus buffer, for example)

4 C-x/C-c or C-x 5 0  - frame disappears
5. Then I try to exit ssh sesion, but session cannot disconnect - it
   looks like that emacs server still used it somehow. 
6. When I kill ssh on machine B, then emacs on machine A disappears :(

What am I missing?
#v+
GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-09 on trouble, modified by Debian
#v-

KJ

-- 
http://modnebzdury.wordpress.com/2009/10/01/niewiarygodny-list-prof-majewskiej-wprowadzenie/
Retirement means that when someone says "Have a nice day", you
actually have a shot at it.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Strange things with client-server in 24
  2012-11-08  8:51 Strange things with client-server in 24 Kamil Jońca
@ 2012-11-08 16:55 ` Kamil Jońca
  2012-11-10  6:57   ` William Gardella
  0 siblings, 1 reply; 3+ messages in thread
From: Kamil Jońca @ 2012-11-08 16:55 UTC (permalink / raw)
  To: help-gnu-emacs

kjonca@poczta.onet.pl (Kamil Jońca) writes:

> 1. Run emacs24 with server on machine A
> 2. From machine B try to ssh -X A
> 3. run something like "emacsclient -c -d ${DISPLAY} -n"  within ssh
>     session created earlier.
>     (so far everything works ok - I have frame on machine B, and can switch
>     to gnus buffer, for example)
>
> 4 C-x/C-c or C-x 5 0  - frame disappears
> 5. Then I try to exit ssh sesion, but session cannot disconnect - it
>    looks like that emacs server still used it somehow. 
> 6. When I kill ssh on machine B, then emacs on machine A disappears :(
>
> What am I missing?
> #v+
> GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-09 on trouble, modified by Debian
> #v-

It looks like emacs without gtk behaves better - no hangs.
KJ

-- 
http://sporothrix.wordpress.com/2011/01/16/usa-sie-krztusza-kto-nastepny/
I want to kill everyone here with a cute colorful Hydrogen Bomb!!


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Strange things with client-server in 24
  2012-11-08 16:55 ` Kamil Jońca
@ 2012-11-10  6:57   ` William Gardella
  0 siblings, 0 replies; 3+ messages in thread
From: William Gardella @ 2012-11-10  6:57 UTC (permalink / raw)
  To: help-gnu-emacs

kjonca@poczta.onet.pl (Kamil Jońca) writes:

> It looks like emacs without gtk behaves better - no hangs.
> KJ

Yeah, this is a known issue with libgtk.  It gets very confused by being
abruptly disconnected from an X server (including machine B's X server
in your scenario).  Emacs is probably the only GTK-using application
that has the ability to attach to and detach from X servers, so don't
expect a fix. :-/

Emacs with ./configure --with-x-toolkit=no is very nice, and is fully
functional as an X application.  It's particularly nice if, like many of
us here, you don't care about having a tool bar or menu bar.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-10  6:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-08  8:51 Strange things with client-server in 24 Kamil Jońca
2012-11-08 16:55 ` Kamil Jońca
2012-11-10  6:57   ` William Gardella

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.