Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

gdm does not start properly under systemd

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
costel78
Guru
Guru
Posts: 416
Joined: Fri Apr 20, 2007 6:17 pm

gdm does not start properly under systemd

  • Quote

Post by costel78 » Wed Oct 31, 2012 10:26 am

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: Select all

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: Select all

(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.
Top
The Unabeefer
n00b
n00b
Posts: 60
Joined: Tue Dec 23, 2008 7:39 pm
Location: Chicago, IL
Contact:
Contact The Unabeefer
Website

  • Quote

Post by The Unabeefer » Tue Nov 20, 2012 10:18 pm

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
Top
costel78
Guru
Guru
Posts: 416
Joined: Fri Apr 20, 2007 6:17 pm

  • Quote

Post by costel78 » Wed Nov 21, 2012 8:22 am

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.
Top
The Unabeefer
n00b
n00b
Posts: 60
Joined: Tue Dec 23, 2008 7:39 pm
Location: Chicago, IL
Contact:
Contact The Unabeefer
Website

  • Quote

Post by The Unabeefer » Wed Nov 21, 2012 11:13 pm

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
Top
Post Reply

4 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic