Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

emacsclient fails, emacsclient -t works

0 views
Skip to first unread message

Андрей Парамонов

unread,
Dec 27, 2009, 1:23:58 PM12/27/09
to help-gn...@gnu.org, emacs...@gnu.org
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


Richard Riley

unread,
Dec 27, 2009, 1:42:11 PM12/27/09
to help-gn...@gnu.org, emacs...@gnu.org
Андрей Парамонов <cmr....@gmail.com> writes:

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!


Ilya Zakharevich

unread,
Dec 27, 2009, 3:39:35 PM12/27/09
to
On 2009-12-27, ?????? ????????? <cmr....@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

Jason Rumney

unread,
Dec 27, 2009, 9:37:53 PM12/27/09
to


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.

Andrey Paramonov

unread,
Dec 28, 2009, 1:21:17 AM12/28/09
to
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

Dan Nicolaescu

unread,
Dec 28, 2009, 12:54:26 PM12/28/09
to Андрей Парамонов, help-gn...@gnu.org, emacs...@gnu.org
Андрей Парамонов <cmr....@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.

0 new messages