unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Chris Moore" <dooglus@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: Emacs crashed trying to connect to X display
Date: Sat, 8 Sep 2007 17:24:56 +0200	[thread overview]
Message-ID: <a9691ee20709080824k5e22aa94o103e40c3a90ce72d@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1096 bytes --]

I usually run Emacs inside GNOME, but today I'm ssh'ed into the box, running
Emacs in an ssh terminal window.

I ran "svn ci" to commit a bunch of changes to subversion, and Emacs
crashed, leaving the terminal looking like this:


chris@trpaslik:~/project$ svn ci
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified Bot (1164,0)   (Shell:run)----Sat Sep  8 17:19
0.14-------------------------------------------------------------------------------
(emacs:30371): Gtk-WARNING **: cannot open display: :0.0
                                                        chris@trpaslik:~$

I have the 'EDITOR' environment variable set to point to a shell script
which does:

/usr/local/bin/emacsclient "$@" ||
/usr/local/bin/emacs       "$@"

and I also have "DISPLAY=:0.0" in the environment (which I probably
shouldn't).

But when I run "emacs" in the ssh session, it runs the console version of
Emacs, which is what I was expecting from the emacsclient program as well.
If it can't connect to an X server, it just crashes Emacs - that can't be
the desired behaviour, can it?

Chris.

[-- Attachment #1.2: Type: text/html, Size: 1730 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

             reply	other threads:[~2007-09-08 15:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-08 15:24 Chris Moore [this message]
2007-09-08 15:50 ` Emacs crashed trying to connect to X display David Kastrup

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a9691ee20709080824k5e22aa94o103e40c3a90ce72d@mail.gmail.com \
    --to=dooglus@gmail.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).