-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/27/10 11:21 AM, andrew rappe wrote:
> Hi folks:
> 
> G4 Mac running OSX 10.5.8 Xquartz 2.3.3.2
> I accepted the most recent security and other OSX updates today.
> 
> As expected, Xquartz dies immediately when executed.
> I know I should reinstall Xquartz after OSX updates.
> 
> So I downloaded Xquartz 2.5.0 from http://xquartz.macosforge.org/trac/wiki
> and installed it.  
> kde4 starts to run but then I get error message
> Could not start D-Bus.  Can you call qdbus?
> 
> If I run qdbus, I get
> 
> % /sw/lib/qt4-x11/bin/qdbus
> Dynamic session lookup supported but failed: launchd did not provide a socket 
> path, verify that org.finkproject.dbus-session.plist is loaded!
> Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoMemory: Not 
> enough memory
> % 
> 
> I tried an OSX reboot to see if that made a difference, and it did not.
> 
> I then installed Xquartz 2.3.3.2 on top of 2.5.0 and that did not change 
> anything as far as I could see. 

Downgrading Xquartz is a really, really, really, really bad idea.  If
you had built anything X11-related while Xquartz 2.5 was installed, it
would likely have been broken.

 Same "Could not start..." and "Dyanmic session lookup..." errors.
> 
> Is there something else that I'm forgetting to do after OSX updates?
> 
> FYI, my .xinitrc file looks like this:
> -------------
> mkdir /tmp/mydir
> ssh-agent xterm -e /sw/opt/kde4/x11/bin/startkde > tmp/mydir/kde.log 2>&1
> -------------
> 
> Thanks for any advice.
> Andrew
> 

Was there anything in your kde.log?  Though without the leading "/" on
the redirect (i.e. "/tmp/mydir/kde.log") it's hard to be sure whether
that's going where it's supposed to.

See if using "fink reinstall xinitrc" helps.  That package creates a
setup file that gets overwritten by Xquartz installs.

I'm a bit surprised that you were able to start KDE even before the
updates.  Using a .xinitrc is deprecated under current X11s--and it now
circumvents the setup stuff in "xinitrc" that Fink packages (including
dbus) perform.  This hasn't been documented yet due to lack of hours in
the day.

Here's a setup that works for me.
0)  get rid of your .xinitrc (rename it)

1)  Create the following file as a superuser:

/sw/etc/xinitrc-last-hook

and put the following lines in it:

#!/bin/sh
. /usr/X11/lib/X11/xinit/xinitrc.d/98-user.sh

This will activate the per-user customization that X.org 7 prefers to
.xinitrc.

2)  Create the directory $HOME/.xinitrc.d

3)  Create the file $/HOME/.xinitrc.d/74-kde.sh with the following contents

#!/bin/sh
. /sw/bin/init.sh
exec /sw/opt/kde4/x11/bin/startkde

(I'm not sure why you use ssh-agent, but presumably you could use
something like your setup here instead by moving/editing your existing
$HOME/.xinitrc)

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvXDYoACgkQB8UpO3rKjQ/5fgCgm2W6AU3e//SPQh7bbIzT3gqG
Wa0An1WkrWIn7DorGYZaAW6opEPvUm1H
=3E7t
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to