[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs crashed trying to connect to X display
From: |
David Kastrup |
Subject: |
Re: Emacs crashed trying to connect to X display |
Date: |
Sat, 08 Sep 2007 17:50:31 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
"Chris Moore" <address@hidden> writes:
> I usually run Emacs inside GNOME, but today I'm ssh'ed into the box, running
> Emacs in an ssh terminal window.
>
> (emacs:30371): Gtk-WARNING **: cannot open display: :0.0
> address@hidden:~$
>
> 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).
This is crazy. You know that ssh will forward an X session when
called with ssh -X? Of course, you must not warp the DISPLAY variable
to a nonsensical value if you want to make use of that.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum