Re: x11
Re: x11
- Subject: Re: x11
- From: rob <email@hidden>
- Date: Sun, 15 May 2005 10:53:56 -0400
Message: 2
Date: Sat, 14 May 2005 10:25:52 +0200
From: Jan Ulrich Hasecke <email@hidden>
Subject: Re: x11
To: "Elwood C. Downey" <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Did you start X11.app first? Use Finder and look in Applications/
Utilities then click X11. Once it is running you will
see the X logo in the Dock, then start your app.
I get the same error with running X11.app
cannot connect to X server
juh
Justin,
The 'terminal' launched by default in X.app is a xterm.
xterm is a x-client program.
x-client programs require a running x-server to display to and function.
X.app is a x-server program.
The x-server program can be either local (running on same machine as
x-client), or remote (running on separate machine than client).
If X.app is running, the local xserver display is :0.0
To view the DISPLAY in both the Terminal.app terminal, and the X11.app
Terminal, type:
env | grep DISPLAY
The terminal in Terminal.app does not have a xserver specified by
default.
To have any x-client program launched from Terminal.app, and display on
your local x-server, you will need:
1) set the DISPLAY variable in your Terminal.app window:
echo $SHELL
a) if says /bin/bash, type:
DISPLAY=:0.0
export DISPLAY
b) if says /bin/csh, type:
setenv DISPLAY :0.0
2) start X.app
3) the x-client program to run from Terminal.app
Your initial post, you had #3 only.
Your second post had #2 and #3 only.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden