Re: Readline initialization in .bash_profile -> Xquartz crash
Re: Readline initialization in .bash_profile -> Xquartz crash
- Subject: Re: Readline initialization in .bash_profile -> Xquartz crash
- From: Knut Arild Lisæter <email@hidden>
- Date: Tue, 19 Feb 2008 10:58:09 +0100
No problem. I had actually set the "app_to_run" to "/usr/bin/true"
as you told me, but running xdpyinfo it still complains about xterm in
the log.. So to sum up:
-No X running
-"set bell-style visible" in .bash_profile
-Running the following:
defaults write org.x.X11 app_to_run /usr/bin/true
xdpyinfo
-gives me the following in the log(from console.app):
2/19/08 10:44:07 AM defaults[1660]
The domain/default pair of (org.x.X11, no_auth) does not exist
2/19/08 10:44:07 AM org.x.X11[1651] 2008-02-19 10:44:07.856
defaults[1660:10b]
2/19/08 10:44:07 AM org.x.X11[1651] The domain/default pair of
(org.x.X11, no_auth) does not exist
2/19/08 10:44:07 AM defaults[1661]
The domain/default pair of (org.x.X11, no_auth) does not exist
2/19/08 10:44:07 AM org.x.X11[1651] 2008-02-19 10:44:07.869
defaults[1661:10b]
2/19/08 10:44:07 AM org.x.X11[1651] The domain/default pair of
(org.x.X11, no_auth) does not exist
2/19/08 10:44:07 AM defaults[1662]
The domain/default pair of (org.x.X11, nolisten_tcp) does not exist
2/19/08 10:44:07 AM org.x.X11[1651] 2008-02-19 10:44:07.881
defaults[1662:10b]
2/19/08 10:44:07 AM org.x.X11[1651] The domain/default pair of
(org.x.X11, nolisten_tcp) does not exist
2/19/08 10:44:07 AM org.x.X11[1651] xauth: creating new authority
file /Users/knutal/.serverauth.1651
2/19/08 10:44:08 AM org.x.X11[1651] xinit: Detected Xquartz
startup, setting file=X, argv[0]=/Applications/Utilities/X11.app/
Contents/MacOS/X11
2/19/08 10:44:08 AM org.x.X11[1651] TransformProcessType: Success
2/19/08 10:44:08 AM org.x.X11[1651] XQuartz starting:
2/19/08 10:44:08 AM org.x.X11[1651] X.org Release 7.2
2/19/08 10:44:08 AM org.x.X11[1651] X.Org X Server 1.3.0-apple10
2/19/08 10:44:08 AM org.x.X11[1651] Build Date: 20080213
2/19/08 10:44:08 AM org.x.X11[1651] Xquartz: run by launchd for fd 0
2/19/08 10:44:08 AM org.x.X11[1651] xterm: bad command line
option "xterm"
2/19/08 10:44:08 AM org.x.X11[1651] usage: xterm [-/+132] [-C] [-
Sccn] [-T string] [-/+ah] [-/+ai] [-/+aw]
2/19/08 10:44:08 AM org.x.X11[1651] [-b number] [-/+bc] [-bcf
milliseconds] [-bcn milliseconds] [-bd color]
2/19/08 10:44:08 AM org.x.X11[1651] [-/+bdc] [-bg color]
2/19/08 10:44:08 AM org.x.X11[1651] [-bw number] [-/+cb] [-cc
classrange] [-/+cjk_width]
2/19/08 10:44:08 AM org.x.X11[1651] [-class string] [-/+cm] [-/
+cn] [-cr color] [-/+cu] [-/+dc]
2/19/08 10:44:08 AM org.x.X11[1651] [-display displayname] [-e
command args ...] [-fa pattern] [-fb fontname]
2/19/08 10:44:08 AM org.x.X11[1651] [-/+fbb] [-/+fbx] [-fd
pattern] [-fg color] [-fi fontname] [-fn fontname]
2/19/08 10:44:08 AM org.x.X11[1651] [-fs size] [-fw fontname]
[-fwb fontname] [-fx fontname] [%geom] [#geom]
2/19/08 10:44:08 AM org.x.X11[1651] [-geometry geom] [-help]
[-/+hm] [-/+hold] [-iconic] [-/+ie] [-/+im]
2/19/08 10:44:08 AM org.x.X11[1651] [-into windowId] [-/+j] [-/
+k8] [-kt keyboardtype]
2/19/08 10:44:08 AM org.x.X11[1651] [-/+l] [-/+lc]
2/19/08 10:44:08 AM org.x.X11[1651] [-lcc path] [-leftbar] [-
lf filename] [-/+ls] [-/+mb] [-mc milliseconds]
2/19/08 10:44:08 AM org.x.X11[1651] [-/+mesg] [-/+mk_width] [-
ms color] [-n string] [-name string] [-nb number]
2/19/08 10:44:08 AM org.x.X11[1651] [-/+nul] [-/+pc] [-/+pob]
[-rightbar] [-/+rv] [-/+rvc] [-/+rw] [-/+s]
2/19/08 10:44:08 AM org.x.X11[1651] [-/+samename] [-/+sb] [-
selbg color] [-selfg color] [-/+sf] [-/+si] [-/+sk]
2/19/08 10:44:08 AM org.x.X11[1651] [-sl number] [-/+sm] [-/
+sp] [-/+t] [-ti termid]
2/19/08 10:44:08 AM org.x.X11[1651] [-title string]
2/19/08 10:44:08 AM org.x.X11[1651] [-tm string] [-tn name] [-/
+u8] [-/+ulc] [-/+ulit] [-/+ut] [-/+vb]
2/19/08 10:44:08 AM org.x.X11[1651] [-version] [-/+wc] [-/+wf]
[-xrm resourcestring] [-ziconbeep percent]
2/19/08 10:44:08 AM org.x.X11[1651] Type xterm -help for a full
description.
2/19/08 10:44:08 AM org.x.X11[1651] waiting for X server to shut
down
2/19/08 10:44:08 AM org.x.X11[1651] Quitting XQuartz...
On Feb 19, 2008, at 10:25 AM, Jeremy Huddleston wrote:
Sorry for being unclear. I really don't need to see what your
xdpyinfo output is. I just wanted you to use a command other than
'xterm' to start X because xterm is envoked from many different
places.
What I wanted was for you to set app_to_run to /usr/bin/true, so
it's no longer xterm, and use xdpyinfo (or any other X application)
from the terminal to start X (so that's not xterm). The error
message in your log is puzzling to me, so I'm just trying to figure
some things out...
What I want to see is the output to Console.app that results from
you running xdpyinfo (or glxinfo, glxgears, xeyes, whatever... just
not xterm).
Sorry for the confusion, and hopefully we can figure this out
tomorrow .
Jeremy
On Feb 19, 2008, at 01:02, Knut Arild Lisæter wrote:
Hi Jeremy,
I know its bizarre, but thats what seems to happen... There is no
crash log, because X doesnt really seem to "crash" (bad phrasing
by me), it starts up, dumps the message to system.log and quits.
If I take the output from xdpyinfo it's the same in both cases
(when I keep the offending command in .bash_profile and when I
dont). The difference is that in one case X quits right after
xdpyinfo is finished - in the other X is still running.
Just to be clear - this problem happens when I start up X. I have
no X running and type "xterm" in terminal.
In any case I have attached the output from xdpyinfo at the end of
this mail.
-Knut
On Feb 19, 2008, at 9:41 AM, Jeremy Huddleston wrote:
I don't see how an invalid command in your .bashrc could cause X
to crash. That is just bizzare... do you have the crash log?
What happens when you do the following from within Terminal.app:
defaults write org.x.X11 app_to_run /usr/bin/true
xdpyinfo
Can you please provide the entire output of your log that results
from running xdpyinfo above.
Thanks,
Jeremy
On Feb 19, 2008, at 24:30, Knut Arild Lisæter wrote:
No custom .xinitrc here... Any other configuration files that
could be causing this?
I have the newest Xquartz, and the problem is still there.
--Knut
On Feb 18, 2008, at 8:28 PM, Jeremy Huddleston wrote:
Nope... it works fine for me.
Do you have a custom ~/.xinitrc? If so, can you please move it
aside and try again?
On Feb 18, 2008, at 02:33, Knut Arild Lisæter wrote:
Hi,
I've had some problems upgrading to the newest versions of
Xquartz, due to the presence of "readline" initialization in
my bash_profile. The offending command was
set bell-style visible
which caused Xquartz to crash with the error message :
xterm: fatal IO error 32 (Broken pipe) or KillClient on X
server "/tmp/launch-8C8kTO/:0"
and /var/log/system.log says:
xterm: bad command line option "xterm"
On my system this behaviour is consistent (adding the above
command in .bash_profile, quitting X11 and restarting with
"xterm" in terminal.app then Xquartz will crash). It would be
nice if someone else can confirm this as well - I have seen
other people have had similar problems, for instance: http://forums.macosxhints.com/showthread.php?p=445567
.
As I understand (now) the proper place for these commands are
in the ~/.inputrc file, but is it possible to avoid Xquartz
crashing like this? Or maybe add a tip to the FAQ?
I have attached the system.log output below
Best Regards,
Knut Liseter
<xdpyinfo.out>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden