On 2/21/13 11:20 AM, Richard Miles wrote:
> 
> On Feb 21, 2013, at 9:32 AM, Alexander Hansen wrote:
> 
>> On 2/21/13 10:25 AM, Richard Miles wrote:
>>> I have a sh that has most wm tat I would like to work, but it just never 
>>> starts. This used to work some time ago.
>>> Can anyone tell me whats wrong with it?
>>> #!/bin/sh
>>> /bin/date >> ~/log
>>> test -r /sw/bin/init.sh && .  /sw/bin/init.sh
>>> echo $PATH >> ~/log
>>> /sw/bin/dbus-daemon --nofork --session
>>> esd
>>> x=`(cat ~/program`
>>> echo $x >> ~/log
>>> case $x
>>> in
>>>        ctwm) test -r  /sw/bin/ctwm && exec /sw/bin/ctwm
>>>                             ;;
>>>
>>>
>>>       fluxbox) test -r /sw/bin/startfluxbox && exec /sw/bin/startf/fluxbox
>>>                                 ;;
>>>       gnome) source /sw/bin/init.sh
>>>                      say "gnome" &
>>>                     /sw/bin/icewm --replace &
>>> #                  metacity --replace &
>>>        #          metacity &
>>>                    /sw/lib/gnome-settings-daemon/gnome-settings-daemon &
>>>                    test -r /sw/bin/gnome-session && exec 
>>> /sw/bin/gnome/session
>>>                              ;;
>>> <snip>
>>>
>>> esac
>>>
>>> TIA
>>> Richard Miles
>>> [email protected]
>>>
>>>
>>
>>
>> The last line is wrong.  There's no such thing as /sw/bin/gnome/session.
>> I assume you didn't just copy and paste because there is no way that
>> that _ever_ worked.
>>
>>



> sorry. I missed typed that line:
> it is :
>          test -r /sw-bin/gnome-session && exec /sw/bin/gnome-session
>         ;;
> 
> Richard Miles
> [email protected]
> 
> 

Here's the problem:

As I've said before, the gnome-session program itself is *broken*.  It
wasn't when this script was written, but something has changed since
then and now it is.

And as I've said before, the only information that I have been able to
come up with is that it appears to be due to the fatal combination of
linking to the CoreFoundation framework and performing a fork().
gnome-session doesn't use CoreFoundation itself, but several libraries
that gnome-session uses (from cairo, freetype219, libgettext8, and
glib2) do indeed link to CoreFoundation.  Perhaps they didn't at one time.

In any case, until you see an update to the gnome-session package, you
can safely assume that nothing has changed to unbreak it.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to