View previous topic :: View next topic |
Author |
Message |
lyonsd Apprentice


Joined: 02 Mar 2005 Posts: 153 Location: Flowery Branch, GA
|
Posted: Mon Feb 11, 2008 3:05 pm Post subject: Opening X windows; DISPLAY variable on MAC OS |
|
|
I was wonder if anybody could help me out here.
I am on a MAC:
Code: |
$ 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:
If I set it:
Code: |
$ 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: |
$ xhost +
xhost: unable to open display ""
|
How do I get X windows to open on my display in this OS? Thanks. _________________ Dave |
|
Back to top |
|
 |
jcornez Apprentice


Joined: 12 Jan 2006 Posts: 201 Location: Spain
|
|
Back to top |
|
 |
grobian Developer

Joined: 31 May 2006 Posts: 67
|
Posted: Thu Mar 27, 2008 9:03 am Post subject: |
|
|
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 |
|
Back to top |
|
 |
|