Dear Alexander:

Thanks for the advice.  Ok, Ok no more downgrades.  :)

1. I re-upgraded Xquartz to 2.5.0.
2. I followed all the steps you outlined exactly below.
3. When I click on X11 icon, quartz-wm runs and kde4 does not.
4. I then typed startkde in the quartz-wm xterm;
most of the kde4 stuff (bottom toolbar, etc) appeared,
but all windows have xquartz decoration.
5. I then rebooted.
6. Click on X11, quartz-wm again and no kde4.
7. After reboot, running startkde in xterm does not work.
8. After ALL this, moving my .xinitrc back into $HOME fixes everything,
and clicking X11 icon runs KDE4 as window manager.
(sorry about that)

So I am happy because my KDE4 is working just as well as before
the OS upgrade.  But now I know that it's not the "blessed" way,
any idea why I got quartz-wm instead of KDE4 when running without .xinitrc?
Any further suggestions for me to try to get the .xinitrc.d approach
to work fully?

Thanks again!
Andrew


--- On Tue, 4/27/10, Alexander Hansen <[email protected]> wrote:

> From: Alexander Hansen <[email protected]>
> Subject: Re: [Fink-beginners] Could not start D-Bus after OSX updates
> To: "andrew rappe" <[email protected]>
> Cc: [email protected]
> Date: Tuesday, April 27, 2010, 12:15 PM
> -----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