Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gdm does not start properly under systemd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Wed Oct 31, 2012 10:26 am    Post subject: gdm does not start properly under systemd Reply with quote

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
View user's profile Send private message
The Unabeefer
n00b
n00b


Joined: 23 Dec 2008
Posts: 60
Location: Chicago, IL

PostPosted: Tue Nov 20, 2012 10:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Wed Nov 21, 2012 8:22 am    Post subject: Reply with quote

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
View user's profile Send private message
The Unabeefer
n00b
n00b


Joined: 23 Dec 2008
Posts: 60
Location: Chicago, IL

PostPosted: Wed Nov 21, 2012 11:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum