DISPLAY=:0.0 prevents launch-on-demand of X11 on OS X Leopard

Bug #398186 reported by jon Choy
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

I upgraded my OSX to 10.5.7 and then 0.46.2 stopped working. So I installed a new XQuartz 2.3.2 based on some other posts. Still doesn't work. The icon launches on my dock and is sitting there; but Inkscape is not present anywhere. If I click on the icon while it is in the dock, then it just gives me a X11 menu, not an Inkscape menu.

Tags: osx
Revision history for this message
su_v (suv-lp) wrote :

Could you:
- quit Inkscape and X11
- open Console.app (in Utilities), look for console.log in it and display it (logs button in the toolbar)
- clear the log (brush button in the toolbar)
- Open Inkscape and look for messages in console.log
- copy paste the messages in here.

tags: added: osx
Revision history for this message
jon Choy (jon-s-choy) wrote : Re: [Bug 398186] Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

For whatever reason it works now. My guess is that when I installed 0.46_4
using Fink and then installed the 0.47pre1 dmg afterward that it fixed it
somehow.

  Jon

Revision history for this message
su_v (suv-lp) wrote : Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

Thank you for testing the prerelease and taking the effort to report back! I'll mark this bug as invalid - please add a comment and revert the bug status if your issue reappears.

~suv

Changed in inkscape:
status: New → Invalid
Revision history for this message
su_v (suv-lp) wrote :

Maybe your issue was the same as described in bug #400165 'Binary Inkscape dist crashes when MacPorts is installed'? Michael Wybrow has found and fixed the bug ('The problem is Inkscape trying to read incompatible fontcaches from Macports') and improved the build scripts - could you test the most recent prerelease build <Inkscape-0.47-pre1-2.LEOPARD.dmg> from sf.net?

If you problem re-occurs, please re-open this bug and revert the status to 'New'.

hth, ~suv

Revision history for this message
jon Choy (jon-s-choy) wrote :

 This new version does not work for me. I opened a Console and recorded the background activity. I tried it after installing it as well as after rebooting the machine. Please take a look at the attachment.

  Jon

Revision history for this message
su_v (suv-lp) wrote :

