Thank you, Stuart.

I think this is the problem I have.  I found  

export DISPLAY=:0.0

in my .profile, and get 

/tmp/launch-hqz9r6/:0

when from echo $DISPLAY after I run Inkscape. I delete the ~/.inkscape and 
~/.inkscape-etc, and run Inkscape again, and get the same result. 
Going to try in a new create user.

Jinzhi.


----- Original Message ----
From: Stuart Edwards <[EMAIL PROTECTED]>
To: Jinzhi Lei <[EMAIL PROTECTED]>
Cc: Martin Costabel <[EMAIL PROTECTED]>; [email protected]
Sent: Tuesday, March 4, 2008 11:44:25 PM
Subject: Re: [Fink-beginners] Fail to run Inkscape

Hi --

The Inkscape dmg is independent of Fink and  contains all the dependencies that 
it needs (I think).  So this is an issue better addressed at the Inskape user 
message board.  I've had the same problem with the same set up (10.5.2, Intel, 
0.45.1 and 0.46, X11-2.1.4) and it seems to be an X11 problem.  The following 
is from a post I made to the Inkscape board a couple of  days ago.  (0.46 is 
actually 0.45 dev and is the new release of Inskape that will be released 
within a couple of days.)


"The problem definitely seems to be an X11 issue rather than Inkscape.  I set 
up a new user and 0.46 runs just fine using Inkscape and X11 from the same 
Applications directory, so the problem must be in my normal user settings or 
files somewhere.  I found the following for anyone having problems with X11 
startup at: http://lists.apple.com/archives/X11-users/2007/Nov/msg00498.html 
and specifically a short routine to check all the user controlled set up files 
(.rc, .profile etc) for incorrect DISPLAY settings:


$ grep DISPLAY ~/.*rc ~/.login ~/.*profile ~/.MacOSX/environment.plist 
2>/dev/null
$ grep -r DISPLAY /opt/local/etc /sw/etc /etc 2>/dev/null



In my case this came up with the ~/.profile file that included a line :


export DISPLAY=:0.0


and when I ran 


"echo $DISPLAY"   the result was


:0.0


Apparently this is a bad thing and what causes the problem  - a common issue, 
and the offending line in ~/.profile should be deleted 


Then after running Inkscape you will find that running 


"echo $DISPLAY" will produce


/tmp/launch-LGD5sz/:0  


or something similar in format."


And that's as it should be.


 .............So try the above.  Also try deleting (or moving aside) the 
~/.inkscape and ~/.inkscape-etc  files - Inkscape will create new clean 
versions when you start it.


Finally if that doesn't work, set up a new user and try running Inkscape in it 
- if you find it runs fine, there's a bad file in your current user that's 
getting in the way.


Good luck


Stu


 


On Mar 4, 2008, at 4:20 AM, Jinzhi Lei wrote:

My Inkscape is not install through Fink, but the dmg file that obtain from 
http://www.inkscape.org/ . 
I installed inkscape through Fink about one month ago, but it is not succeed. I 
doubt if there are conflict between the different versions. Since I found that 
Fink use a mixture of own libraries and the system, but not seems the fink's.

Jinzhi.



----- Original Message ----
From: Martin Costabel <[EMAIL PROTECTED]>
To: Jinzhi Lei <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Tuesday, March 4, 2008 4:23:38 PM
Subject: Re: [Fink-beginners] Fail to run Inkscape

Jinzhi Lei wrote:
> Hi, all,
> 
> When I launch Inkscape, I can only got gray a window (see the attached), 
> and unable to use Inkscape. If any one can tell me how can I run 
> Inkscape in Leopard? I can use Inkscape a month ago, and fail after I 
> update the fink sometime. I'm not sure this is because the problem of 
> X11 or fink package.
> 
> The system informations are: Leopard 10.5.2, X11-2.1.4, Inkscape-0.45.1.

Where did you get this inkscape from? Fink only has inkscape-0.44.1. 
Version 0.44.1-1002 works correctly for me. I have the same OSX and X11 
versions as you.

-- 
Martin






Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it 
now.-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners









      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to