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