Re: Can't run gnome-settings-daemon 2.24.1-1 on 10.5.6

Richard Cobbe <[email protected]>
Newsgroups gmane.os.apple.fink.gnome
Message-ID <[email protected]>
On Thu, Dec 25, 2008 at 02:30:57PM -0500, Dave Reiser wrote:
>
>
> -----Original Message-----
> >From: Richard Cobbe <[email protected]>
> >Sent: Dec 24, 2008 10:32 PM
> >To: [email protected]
> >Subject: Re: [gnome-core] Can't run gnome-settings-daemon 2.24.1-1 on 10.5.6
> >
> >In the interests of reproducible results:
> >  - I updated to 10.5.6.
> >  - I started gnucash, which failed with a libXdamage error.
> >  - I re-installed Xquartz 2.2.3.
> >  - I logged out & logged back in, then started gnucash.  This could not
> >    find preferences.
> >  - I started gnome-settings-daemon manually, which failed as described
> >    earlier.
> >  - All of the above was on my desktop, but I was able to repeat it
> >    (roughly speaking) on my laptop.
> >  - After a couple of power cycles on the laptop (required because I was on
> >    a plane, not for software issues), I started gnucash, and it seems to
> >    be able to find stuff without difficulty.  These power cycles are
> >    graceful shutdowns, not forced resets.
> >
> >I haven't yet tried rebooting the desktop, and I don't want to try that
> >remotely, since I'm not sure what effect it'll have on the VNC server.  But
> >I'm optimistic that it'll work when I return home in a few days.
> >
> >Thanks,
> >
> >Richard
>
> I may be out-to-lunch, but I think the need for reboot had more to do
> with gnome-settings-daemon than xquartz. The few times I was trying to do
> things with g-s-d manually, things didn't seem to work right until I
> rebooted. For me "things" almost always have to do with gconf settings
> for gnucash. I certainly can't prove it, but I've convinced myself on
> limited data that I don't want to launch g-s-d manually.

I suspect you're right.  I didn't make it clear above, but when I logged in
after rebooting, my normal startup routines kicked in.  Specifically,
/Applications/Utilities/X11.app started as normal on login, and it ran
~/.x-startup, also as normal (due to the app_to_run setting in Xquartz's
preferences).  This script sources /sw/bin/init.sh and then starts g-s-d as
a daemon.

Also, I originally noticed the problems with g-s-d when it was being
started by the normal X login mechanism.

If this counts as launching g-s-d manually, Dave, then I'd love to know a
better way to launch it.  As I said (vented, really) up-thread, I've had
lots of problems with g-s-d over the last few months, and if there's a
better way to run it, I'd love to hear about it.  (I would prefer to avoid
running the entire Gnome desktop environment, though.)

I've attached my .x-startup script just so everyone can how I normally
start g-s-d.  I added the xscreensaver line because g-s-d, at least at one
point, always started the xscreensaver daemon, even though I've disabled it
in the appropriate gnome-control-center dialog.  I have no idea if it still
does this.

Richard

------------------------------------------------------------------------------

_______________________________________________
fink-gnome-core mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.gnome
.x-startup (text/plain, 382 B)
#!/bin/bash
cd $HOME
/usr/X11/bin/xrdb $HOME/.Xresources
if [[ -r /sw/bin/init.sh ]]; then
	. /sw/bin/init.sh
	/sw/lib/gnome-settings-daemon/gnome-settings-daemon &
	(sleep 30; /sw/bin/xscreensaver-command -exit) &
fi
PATH=/usr/X11/bin:$PATH /usr/X11/bin/uxterm &

## For old-style X startup, when the X server exits just after this
## script terminates:
## exec /usr/bin/quartz-wm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.