Lars Bamberger wrote:
> Lars Bamberger wrote:
>> As for dbus-launch, this lives in /usr/bin so I'll see if we can tell
>> gnome-session to look there.
> 
> This particular error is caused by a hard-coded path:
> $BINDIR/dbus-launch in gdm-2.28.1 (BINDIR is $PREFIX/bin which is
> /opt/gnome-$VERSION/bin)
> 
> Here is a proposed fix:
> 
> ---------------------------
> gdm-2.28.1-dbus-launch-1.patch:
> 
> diff -Naur gdm-2.28.1/daemon/gdm-welcome-session.c
> gdm-2.28.1.blfs/daemon/gdm-welcome-session.c
> --- gdm-2.28.1/daemon/gdm-welcome-session.c     2009-10-20
> 00:12:45.000000000 +0200
> +++ gdm-2.28.1.blfs/daemon/gdm-welcome-session.c        2009-10-27
> 20:32:54.000000000 +0100
> @@ -46,7 +46,7 @@
> 
>  #include "gdm-welcome-session.h"
> 
> -#define DBUS_LAUNCH_COMMAND BINDIR "/dbus-launch --exit-with-session"
> +#define DBUS_LAUNCH_COMMAND "/usr/bin/dbus-launch --exit-with-session"

That's a workaround, but the real fix would be to search the user's PATH.
Assuming that dbus executables are in the same directory as gnome executables 
is 
a developer error.

Another workaround would be to create a symlink in /opt/gnome-$VERSION/bin to 
the proper dbus-launch executable.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to