Martin and Alex

On your advice I have opened an .xinitrc file in my home directory by copying over the xinitrc file from /xinit, The original problem still exists but I have now installed "xfig" from source. Everything went fine with the installation, and xfig opens and runs to a certain extent.
However it tells me on opening that I do not have an uptodate or existing "app-defaults" directory or file, so certain files which control colors etc and normally go into app-defaults, have not been installed. It tells me to do a "make install'' on these files. However I do not want to try anything that I am not cetain about in case I really upset the whole system.


I do have an app-defaults directory in /private/etc/X11, but not one in my home directory;- but also not an .Xresources , .Xservers etc, only Xauthority in the home directory. I am confused as I thought in installing packages using fink, all the necessary files and directories required are set up properly for Mac OS 10.3.5.

Now I am wondering if there is something missing in my original set up which is leading to both the "cant open DISPLAY" message in the ivtools apps and to the missing files from the app-defaults in the case of xfig?

Any clues here?

John

On 12/10/2004, at 10:44 PM, Alexander K. Hansen wrote:


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





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