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.