all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: dave@adboyd.com (J. David Boyd)
Subject: Re: Help me with Emacs
Date: Thu, 12 May 2005 17:03:20 GMT	[thread overview]
Message-ID: <81sm0sz8a5.fsf@adboyd.com> (raw)
In-Reply-To: mailman.4876.1115910203.2819.help-gnu-emacs@gnu.org

"Ronit Tajian" <rtajian@hotmail.com> writes:

> Followed the instructions in the INSTALL text to install
> it. Everything seems to went fine. When trying to run or open the
> Emacs receive this error:
> ---------------------------------------------------------------
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
> 
> emacs: Cannot connect to X server :0.0.
> Check the DISPLAY environment variable or use `-d'.
> Also use the `xhost' program to verify that it is set to permit
> connections from your machine.
> ------------------------------------------------------------------------
> 
> Not sure what the problem is. When open the Emacs like this, a window
> opens, but the menu on top is not available and when closing the Emacs
> window it closes the whole X window.
> However, from my bash console, I can easily open an X window using
> xterm command, the X window opens with no problem, but running the
> Emacs rises the above error. Please let me know of any idea.

If you are running Emacs from your local machine, try 

export DISPLAY=127.0.0.1:0.0 

before starting emacs, perhaps in a shell script that sets the DISPLAY then
calls emacs.

Or, use the real IP address if you know it.

Dave

       reply	other threads:[~2005-05-12 17:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4876.1115910203.2819.help-gnu-emacs@gnu.org>
2005-05-12 17:03 ` J. David Boyd [this message]
2005-05-14  8:24 ` Help me with Emacs Tim X
2005-05-12 14:55 Ronit Tajian

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=81sm0sz8a5.fsf@adboyd.com \
    --to=dave@adboyd.com \
    /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.