Re: Getting blank windows when using X11 applications
Re: Getting blank windows when using X11 applications
- Subject: Re: Getting blank windows when using X11 applications
- From: Sebastian Hahn <email@hidden>
- Date: Fri, 29 Feb 2008 19:09:19 +0100
On Feb 29, 2008, at 7:04 PM, Harald Hanche-Olsen wrote:
+ Sebastian Hahn <email@hidden>:
Hi, thanks for your input. I can run both /usr/X11/bin/xterm and
/usr/X11R6/bin/xterm, but when I do so, X11 opens and the window is
blank (no prompt or anything).
Hmm. I have no idea why that happens. And it is clearly the more
serious of your problems ...
I have neither a ~/.bash_profile nor a ~/.bashrc, but I do have a
~/.profile which contains "export
PATH=/opt/local/bin:/opt/local/sbin:$PATH".
Okay, that's harmless.
echo $PATH gives:
/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/local/bin:/
usr/sbin:/usr/local/bin:/usr/texbin:/usr/local/teTeX/bin/powerpc-
apple-darwin-current
Does that point to where the error might be?
Makes me wonder if your teTeX installation has messed with
/etc/profile in a bad way? The default /etc/profile contains
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
and path_helper will, among other things, look in /etc/paths.d/ where
it should find at least one file named X11, with contents
"/usr/X11/bin" (without quotes), which will then be added to the PATH
variable that path_helper builds. Is it different on your machine?
- Harald
Yes, it's quite different! It contains:
# System-wide .profile for sh(1)
PATH="/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin"
export PATH
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
## setloginpath added /usr/local/bin start at Thu May 24 00:52:54 CEST
2007
## Do not remove the previous line
if [ `whoami` != "root" ]
then
PATH="$PATH:/usr/local/bin"
export PATH
fi
## Do not remove the next line
## setloginpath added /usr/local/bin end at Thu May 24 00:52:54 CEST
2007
## TeX added /usr/texbin start at Thu May 24 00:52:54 CEST 2007
## Do not remove the previous line
if [ `whoami` != "root" ]
then
PATH="$PATH:/usr/texbin"
export PATH
fi
## Do not remove the next line
## TeX added /usr/texbin end at Thu May 24 00:52:54 CEST 2007
## TeX modifications start at Wed Dec 19 20:54:22 CET 2007
## Do not remove the previous line
if [ `whoami` != "root" ]
then
PATH="$PATH:/usr/local/teTeX/bin/powerpc-apple-darwin-current"
export PATH
fi
## Do not remove the next line
## TeX modifications end at Wed Dec 19 20:54:22 CET 2007
X11 used to work after I installed Tiger, but maybe it's incompatible
with Leopard?
Thanks
Sebastian
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden