View previous topic :: View next topic |
Author |
Message |
costel78 Guru
Joined: 20 Apr 2007 Posts: 402
|
Posted: Wed Oct 31, 2012 10:26 am Post subject: gdm does not start properly under systemd |
|
|
Since two week ago I can not use gdm under systemd.
gdm.service start, graphics it's initialized, blue wallpapers appeears and then... Oh! no, something wrong was happened (or similar because messages are on romanian).
gdm run perfectly fine under openrc.
I unmasked systemd flag for polkit:
Code: |
emerge -pvO polkit
These are the packages that would be merged, in order:
[ebuild R ] sys-auth/polkit-0.107-r1 USE="gtk introspection nls pam systemd -examples -kde (-selinux)" 0 kB | but no change here...
GDM log:
Code: | (gnome-settings-daemon:23369): power-plugin-WARNING **: session inhibition not available, gnome-session is not available
Avertisment al administratorului de ferestre: Log level 16: Failed to load apps: Failed to look up menu_file for "applications.menu"
JS ERROR: !!! Exception was: Gio.IOErrorEnum: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '23385'
JS ERROR: !!! message = '"GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '23385'"'
JS ERROR: !!! fileName = '"/usr/share/gnome-shell/js/ui/components/polkitAgent.js"'
JS ERROR: !!! lineNumber = '329'
JS ERROR: !!! stack = '"0 anonymous()@/usr/share/gnome-shell/js/ui/components/polkitAgent.js:329
1 wrapper()@/usr/share/gjs-1.0/lang.js:204
2 anonymous("name" = ""polkitAgent"")@/usr/share/gnome-shell/js/ui/components/__init__.js:56
3 wrapper(""polkitAgent"")@/usr/share/gjs-1.0/lang.js:204
4 anonymous("name" = ""polkitAgent"", 0, [object Array])@/usr/share/gnome-shell/js/ui/components/__init__.js:22
5 anonymous()@/usr/share/gnome-shell/js/ui/components/__init__.js:21
6 wrapper()@/usr/share/gjs-1.0/lang.js:204
7 anonymous()@/usr/share/gnome-shell/js/ui/components/__init__.js:13
8 wrapper()@/usr/share/gjs-1.0/lang.js:204
9 anonymous()@/usr/share/gjs-1.0/lang.js:145
10 anonymous()@/usr/share/gjs-1.0/lang.js:239
11 start()@/usr/share/gnome-shell/js/ui/main.js:150
12 <TOP LEVEL>@<main>:1
"'
Avertisment al administratorului de ferestre: Log level 32: Execution of main.js threw exception: Gio.IOErrorEnum: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '23385'
gnome-session[23347]: WARNING: Child process 23385 was already dead.
gnome-session[23347]: WARNING: Detected that screensaver has left the bus
Avertisment al administratorului de ferestre: Log level 16: Failed to load apps: Failed to look up menu_file for "applications.menu"
JS ERROR: !!! Exception was: Gio.IOErrorEnum: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '23395'
JS ERROR: !!! message = '"GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '23395'"'
JS ERROR: !!! fileName = '"/usr/share/gnome-shell/js/ui/components/polkitAgent.js"'
JS ERROR: !!! lineNumber = '329'
JS ERROR: !!! stack = '"0 anonymous()@/usr/share/gnome-shell/js/ui/components/polkitAgent.js:329
1 wrapper()@/usr/share/gjs-1.0/lang.js:204
2 anonymous("name" = ""polkitAgent"")@/usr/share/gnome-shell/js/ui/components/__init__.js:56
3 wrapper(""polkitAgent"")@/usr/share/gjs-1.0/lang.js:204
4 anonymous("name" = ""polkitAgent"", 0, [object Array])@/usr/share/gnome-shell/js/ui/components/__init__.js:22
5 anonymous()@/usr/share/gnome-shell/js/ui/components/__init__.js:21
6 wrapper()@/usr/share/gjs-1.0/lang.js:204
7 anonymous()@/usr/share/gnome-shell/js/ui/components/__init__.js:13
8 wrapper()@/usr/share/gjs-1.0/lang.js:204
9 anonymous()@/usr/share/gjs-1.0/lang.js:145
10 anonymous()@/usr/share/gjs-1.0/lang.js:239
11 start()@/usr/share/gnome-shell/js/ui/main.js:150
12 <TOP LEVEL>@<main>:1
"'
Avertisment al administratorului de ferestre: Log level 32: Execution of main.js threw exception: Gio.IOErrorEnum: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '23395'
gnome-session[23347]: WARNING: App 'gnome-shell.desktop' respawning too quickly
gnome-session[23347]: WARNING: Detected that screensaver has left the bus
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
gnome-session[23347]: CRITICAL: gsm_manager_set_phase: assertion `GSM_IS_MANAGER (manager)' failed
(gnome-settings-daemon:23369): Gdk-WARNING **: gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
gnome-session[23347]: WARNING: could not get session class: No such file or directory
gnome-session[23347]: Gdk-WARNING: gnome-session: Fatal IO error 2 (No such file or directory) on X server :0. |
Any hint regarding this error ? _________________ Sorry for my English. I'm still learning this language. |
|
Back to top |
|
|
The Unabeefer n00b
Joined: 23 Dec 2008 Posts: 60 Location: Chicago, IL
|
Posted: Tue Nov 20, 2012 10:18 pm Post subject: |
|
|
Did you ever figure this out? Having similar/same issue. _________________ I am a flying cow... worship me or DIE!!!
...and there he was, reigning supreme at number two...
The One... The Only... The Unabeefer |
|
Back to top |
|
|
costel78 Guru
Joined: 20 Apr 2007 Posts: 402
|
Posted: Wed Nov 21, 2012 8:22 am Post subject: |
|
|
Yes... somehow.
You need to use polkit-108 and enable CONFIG_AUDIT in kernel - that way polkit can access info about other precesses. _________________ Sorry for my English. I'm still learning this language. |
|
Back to top |
|
|
The Unabeefer n00b
Joined: 23 Dec 2008 Posts: 60 Location: Chicago, IL
|
Posted: Wed Nov 21, 2012 11:13 pm Post subject: |
|
|
costel78 wrote: | Yes... somehow.
You need to use polkit-108 and enable CONFIG_AUDIT in kernel - that way polkit can access info about other precesses. |
I fixed my issue by use.mask-ing "-systemd" which allowed polkit to compile for systemd (it and a few other packages apparently has that USE flag hardmasked, so it wouldn't use it simply by putting it in my make.conf) .... Also, for the heck of it, I disabled consolekit globally since it's not needed for the newer GDM (and is apparently deprecated)
Works like a charm now. _________________ I am a flying cow... worship me or DIE!!!
...and there he was, reigning supreme at number two...
The One... The Only... The Unabeefer |
|
Back to top |
|
|
|