[MacPorts] #20645: [gimp] [2.6.6] dbus problem starting gimp (was: [gimp] [2.6.6] [extension "RANDR" missing on display ... Not enough memory])

MacPorts noreply at macports.org
Fri Aug 21 15:35:46 PDT 2009


#20645: [gimp] [2.6.6] dbus problem  starting gimp
---------------------------------+------------------------------------------
  Reporter:  mwathelet@…         |       Owner:  devans@…           
      Type:  defect              |      Status:  closed             
  Priority:  Normal              |   Milestone:                     
 Component:  ports               |     Version:  1.7.1              
Resolution:  worksforme          |    Keywords:  gimp               
      Port:  dbus                |  
---------------------------------+------------------------------------------
Changes (by devans@…):

  * keywords:  => gimp
  * status:  new => closed
  * resolution:  => worksforme
  * port:  gimp => dbus


Comment:

 This appears to be a dbus problem.  Please make sure that dbus is
 configured properly (i.e. that you
 followed the directions that were printed on the screen when dbus was
 installed), namely
 that you executed these commands:
 {{{
 sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-
 system.plist
 sudo launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-
 session.plist
 }}}

 this should only need to be done once.  Rebooting your system after this
 may be a good idea as well.

 This addresses the error
 {{{
 Dynamic session lookup supported but failed: launchd did not provide a
 socket path, verify that org.freedesktop.dbus-session.plist is loaded!
 }}}

 The error
 {{{
 Xlib:  extension "RANDR" missing on display "/tmp/launch-vbadei/:0"
 }}}

 is normal and is just a warning.  Neither the X11 server shipped by Apple
 or the one installed by MacPorts
 (port xorg-server) supports the "RANDR" extension and they correctly
 report this to the application.  The
 applications then proceed without using that extension.  You will see this
 with just about every gtk2 based
 application (such as gimp) -- just ignore it.

 You might want to search trac for dbus tickets similar to this one for
 more details about dbus.

 If dbus is set up correctly you should see something like
 {{{
 devans% ps ax | grep dbus
   224  ??  Ss     0:00.57 /opt/local/bin/dbus-daemon --nofork --session
 }}}

 and when you start gimp you should only see the RANDR message.

 By the way, gimp 2.6.7 is now current so you can upgrade to that as
 follows:


 {{{
 sudo port selfupdate
 sudo port upgrade gimp2
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/20645#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list