Martin
I got it from X11-usage tips 8.1 viz

<x-tad-bigger> • For bash users, add the following to your .bashrc file:
</x-tad-bigger>
<x-tad-bigger>[[ -z $DISPLAY ]] && export DISPLAY=":0.0"</x-tad-bigger>


I put it in a .bashrc file in my home directory as a try out , but it did not do anything . The problem existed before that. I have deleted that file and the problem is still there so it is something deeper.

I do not have my own .xinitrc file but use the one put in by apples X11 in /etc/X11/xinit/xinitrc - see below.
Seeing it is confined to the ivtools apps, is it something to do with how they are accessing the display?? I could of course remove ivtools altogether and try another graphics package but I do not like being beaten. Also it may be some underlying problem which may rear its head elswherel

For your info the above xinitrc file is here. I put in the "second line" as a try out , and the "export DISPLAY=:0.0" line, again from FINK tips or FAQ. Both lines were put in individually and then tried to start the app then the other etc. They made no difference to the problem,.

#!/bin/sh
. /sw/bin/init.sh

# $Id: xinitrc,v 1.2 2003/02/27 19:03:30 jharper Exp $

export DISPLAY=:0.0

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# start some nice programs

xterm -ls -geometry 80x40+150+30 -sb -rightbar -fn 7x14 -fg blue &

# start the window manager

exec quartz-wm

John

R John Sandeman wrote:

[]
XFree86 Version 4.3.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[DRI] screen 0 installation complete
Screen 0 added: 1024x768 @ (0,0)
bash: no job control in this shell
bash: {{: command not found

This hints at a syntax error in one of your bash startup scripts, you must have done something weird, like
[]
xinitrc file. I have also tried he "{{ -z -----export ---- " recommendation line in a ",bashrc" file in my home directory as in the FAQ on this subject,, but also to no avail.

I don't know what this "recommendation" is, but it looks like it screwed up your .bashrc file. What FAQ is this?

--
Martin

Reply via email to