all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacsclient fails, emacsclient -t works
@ 2009-12-27 18:23 Андрей Парамонов
  2009-12-27 18:42 ` Richard Riley
  2009-12-28 17:54 ` Dan Nicolaescu
  0 siblings, 2 replies; 6+ messages in thread
From: Андрей Парамонов @ 2009-12-27 18:23 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: emacs-devel

Hello!

I've restarted my X session, and connect to the still running emacs
daemon via emacsclient no longer works. X window is created, but
nothing is ever drawn inside it.

Fortunately, emacsclient -t works, so I don't lose information.
However, I wish to try to debug the problem. What should I do?

Andrey Paramonov




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

* Re: emacsclient fails, emacsclient -t works
  2009-12-27 18:23 emacsclient fails, emacsclient -t works Андрей Парамонов
@ 2009-12-27 18:42 ` Richard Riley
  2009-12-28 17:54 ` Dan Nicolaescu
  1 sibling, 0 replies; 6+ messages in thread
From: Richard Riley @ 2009-12-27 18:42 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: emacs-devel

Андрей Парамонов <cmr.pent@gmail.com> writes:

> Hello!
>
> I've restarted my X session, and connect to the still running emacs
> daemon via emacsclient no longer works. X window is created, but
> nothing is ever drawn inside it.
>
> Fortunately, emacsclient -t works, so I don't lose information.
> However, I wish to try to debug the problem. What should I do?
>
> Andrey Paramonov
>

FYI, this seems quite common. If X falls over here with an X
emacsclient open I get the same issue (Debian with Gnome). Interestingly
enough I hadn't thought to connect using emacsclient -t so thanks for
that!






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

* Re: emacsclient fails, emacsclient -t works
       [not found] <mailman.270.1261938271.18930.help-gnu-emacs@gnu.org>
@ 2009-12-27 20:39 ` Ilya Zakharevich
  2009-12-28  2:37 ` Jason Rumney
  1 sibling, 0 replies; 6+ messages in thread
From: Ilya Zakharevich @ 2009-12-27 20:39 UTC (permalink / raw)
  To: help-gnu-emacs

On 2009-12-27, ?????? ????????? <cmr.pent@gmail.com> wrote:
> I've restarted my X session, and connect to the still running emacs
> daemon via emacsclient no longer works. X window is created, but
> nothing is ever drawn inside it.

I do not have a clear picture of what it is you are doing, but I can
see two possible reasons: a security cooky is renewed, and a file in
/tmp is stalled.

Is not there a way to restart the daemon?

Ilya


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

* Re: emacsclient fails, emacsclient -t works
       [not found] <mailman.270.1261938271.18930.help-gnu-emacs@gnu.org>
  2009-12-27 20:39 ` Ilya Zakharevich
@ 2009-12-28  2:37 ` Jason Rumney
  2009-12-28  6:21   ` Andrey Paramonov
  1 sibling, 1 reply; 6+ messages in thread
From: Jason Rumney @ 2009-12-28  2:37 UTC (permalink / raw)
  To: help-gnu-emacs

On Dec 28, 2:23 am, Андрей Парамонов <cmr.p...@gmail.com> wrote:
> Hello!
>
> I've restarted my X session, and connect to the still running emacs
> daemon via emacsclient no longer works. X window is created, but
> nothing is ever drawn inside it.
>
> Fortunately, emacsclient -t works, so I don't lose information.
> However, I wish to try to debug the problem. What should I do?


Is your Emacs compiled to use the GTK toolkit?  There are long
standing bugs regarding the inability of GTK to handle the initial X
display being closed.


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

* Re: emacsclient fails, emacsclient -t works
  2009-12-28  2:37 ` Jason Rumney
@ 2009-12-28  6:21   ` Andrey Paramonov
  0 siblings, 0 replies; 6+ messages in thread
From: Andrey Paramonov @ 2009-12-28  6:21 UTC (permalink / raw)
  To: help-gnu-emacs

On 28 дек, 05:37, Jason Rumney <jasonrum...@gmail.com> wrote:
> On Dec 28, 2:23 am, Андрей Парамонов <cmr.p...@gmail.com> wrote:
> Is your Emacs compiled to use the GTK toolkit?

Yes, it is.

So, is anyone interested in debug information I can gather? If so,
please tell me what should I do. Otherwise I'll just restart the
daemon.

Andrey


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

* Re: emacsclient fails, emacsclient -t works
  2009-12-27 18:23 emacsclient fails, emacsclient -t works Андрей Парамонов
  2009-12-27 18:42 ` Richard Riley
@ 2009-12-28 17:54 ` Dan Nicolaescu
  1 sibling, 0 replies; 6+ messages in thread
From: Dan Nicolaescu @ 2009-12-28 17:54 UTC (permalink / raw)
  To: Андрей Парамонов
  Cc: help-gnu-emacs, emacs-devel

Андрей Парамонов <cmr.pent@gmail.com> writes:

  > Hello!
  > 
  > I've restarted my X session, and connect to the still running emacs
  > daemon via emacsclient no longer works. X window is created, but
  > nothing is ever drawn inside it.
  > 
  > Fortunately, emacsclient -t works, so I don't lose information.
  > However, I wish to try to debug the problem. What should I do?

Does your emacs use the Gtk+ toolkit?
If yes, then this is a (very) long standing problem in Gtk+:

http://bugzilla.gnome.org/show_bug.cgi?id=85715

there are some workarounds for this in emacs, but it cannot be fixed
until Gtk+ is fixed (not very likely, it seems).
This problem gets reported from time to time...

If emacs is configured using --with-x-toolkit=lucid you will not have
this problem.





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

end of thread, other threads:[~2009-12-28 17:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-27 18:23 emacsclient fails, emacsclient -t works Андрей Парамонов
2009-12-27 18:42 ` Richard Riley
2009-12-28 17:54 ` Dan Nicolaescu
     [not found] <mailman.270.1261938271.18930.help-gnu-emacs@gnu.org>
2009-12-27 20:39 ` Ilya Zakharevich
2009-12-28  2:37 ` Jason Rumney
2009-12-28  6:21   ` Andrey Paramonov

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.