• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Only getting "xterm Xt error: Can't open display:" when running xterm in Terminal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Only getting "xterm Xt error: Can't open display:" when running xterm in Terminal


  • Subject: Re: Only getting "xterm Xt error: Can't open display:" when running xterm in Terminal
  • From: Brian Campbell <email@hidden>
  • Date: Mon, 12 Nov 2007 04:24:31 -0500

Try the checklist that Ben Byer posted to see if DISPLAY is set:
http://lists.apple.com/archives/X11-users/2007/Nov/msg00481.html

The relevant lines would be:

$ grep DISPLAY ~/.*rc ~/.login ~/.*profile ~/.MacOSX/environment.plist 2>/dev/null
$ grep -r DISPLAY /opt/local/etc /sw/etc /etc 2>/dev/null


On Nov 12, 2007, at 4:05 AM, Eric Hoch wrote:

Hi Jeremy,

when doing "echo $DISPLAY" I get

:0.0

and I don't know how to get "/tmp/launchd/:0".

It was always and still is :0.0

Do I need to reset a .plist file or something in Preferences or
another area. Any help welcomed. Thanks.

Eric

Am Sun, 11 Nov 2007 01:45:22 -0800 schrieb Jeremy Huddleston:
When you open up Terminal.app, what do you get when you do:

$ echo $DISPLAY

You should get something like:
/tmp/ launchd-xxxxxx/:0

where the 'xxxxxx' is not literally a bunch of x's.  It's a
series of random characters.

On Nov 11, 2007, at 1:42 AM, Eric Hoch wrote:

Hi all,

as adviced here on this mailinglist I haven't set any DISPLY
variable nor do I have an .xinitrc that I'm aware of. Still
whenever I log in as non-admin or administrator open a terminal and
type "xterm &" in order to start an xterm and with it X11 I only
get the error:

xterm Xt error: Can't open display:

Manually setting the DISPLAY to "/tmp/ launchd-xxxxx/:0" didn't
solve the problem either instead it ends up in the error message:

xterm Xt error: Can't open display: /tmp/ launchd-xxxxx/:0

and only with Ctrl+C I get back to a working Terminal.

I tried unset DISPLAY but this didn't help either.

So what's messed up. Any advice is welcomed.

This is second Generation Mac Mini with Intel CoreDuo, Mac OS X
10.5, Xquartz 1.2a8 updated via "Install and Archive" from Mac OS X
10.4.10.

Regards,
Eric Hoch
--
## de.OpenOffice.org - Office für MacOS X, Linux, Solaris & Windows
## Openoffice.org - ich steck mit drin!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list (email@hidden) This email sent to email@hidden
  • Follow-Ups:
    • Re: Only getting "xterm Xt error: Can't open display:" when running xterm in Terminal
      • From: Eric Hoch <email@hidden>
References: 
 >Only getting "xterm Xt error: Can't open display:" when running xterm in Terminal (From: Eric Hoch <email@hidden>)
 >Re: Only getting "xterm Xt error: Can't open display:" when running xterm in Terminal (From: Jeremy Huddleston <email@hidden>)
 >Re: Only getting "xterm Xt error: Can't open display:" when running xterm in Terminal (From: Eric Hoch <email@hidden>)

  • Prev by Date: Re: Only getting "xterm Xt error: Can't open display:" when running xterm in Terminal
  • Next by Date: Re: X11 OpenGL and Wine
  • Previous by thread: Re: Only getting "xterm Xt error: Can't open display:" when running xterm in Terminal
  • Next by thread: Re: Only getting "xterm Xt error: Can't open display:" when running xterm in Terminal
  • Index(es):
    • Date
    • Thread