unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs error
@ 2007-07-13 18:52 rogv24
  2007-07-13 21:07 ` Peter Dyballa
  2007-07-14  7:41 ` Anselm Helbig
  0 siblings, 2 replies; 3+ messages in thread
From: rogv24 @ 2007-07-13 18:52 UTC (permalink / raw)
  To: help-gnu-emacs

/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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs error
  2007-07-13 18:52 emacs error rogv24
@ 2007-07-13 21:07 ` Peter Dyballa
  2007-07-14  7:41 ` Anselm Helbig
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2007-07-13 21:07 UTC (permalink / raw)
  To: rogv24; +Cc: help-gnu-emacs


Am 13.07.2007 um 20:52 schrieb rogv24@yahoo.com:

> localhost:10.0

Doesn't this remind you of a set DISPLAY environment for Secure SHell?

--
Greetings

   Pete     === -Q
              ==<__/% >>
_____________(_)____@_____________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs error
  2007-07-13 18:52 emacs error rogv24
  2007-07-13 21:07 ` Peter Dyballa
@ 2007-07-14  7:41 ` Anselm Helbig
  1 sibling, 0 replies; 3+ messages in thread
From: Anselm Helbig @ 2007-07-14  7:41 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-14  7:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-13 18:52 emacs error rogv24
2007-07-13 21:07 ` Peter Dyballa
2007-07-14  7:41 ` Anselm Helbig

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).