Could you provide more information about the setup of your system? e.g.
- Macports / Fink installations
- Which precompiled packages (prerelease builds from sf.net or development snapshot builds from <http://inkscape.modevia.com/macosx-snap/?C=M;O=D>) currently work on your system?

Changed in inkscape:
status: Invalid → New
Revision history for this message
jon Choy (jon-s-choy) wrote : Re: [Bug 398186] Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

  This is the inkscape that I have installed through fink:

 $ fink list | grep inkscape
 i inkscape 0.46-4 SVG application

  The precompiled version of 0.46 worked when I had OSX 10.5.6; but broke
when I migrated to 10.5.7 . So, I tried inkscape-0.47-pre1-1.LEOPARD.dmg .
It would try to start up then crash. Then I installed the latest version of
Quartz. Once I installed the latest version of Quartz, the inkscape icon
would appear on my dock; but the program would never appear.

 I then tried installing inkscape through fink which is above. I then
invoked the fink version of inkscape and it had no problem; but it does
flash these "Gtk-WARNING **: GtkSpinButton: setting an adjustment with
non-zero page size is deprecated" . I then attempted to install and invoke
inkscape-0.47-pre1-1.LEOPARD.dmg and it worked. Now after installing
inkscape-0.47-pre1-2.LEOPARD.dmg and seeing that it doesn't work, I
re-installed the pre1-1 version and it no longer works for me. Since the
fink version still works for me, I'm not necessarily in a bind. But, neither
versions of 0.47-pre work for me any longer.

  Jon

On Tue, Jul 21, 2009 at 9:08 AM, ~suv <email address hidden> wrote:

> Could you provide more information about the setup of your system? e.g.
> - Macports / Fink installations
> - Which precompiled packages (prerelease builds from sf.net or development
> snapshot builds from <http://inkscape.modevia.com/macosx-snap/?C=M;O=D>)
> currently work on your system?
>
> ** Changed in: inkscape
> Status: Invalid => New
>
> --
> inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2
> https://bugs.launchpad.net/bugs/398186
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Inkscape: A Vector Drawing Tool: New
>
> Bug description:
> I upgraded my OSX to 10.5.7 and then 0.46.2 stopped working. So I installed
> a new XQuartz 2.3.2 based on some other posts. Still doesn't work. The icon
> launches on my dock and is sitting there; but Inkscape is not present
> anywhere. If I click on the icon while it is in the dock, then it just gives
> me a X11 menu, not an Inkscape menu.
>

Revision history for this message
su_v (suv-lp) wrote : Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

> Then I installed the latest version of Quartz
Your current version is 'XQuartz 2.3.3.2 (xorg-server 1.4.2-apple42)' including the 'Localization updates for 2.3.3.2' from <http://xquartz.macosforge.org> or is it also installed via fink? (Quartz ≠ XQuartz)

> after installing inkscape-0.47-pre1-2.LEOPARD.dmg and seeing that it doesn't work,
> I re-installed the pre1-1 version and it no longer works
Did you try to clear the fontcache (Terminal.app: 'rm ~/.fontconfig/*') before starting either 0.47-pre1-1 or 0.47-pre1-2?

Revision history for this message
jon Choy (jon-s-choy) wrote : Re: [Bug 398186] Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

I did not install Quartz from fink; but got it from the
xquartz.macosforge.org website. Yes, that is the version I installed.

No, I didn't try clearing the font cache; but I tried what you suggested and
it didn't help for pre1-1 .

 Jon

Revision history for this message
su_v (suv-lp) wrote : Re: [Bug 398186] Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

What happens if you start X11 without Inkscape (use Applications >
Utilities > X11)?
Did X11/XQuartz (started on its own or by starting 'xterm' from
Terminal.app) ever work after upgrading to 10.5.7? (there's a similar
report where X11 hangs while 'waiting for X server to begin accepting
connections' in the apple discussion forums
<http://discussions.apple.com/thread.jspa?messageID=9608493>, no
solution though)

Revision history for this message
jon Choy (jon-s-choy) wrote : Re: [Bug 398186] Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

 O.k. you hit on something. Normally, I always start X11 with my startup
preferences after a reboot. So, it is usually up and running before I try
to invoke Inkscape. This time I quit X11 and then started Inkscape by
itself. It finally came up (the pre1-1 version). I would be happy to test
the pre1-2 version if you think it is necessary. Just let me know.

On Tue, Jul 21, 2009 at 10:26 PM, ~suv <email address hidden> wrote:

> What happens if you start X11 without Inkscape (use Applications >
> Utilities > X11)?
> Did X11/XQuartz (started on its own or by starting 'xterm' from
> Terminal.app) ever work after upgrading to 10.5.7? (there's a similar
> report where X11 hangs while 'waiting for X server to begin accepting
> connections' in the apple discussion forums
> <http://discussions.apple.com/thread.jspa?messageID=9608493>, no
> solution though)
>
> --
> inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2
> https://bugs.launchpad.net/bugs/398186
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Inkscape: A Vector Drawing Tool: New
>
> Bug description:
> I upgraded my OSX to 10.5.7 and then 0.46.2 stopped working. So I installed
> a new XQuartz 2.3.2 based on some other posts. Still doesn't work. The icon
> launches on my dock and is sitting there; but Inkscape is not present
> anywhere. If I click on the icon while it is in the dock, then it just gives
> me a X11 menu, not an Inkscape menu.
>

Revision history for this message
su_v (suv-lp) wrote : Re: [Bug 398186] Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

> Normally, I always start X11 with my startup preferences after a
> reboot. So, it is usually up and running before I try to invoke
> Inkscape.

So you set up a special X11 environment - is it related to other fink
apps (maybe starting an XFree86 or Xorg server port from fink installed
as dependency)?

> This time I quit X11 and then started Inkscape by itself. It finally
> came up (the pre1-1 version).

Good. ;-) better yet would be to figure out
- what changed with the 10.5.7 update causing Inkscape 0.46-2 to stop
  working (or was it X11 failing to launch on your system?)?
- what version of X11 is already running now when the recent
  Inkscape.app versions from sf.net fail?

> I would be happy to test the pre1-2 version if you think it is
> necessary. Just let me know.

That's for you to decide - of course it's best to know whether there are
still any issues with the latest prerelease builds that need to be fixed...

- quit X11
- clear the user fontcache
  (rm ~/.fontconfig/*)
- reset Inkscape preferences
  (mv ~/.config/inkscape ~/.config/inkscape.old)
- start Inkscape.app

might be prudent steps to test different versions with the same default
settings. And keeping an eye on the console log...

Revision history for this message
jon Choy (jon-s-choy) wrote : Re: [Bug 398186] Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

So you set up a special X11 environment - is it related to other fink
> apps (maybe starting an XFree86 or Xorg server port from fink installed
> as dependency)?
>
>
>
>
No, I guess what I'm saying is that under System Preferences -> Accounts ->
Login I have X11 as something that gets invoked immediately after I reboot.
It is not something from Fink and it leverages XQuartz. So by the time I
invoke Inkscape, X11 is already running in the background.

Revision history for this message
su_v (suv-lp) wrote : Re: [Bug 398186] Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

Can't reproduce it with X11 added to Login Items:
1) log out and back in: X11 + xterm start automatically, launching
Inkscape 0.47pre1-2 later works without problem
2) log out, reboot, log in: X11 + xterm start automatically, launching
Inkscape 0.47pre1-2 later works without problem

The process hierarchy looks slightly different (X11 is directly started
by launchd as opposed to being started by Xquartz), but I don't know yet
if that could contribute to your problem.

Does Inkscape 0.47pre1-2 launch & run stable, when you have no X11
running before you start it?

Does the problem as originally described also happen with other (new)
user accounts on your computer?

Revision history for this message
jon Choy (jon-s-choy) wrote : Re: [Bug 398186] Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

> Does Inkscape 0.47pre1-2 launch & run stable, when you have no X11
> running before you start it?

 I haven't tried 0.47pre1-2 . Only 0.47pre1-1.

>
>
> Does the problem as originally described also happen with other (new)
> user accounts on your computer?
>

  I have the only account, so I haven't tried.

>
>

Revision history for this message
Michael Wybrow (mjwybrow) wrote : Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

I can't reproduce this either.

Could you please try the Inkscape-0.47pre2-1.LEOPARD.dmg package available on SourceForge and report back whether this problem still exists?

Changed in inkscape:
status: New → Incomplete
Revision history for this message
jon Choy (jon-s-choy) wrote : Re: [Bug 398186] Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

I have migrated to Snow Leopard (doing an update not a clean reinstall) and
I see the same behavior. I have to close X11 before I open Inkscape. Given
that the problem still exists, it must be something specific to my
environment.

On Mon, Sep 7, 2009 at 10:43 PM, Michael Wybrow <
<email address hidden>> wrote:

> I can't reproduce this either.
>
> Could you please try the Inkscape-0.47pre2-1.LEOPARD.dmg package
> available on SourceForge and report back whether this problem still
> exists?
>
> ** Changed in: inkscape
> Status: New => Incomplete
>
> --
> inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2
> https://bugs.launchpad.net/bugs/398186
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Inkscape: A Vector Drawing Tool: Incomplete
>
> Bug description:
> I upgraded my OSX to 10.5.7 and then 0.46.2 stopped working. So I installed
> a new XQuartz 2.3.2 based on some other posts. Still doesn't work. The icon
> launches on my dock and is sitting there; but Inkscape is not present
> anywhere. If I click on the icon while it is in the dock, then it just gives
> me a X11 menu, not an Inkscape menu.
>

Revision history for this message
su_v (suv-lp) wrote : Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

@Jon - do you still have the issue? Please read recent Bug #433281 <https://bugs.launchpad.net/inkscape/+bug/433281> if it is related to your problem.

could you test:
1) after login and X11 is automatically started - open Terminal.app and type:
echo $DISPLAY

2) quit X11 and launch Inkscape - open Terminal.app and type:
echo $DISPLAY

Compare the two: if the first one doesn't start with '/tmp/launch-' then you somewhere set $DISPLAY in your startup files which interferes with the launch-on-demand support for X11 by 'launchd'. You should not set $DISPLAY manually with Apple's X11 (since the version that originally shipped with Leopard).

Revision history for this message
jon Choy (jon-s-choy) wrote : Re: [Bug 398186] Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

I'm out of town and will not have access to my computer until Wednesday.
I'll try your suggestion out when I get back into town.

On Sat, Sep 19, 2009 at 11:24 PM, ~suv <email address hidden> wrote:

> @Jon - do you still have the issue? Please read recent Bug #433281
> <https://bugs.launchpad.net/inkscape/+bug/433281> if it is related to
> your problem.
>
> could you test:
> 1) after login and X11 is automatically started - open Terminal.app and
> type:
> echo $DISPLAY
>
> 2) quit X11 and launch Inkscape - open Terminal.app and type:
> echo $DISPLAY
>
> Compare the two: if the first one doesn't start with '/tmp/launch-' then
> you somewhere set $DISPLAY in your startup files which interferes with
> the launch-on-demand support for X11 by 'launchd'. You should not set
> $DISPLAY manually with Apple's X11 (since the version that originally
> shipped with Leopard).
>
> --
> inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2
> https://bugs.launchpad.net/bugs/398186
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Inkscape: A Vector Drawing Tool: Incomplete
>
> Bug description:
> I upgraded my OSX to 10.5.7 and then 0.46.2 stopped working. So I installed
> a new XQuartz 2.3.2 based on some other posts. Still doesn't work. The icon
> launches on my dock and is sitting there; but Inkscape is not present
> anywhere. If I click on the icon while it is in the dock, then it just gives
> me a X11 menu, not an Inkscape menu.
>

Revision history for this message
jon Choy (jon-s-choy) wrote :

 Thank you. The problem is solved! I do manual set the $DiSPLAY variable to
":0.0" . Both my .profile and .bash_profile is setup this way. I must have
done this a long time ago to get some X window program working. Anyhow,
thank you for your persistence in helping track the issue down.

  Jon

On Sun, Sep 20, 2009 at 1:24 AM, ~suv <email address hidden> wrote:

> @Jon - do you still have the issue? Please read recent Bug #433281
> <https://bugs.launchpad.net/inkscape/+bug/433281> if it is related to
> your problem.
>
> could you test:
> 1) after login and X11 is automatically started - open Terminal.app and
> type:
> echo $DISPLAY
>
> 2) quit X11 and launch Inkscape - open Terminal.app and type:
> echo $DISPLAY
>
> Compare the two: if the first one doesn't start with '/tmp/launch-' then
> you somewhere set $DISPLAY in your startup files which interferes with
> the launch-on-demand support for X11 by 'launchd'. You should not set
> $DISPLAY manually with Apple's X11 (since the version that originally
> shipped with Leopard).
>
> --
> inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2
> https://bugs.launchpad.net/bugs/398186
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Inkscape: A Vector Drawing Tool: Incomplete
>
> Bug description:
> I upgraded my OSX to 10.5.7 and then 0.46.2 stopped working. So I installed
> a new XQuartz 2.3.2 based on some other posts. Still doesn't work. The icon
> launches on my dock and is sitting there; but Inkscape is not present
> anywhere. If I click on the icon while it is in the dock, then it just gives
> me a X11 menu, not an Inkscape menu.
>

Revision history for this message
su_v (suv-lp) wrote : Re: inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2

Glad we finally figured out what prevented the launch of Inkscape on your system!
Closing this bug as it is an issue with the X11 configuration and not a bug in Inkscape.

Changed in inkscape:
status: Incomplete → Invalid
summary: - inkscape 0.47pre1 won't run for osx 10.5.7 and Xquartz 2.3.2
+ DISPLAY=:0.0 prevents launch-on-demand of X11 on OS X Leopard
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.