On Oct 12, 2004, at 4:22 AM, R John Sandeman wrote:

Martin
I got it from X11-usage tips 8.1 viz

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


These are different brackets than what you have below ( "[[" vs "{{"). This is probably causing a problem.



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



<snip>

"export DISPLAY=0.0" in your .xinitrc or the system's xinitrc probably doesn't do anything useful. Even if you don't do this, DISPLAY should be set correctly whenever you open an xterm.

Moreover, it's an extremely bad idea to edit the systemwide xinitrc file directly, because if you do something wrong you can end up with a nonfunctional X server.

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


--
Alexander Hansen
Fink Documentarian
[Day Job] Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to