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




Jon:

Thanks for your help.  With the changes you made to the branch, I was able
to get the greeter running.  I realize that previously console-kit-daemon
didn't start up because I got confused about where the Init script is
installed.  For the old GDM it is in /etc/X11/gdm, and in the new GDM
it is in /etc/gdm.  So before I edited the wrong script.  Now it seems
to be working better.

However, the greeter doesn't seem particularly functional for starting my
session.  A dialog comes up and asks "Prompt".  If I type something and
hit the OK button, the dialog disappears and things just hang.  If I hit
the Cancel button it also does the same thing.

Do I need to install libpam-ck-connector or something?  I notice the following
debug messages in my syslog.  It seems that the greeter is sending my
username, but the answer is empty for some reason.  I think the DBUS
destroyed message might have been caused by my killing the Xserver with
Ctrl-Alt-Backspace, but am not sure.

Brian

---syslog debug output follows:

Aug 31 14:04:15 brianca gdm-simple-slave[8913]: [ID 702911 daemon.warning] DEBUG: Started X server Aug 31 14:04:15 brianca gdm-simple-greeter[8905]: [ID 702911 daemon.warning] DEBUG: Activating power managemen
t
Aug 31 14:04:15 brianca gdm-simple-greeter[8905]: [ID 702911 daemon.warning] WARNING: Could not start service:
 The name org.freedesktop.PowerManagement was not provided by any .service files
Aug 31 14:04:15 brianca gdm-simple-greeter[8905]: [ID 702911 daemon.warning] DEBUG: GREETER Proxy disconnected Aug 31 14:04:15 brianca gdm-simple-slave[8913]: [ID 702911 daemon.warning] DEBUG: child (pid:8914) done (statu
s:1)
Aug 31 14:04:18 brianca gdm-simple-greeter[8905]: [ID 702911 daemon.warning] DEBUG: Answer query: myuser Aug 31 14:04:18 brianca gdm-simple-greeter[8905]: [ID 702911 daemon.warning] DEBUG: GREETER answer Aug 31 14:04:18 brianca gdm-simple-greeter[8905]: [ID 702911 daemon.crit] CRITICAL: file dbus-gproxy.c: line 2
519: assertion `!DBUS_G_PROXY_DESTROYED (proxy)' failed



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]