Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo for Mac OS X (Portage for Mac OS X)
  • Search

Opening X windows; DISPLAY variable on MAC OS

Running Portage on Mac OS X and need help with a problem? Post here.
Locked
Advanced search
3 posts • Page 1 of 1
Author
Message
lyonsd
Apprentice
Apprentice
User avatar
Posts: 153
Joined: Wed Mar 02, 2005 6:00 pm
Location: Flowery Branch, GA

Opening X windows; DISPLAY variable on MAC OS

  • Quote

Post by lyonsd » Mon Feb 11, 2008 3:05 pm

I was wonder if anybody could help me out here.

I am on a MAC:

Code: Select all

$ uname -a
Darwin thorin.physast.uga.edu 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
And I'm fairly new to MACs, but I'm not new to Linux/unix.

Anyway, I'm trying to open X apps from a command line terminal window, like /usr/X11R6/bin/xterm for example.

Now the DISPLAY variable doesn't appear to be set:

Code: Select all

$ echo $DISPLAY

$
If I set it:

Code: Select all

$ export DISPLAY=127.0.0.1:0.0

or

$ export DISPLAY=128.192.19.118:0.0

or

$ export DISPLAY=:0.0
or even if I leave it unset, I can't get anything to open the display:

Code: Select all

$ xhost +
xhost:  unable to open display ""
How do I get X windows to open on my display in this OS? Thanks.
Dave
Top
jcornez
Apprentice
Apprentice
User avatar
Posts: 201
Joined: Thu Jan 12, 2006 8:51 pm
Location: Spain
Contact:
Contact jcornez
Website

  • Quote

Post by jcornez » Mon Feb 11, 2008 4:13 pm

An X server is not running by default in Mac OS X, but you can install it and then start it.

http://www.apple.com/downloads/macosx/a ... acosx.html

Note that is for Mac OS X 10.3 If you have 10.4 or newer, it is on the OSX install DVD (and the page says this...)
Top
grobian
Developer
Developer
Posts: 67
Joined: Wed May 31, 2006 4:02 pm

  • Quote

Post by grobian » Thu Mar 27, 2008 9:03 am

It's in the Utilities, X11. Leopard should have some turbo magic here that automagically launches X11 once an app tries to write to its display, but I haven't tested that ever myself.
Gentoo on a different level
Top
Locked

3 posts • Page 1 of 1

Return to “Gentoo for Mac OS X (Portage for Mac OS X)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy