Re: Troubleshooting X11
Re: Troubleshooting X11
- Subject: Re: Troubleshooting X11
- From: Jeremy Huddleston <email@hidden>
- Date: Wed, 27 Feb 2008 22:33:27 -0800
If that had no effect, then you are getting $DISPLAY set somewhere
else. Please read through the entry in that FAQ I sent to find where
$DISPLAY is being set.
--Jeremy
On Feb 27, 2008, at 20:37, Rick Radzville wrote:
Adam,
Many thanks for the thoughtful reply. I found a possible culprit here:
/Users/rradzville/.profile:export DISPLAY=:0.0
I tried commenting it out by putting a # in front of it, but it
didn't have
any effect. :(
R/Rick
On 2/27/08 9:30 PM, "Adam Mercer" <email@hidden> wrote:
On Wed, Feb 27, 2008 at 8:59 PM, Rick Radzville
<email@hidden> wrote:
I installed X11 from the CD that came with my Macbook Pro, which
is running
OS X 10.5.2. I installed MacPorts and Port Authority to run my
favorite Unix
apps, but I'm having some problems. I dearly hope some kind soul
on this
list can assist. Here is some relevant output from my Terminal:
Last login: Tue Feb 26 22:30:55 on ttys000
Atlantis68:~ rradzville$ putty
Gtk-WARNING **: cannot open display: :0.0
Atlantis68:~ rradzville$ echo $DISPLAY
:0.0
Well that's one problem already, on Leopard you don't need to set
DISPLAY. Make sure you remove any commands that set DISPLAY from
your
setup scripts. It should be of the form /tmp/launch-xxxxxx/:0
This will cause X to automatically start when required.
Atlantis68:~ rradzville$ startx
-bash: startx: command not found
is /usr/X11/bin in your $PATH?
[ram@skymoo ~]$ which startx
/usr/X11/bin/startx
[ram@skymoo ~]$
Atlantis68:~ rradzville$ echo $DISPLAY
:0.0
Atlantis68:~ rradzville$ ps -ax | grep x11
9862 ttys000 0:00.00 grep x11
Atlantis68:~ rradzville$ xterm
xterm Xt error: Can't open display: :0.0
Atlantis68:~ rradzville$ xterm &
[1] 13705
Atlantis68:~ rradzville$ xterm Xt error: Can't open display: :0.0
[1]+ Exit 1 xterm
Atlantis68:~ rradzville$ grep DISPLAY
~/.*rc~/.login~/.*profile~/.MacOSX/environment.plist 2>/dev/null
Atlantis68:~ rradzville$ grep -r DISPLAY /opt/local/etc /etc 2>/
dev/null
Atlantis68:~ rradzville$ grep -r DISPLAY /opt/local/etc /sw/etc /etc
2>/dev/null
also try looking in ~/.bash_profile
Cheers
Adam
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden