Re: [gdm-list] GDM D-Bus on Solaris



On 8/30/07, Brian Cameron <Brian Cameron sun com> wrote:
>
> Thanks much to Artem Kachitchkine for so quickly providing me with an
> updated HAL binary that includes the property needed for the new GDM
> D-Bus branch.

Sweet.

> After upgrading, now GDM seems to be able to start up X, but the greeter
> never shows up.  In the syslog, I can see that GDM got the SIG1 signal
> from the Xserver and emits READY.

Good.

> Though, I needed to apply the attached patch to get GDM to start up the Xserver
> on Solaris.  The existing code is hardcoded to usr /usr/bin/Xorg, which is not
> on Solaris.  This patch updates it so it uses whatever X_SERVER was found by
> configure.  I think this is better.

Sure, applied.

> However, I then notice in the syslog, that I get these odd D-Bus errors,
> which seem to indicate that GDM is unable to bind to the D-Bus socket in
> /tmp/gdm-session.  I tried running gdm with "dbus-launch" and this didn't
> seem to help.  Is this error because D-Bus is not configured properly on
> Solaris?  We have a similar problem on Solaris where you need to run
> dbus-launch when you remote login to a machine, if you want to run a
> program that uses D-Bus.  On Solaris, we currently run dbus-launch only
> when starting the GNOME session, which seems to make the desktop work
> okay.  So D-Bus might not be configured properly.
>
> Aug 30 17:57:09 brianca gdm-simple-slave[18581]: [ID 702911 daemon.warning]
>      DEBUG: Creating D-Bus server for session
> Aug 30 17:57:09 brianca gdm-simple-slave[18581]: [ID 702911 daemon.warning]
>      WARNING: Cannot create D-BUS server for the session: Failed to bind socket
>      "/tmp/gdm-session/dbus-WMCumHvBQF": No such file or directory

I guess we should make this fail hard.  Does the following change fix
it for you:
http://svn.gnome.org/viewcvs/gdm2?view=revision&revision=5210

> Aug 30 17:57:09 brianca gdm-simple-slave[18581]: [ID 702911 daemon.warning]
>      DEBUG: Creating D-Bus server for greeter
> Aug 30 17:57:09 brianca gdm-simple-slave[18581]: [ID 702911 daemon.warning]
>      WARNING: Cannot create D-BUS server for the greeter: Failed to bind socket
>      "/tmp/gdm-greeter/dbus-dJNF7Y6a1F": No such file or directory

Similar problem as above.

> Aug 30 17:57:09 brianca gdm-simple-slave[18581]: [ID 702911 daemon.warning]
>      DEBUG: Creating greeter on :0 15,7
> Aug 30 17:57:09 brianca gdm-simple-slave[18581]: [ID 702911 daemon.warning]
>      DEBUG: Starting greeter...
> Aug 30 17:57:09 brianca gdm-simple-slave[18581]: [ID 702911 daemon.warning]
>      DEBUG: Running greeter_proxy process: dbus-launch --exit-with-session
>      /usr/lib/gdm-simple-greeter
> Aug 30 17:57:09 brianca gdm-simple-slave[18581]: [ID 702911 daemon.warning]
>      DEBUG: Opening ConsoleKit session for user:50 x11-display:':0'
>      x11-display-device:'15,7' remote-host-name:'' is-local:1
> Aug 30 17:57:09 brianca gdm-simple-slave[18581]: [ID 702911 daemon.warning]
>      WARNING: Unable to open session: The name org.freedesktop.ConsoleKit was not
>      provided by any .service files

This means that you don't have ConsoleKit running.  It must be.


Jon



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]