Re: Troubleshooting X11
Re: Troubleshooting X11
- Subject: Re: Troubleshooting X11
- From: "Adam Mercer" <email@hidden>
- Date: Wed, 27 Feb 2008 21:30:58 -0500
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