Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Getting blank windows when using X11 applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting blank windows when using X11 applications



Also, it looks like you may have done an upgrade install of leopard... in this case, path_helper isn't run in /etc/profile, so you should look at /etc/profile.default (I think that is what it is called) and migrate the changes into your existing /etc/profile.



On Feb 29, 2008, at 10:09, Sebastian Hahn wrote:


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
_______________________________________________
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

References: 
 >Getting blank windows when using X11 applications (From: Sebastian Hahn <email@hidden>)
 >Re: Getting blank windows when using X11 applications (From: Harald Hanche-Olsen <email@hidden>)
 >Re: Getting blank windows when using X11 applications (From: Sebastian Hahn <email@hidden>)
 >Re: Getting blank windows when using X11 applications (From: Harald Hanche-Olsen <email@hidden>)
 >Re: Getting blank windows when using X11 applications (From: Sebastian Hahn <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.