all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Anselm Helbig <anselm@chemie.fu-berlin.de>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs error
Date: Sat, 14 Jul 2007 09:41:15 +0200	[thread overview]
Message-ID: <87abtzig9w.wl@nospam.anselm.chemie.fu-berlin.de> (raw)
In-Reply-To: <1184352746.883855.94280@57g2000hsv.googlegroups.com>

At Fri, 13 Jul 2007 11:52:26 -0700,
rogv24@yahoo.com wrote:
> 
> /usr/local/bin/emacs hello
> X connection to localhost:10.0 broken (explicit kill or server
> shutdown
> 
> I recieved this after I installed emacs.
> Thanks

I'm guessing that you: 
- are ssh'ing to a remote machine 
- ...with X-forwarding enabled in your ssh client
- ...but you have no X-server running on your local machine 
- you then installed and started an emacs on the remote machine

You can either disable X-forwarding in your ssh client, since it makes
no sense when you don't have a local X server, or you can just start
emacs with the -nw switch to have it start up in a terminal. 

Or you could install an X server - for windows there's Xming, which is
free, reasonably easy to install, and you don't need to install cygwin
with it. There are also several commercial X servers available.

I prefer to have emacs in an X window if the connection to the server
I'm working on is speedy enough: you've got more colours, so the
syntax highlighting is prettier, and you will have less problems with
the standard keybindings.

As an alternative, you can install emacs locally and make it fetch the
files you want to edit via ssh; look for the "TRAMP" manual. TRAMP is
part of the recent emacs 22 release. 

HTH

Anselm

  parent reply	other threads:[~2007-07-14  7:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-13 18:52 emacs error rogv24
2007-07-13 21:07 ` Peter Dyballa
2007-07-14  7:41 ` Anselm Helbig [this message]
     [not found] <mailman.185.1090014318.1960.bug-gnu-emacs@gnu.org>
2004-07-19 15:55 ` Kevin Rodgers
  -- strict thread matches above, loose matches on Subject: below --
2004-07-16 18:39 Moore, Jerry C

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

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

  git send-email \
    --in-reply-to=87abtzig9w.wl@nospam.anselm.chemie.fu-berlin.de \
    --to=anselm@chemie.fu-berlin.de \
    --cc=help-gnu-emacs@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 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.