Date: Fri, 05 Mar 2021 17:30:27 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 254046] x11/cinnamon: ConsoleKit isn't correctly implemented Message-ID: <bug-254046-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254046 Bug ID: 254046 Summary: x11/cinnamon: ConsoleKit isn't correctly implemented Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: portmaster@bsdforge.com Flags: maintainer-feedback?(gnome@FreeBSD.org) Assignee: gnome@FreeBSD.org On a recent stable/12 install. I first installed x11/nvidia-reiver-340. Then x11/xorg, and finally pkg installed x11/cinnamon. /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf: # /usr/local/etc/X11/xorg.conf.d/ Section "Device" Identifier "Card0" Driver "nvidia" BusID "PCI:1:0:0" EndSection ~/.xinitrc: cinnamon-session startx starts and runs Cinnamon. But there are problems within it. After logging out. I am presented with the following error messages (I use this system as root. It is an isolated system. So it's not a problem). cinnamon-session 1124 - - GLib-GObject-WARNING: t+0.01649s: g_object_class_overr ide_property: Can't find property to override for 'CsmConsolekit::active' cinnamon-session 1124 - - WARNING: t+0.13188s: Calling GetSessionForUnixPro= cess failed.Check that ConsoleKit is properly installed. cinnamon-session 1124 - - WARNING: t+0.13191s: Could not get session id for sess ion. Check that ConsoleKit is properly installed. GNOME_KEYRING_CONTROL=3D/root/.cache/keyring-ZDN8Z0 GNOME_KEYRING_CONTROL=3D/root/.cache/keyring-ZDN8Z0 GNOME_KEYRING_CONTROL=3D/root/.cache/keyring-ZDN8Z0 SSH_AUTH_SOCK=3D/root/.cache/keyring-ZDN8Z0/ssh ** Message: 15:27:39.761: Existing monitor config (/root/.config/cinnamon-monito rs.xml) not found at startup. Looking for legacy configuration (monitors.xm= l) =3D=3D=3D xinerama setup Configuration =3D=3D=3D Clone: false Output: HWP 25" attached to DVI-I-0 status: on width: 1920 height: 1200 rate: 59 primary: false position: 0 0 Output: (null) attached to DVI-I-1 status: off width: -1 height: -1 rate: -1 primary: false position: -1 -1 Output: (null) attached to DVI-I-2 status: off width: -1 height: -1 rate: -1 primary: false position: -1 -1 Output: (null) attached to DVI-I-3 status: off width: -1 height: -1 rate: -1 primary: false position: -1 -1 =3D=3D=3D Applying Configuration Configuration =3D=3D=3D Clone: false Output: HWP 25" attached to DVI-I-0 status: on width: 1920 height: 1200 rate: 59 primary: true position: 0 0 Output: (null) attached to DVI-I-1 status: off width: -1 height: -1 rate: -1 primary: false position: -1 -1 Output: (null) attached to DVI-I-2 status: off width: -1 height: -1 rate: -1 primary: false position: -1 -1 Output: (null) attached to DVI-I-3 status: off width: -1 height: -1 rate: -1 primary: false position: -1 -1 Connection failure: Connection refused pa_context_connect() failed: Connection refused ** (csd-media-keys:1149): WARNING **: 15:27:40.138: Unable to inhibit keypresses : GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedeskto p.login1 was not provided by any .service files [cinnamon-settings-daemon-smartcard] Failed to start: no suitable smartcard driv er could be found ** (csd-color:1160): WARNING **: 15:27:40.774: Failed to get session for pi= d: GD Bus.Error:org.freedesktop.ConsoleKit.Manager.Error.General: Unable to lookup ses sion information for process '1160' [cinnamon-settings-daemon-smartcard] Failed to start: no suitable smartcard driv er could be found [1614900461,000,xklavier.c:xkl_engine_start_listen/] The backend does not req uire manual layout management - but it is provided by the application ** (csd-automount:1148): WARNING **: 15:27:43.466: Failed to get session for pid : GDBus.Error:org.freedesktop.ConsoleKit.Manager.Error.General: Unable to lookup session information for process '1148' ** (csd-power:1163): WARNING **: 15:27:44.164: Unable to inhibit suspend: GDBus. Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.login1 was not provided by any .service files ** (csd-power:1163): WARNING **: 15:27:44.164: Unable to inhibit lid switch: GDB us.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.log in1 was not provided by any .service files ** (csd-power:1163): WARNING **: 15:27:44.232: Failed to get session for pi= d: GD Bus.Error:org.freedesktop.ConsoleKit.Manager.Error.General: Unable to lookup ses sion information for process '1163' Cjs-Message: 15:27:46.967: Profiler is disabled. Not setting up signals. Cinnamon warning: Failed to load theme "Adwaita": Failed to find a valid fi= le fo r theme Adwaita Cinnamon warning: Could not find theme Adwaita. Falling back to default theme.Cl utter-Message: 15:27:47.221: Sync method: PRESENTATION TIME Cjs-Message: 15:27:48.068: JS LOG: About to start Cinnamon nemo-desktop cannot be run as root, please try again as a normal user Traceback (most recent call last): File "/usr/local/bin/cinnamon-killer-daemon", line 12, in <module> gi.require_version('Keybinder', '3.0') # noqa File "/usr/local/lib/python3.7/site-packages/gi/__init__.py", line 126, in req uire_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Keybinder not available Cjs-Message: 15:27:48.728: JS LOG: [LookingGlass/info] Cinnamon.AppSystem.get_de fault() started in 524 ms Cjs-Message: 15:27:48.733: JS LOG: [LookingGlass/info] loading default theme Failed to play sound: Sound disabled Cjs-Message: 15:27:49.313: JS LOG: [LookingGlass/info] loaded at Thu Mar 04 2021 15:27:49 GMT-0800 (PST) Cjs-Message: 15:27:49.313: JS LOG: Cinnamon started at Thu Mar 04 2021 15:2= 7:49 GMT-0800 (PST) Cjs-Message: 15:27:49.371: JS LOG: [LookingGlass/info] ExtensionSystem star= ted i n 1 ms Cjs-Message: 15:27:49.372: JS LOG: [LookingGlass/info] DeskletManager start= ed in 0 ms Cjs-Message: 15:27:49.372: JS LOG: [LookingGlass/info] SearchProviderManager sta rted in 1 ms openGL version 3.1 detected (GL3 Cogl Driver) Cjs-Message: 15:27:49.462: JS LOG: [LookingGlass/info] Installing settings = for s how-desktop@cinnamon.org Cjs-Message: 15:27:49.462: JS LOG: [LookingGlass/info] Settings successfully ins talled for show-desktop@cinnamon.org Cjs-Message: 15:27:49.701: JS LOG: [LookingGlass/info] Loaded applet show-deskto p@cinnamon.org in 254 ms Cjs-Message: 15:27:49.705: JS LOG: [LookingGlass/info] Role locked: tray Cjs-Message: 15:27:49.706: JS LOG: [LookingGlass/info] Loaded applet systray@cin namon.org in 5 ms Cjs-Message: 15:27:49.716: JS LOG: [LookingGlass/info] Loaded applet removable-d rives@cinnamon.org in 10 ms Cjs-Message: 15:27:49.731: JS LOG: [LookingGlass/info] Installing settings = for f avorites@cinnamon.org Cjs-Message: 15:27:49.731: JS LOG: [LookingGlass/info] Settings successfully ins talled for favorites@cinnamon.org Cjs-Message: 15:27:49.774: JS LOG: [LookingGlass/info] Loaded applet favorites@c innamon.org in 58 ms Cjs-Message: 15:27:49.815: JS LOG: [LookingGlass/info] Installing settings = for p rinters@cinnamon.org Cjs-Message: 15:27:49.815: JS LOG: [LookingGlass/info] Settings successfully ins talled for printers@cinnamon.org Cjs-Message: 15:27:49.855: JS LOG: [LookingGlass/info] Loaded applet printers@ci nnamon.org in 80 ms Cjs-Message: 15:27:49.880: JS LOG: [LookingGlass/info] Installing settings = for n otifications@cinnamon.org Cjs-Message: 15:27:49.880: JS LOG: [LookingGlass/info] Settings successfully ins talled for notifications@cinnamon.org Cjs-Message: 15:27:49.883: JS LOG: [LookingGlass/info] Role locked: notification s Cjs-Message: 15:27:49.948: JS LOG: [LookingGlass/info] Loaded applet notificatio ns@cinnamon.org in 93 ms St-Message: 15:27:50.015: cogl npot texture sizes SUPPORTED Cjs-Message: 15:27:50.176: JS LOG: [LookingGlass/info] Loaded applet xapp-status @cinnamon.org in 228 ms Cjs-Message: 15:27:50.432: JS LOG: [LookingGlass/info] Loaded applet keyboard@ci nnamon.org in 256 ms Cjs-Message: 15:27:50.482: JS LOG: [LookingGlass/info] Installing settings = for c alendar@cinnamon.org Cjs-Message: 15:27:50.482: JS LOG: [LookingGlass/info] Settings successfully ins talled for calendar@cinnamon.org Cjs-Message: 15:27:50.648: JS LOG: [LookingGlass/info] Loaded applet calendar@ci nnamon.org in 216 ms Cjs-Message: 15:27:50.672: JS LOG: [LookingGlass/info] Installing settings = for g rouped-window-list@cinnamon.org Cjs-Message: 15:27:50.673: JS LOG: [LookingGlass/info] Settings successfully ins talled for grouped-window-list@cinnamon.org Cjs-Message: 15:27:50.734: JS LOG: [LookingGlass/info] Role locked: panellaunche r Cjs-Message: 15:27:50.790: JS LOG: [LookingGlass/info] Loaded applet grouped-win dow-list@cinnamon.org in 142 ms Cjs-Message: 15:27:50.862: JS LOG: [LookingGlass/info] Installing settings = for p ower@cinnamon.org Cjs-Message: 15:27:50.862: JS LOG: [LookingGlass/info] Settings successfully ins talled for power@cinnamon.org Cjs-Message: 15:27:50.872: JS LOG: [LookingGlass/info] Loaded applet power@cinna mon.org in 82 ms ** (csd-power:1163): CRITICAL **: 15:27:50.912: abs_to_percentage: assertion 'ma x > min' failed Cjs-Message: 15:27:50.915: JS LOG: [LookingGlass/info] Installing settings = for s ound@cinnamon.org Cjs-Message: 15:27:50.915: JS LOG: [LookingGlass/info] Settings successfully ins talled for sound@cinnamon.org Cjs-Message: 15:27:50.971: JS LOG: [LookingGlass/info] Loaded applet sound@cinna mon.org in 99 ms Cjs-Message: 15:27:50.915: JS LOG: [LookingGlass/info] Settings successfully ins talled for sound@cinnamon.org Cjs-Message: 15:27:50.971: JS LOG: [LookingGlass/info] Loaded applet sound@cinna mon.org in 99 ms Cjs-Message: 15:27:50.978: JS LOG: [LookingGlass/error] [network@cinnamon.org]: Requiring NM, version none: Typelib file for namesp= ace ' NM' (any version) not found [network@cinnamon.org]: Error importing applet.js from network@cinnamon.org Cjs-Message: 15:27:50.978: JS LOG: [LookingGlass/trace] <---------------- anonymous@/usr/local/share/cinnamon/applets/network@cinnamon.org/applet.js:= 7:12 createExports@/usr/local/share/cinnamon/js/misc/fileUtils.js:219:11 requireModule/</<@/usr/local/share/cinnamon/js/misc/fileUtils.js:291:25 ----------------> Cjs-Message: 15:27:51.018: JS LOG: [LookingGlass/info] Installing settings = for m enu@cinnamon.org Cjs-Message: 15:27:51.018: JS LOG: [LookingGlass/info] Settings successfully ins talled for menu@cinnamon.org Cjs-Message: 15:27:51.071: JS LOG: [LookingGlass/info] Loaded applet menu@cinnam on.org in 100 ms Cjs-Message: 15:27:51.071: JS LOG: [LookingGlass/info] AppletManager starte= d in 1756 ms Cjs-Message: 15:27:51.074: JS LOG: [LookingGlass/info] Cinnamon took 3017 m= s to start Cinnamon warning: Failed to load theme "Adwaita": Failed to find a valid fi= le fo r theme Adwaita Cinnamon Screensaver support not found in current theme - adding some... Trying to connect to logind... Starting screensaver... cinnamon-session 1124 - - WARNING: t+17.50874s: Detected that screensaver h= as ap peared on the bus Failed to connect to logind, or it doesn't exist. Trying to connect to ConsoleKit... Traceback (most recent call last): File "/usr/local/share/cinnamon-screensaver/dbusdepot/baseClient.py", line 58, in _on_proxy_ready self.on_client_setup_complete() File "/usr/local/share/cinnamon-screensaver/dbusdepot/consoleKitClient.py= ", li ne 34, in on_client_setup_complete self.session_id =3D self.proxy.call_get_current_session_sync() gi.repository.GLib.Error: g-io-error-quark: GDBus.Error:org.freedesktop.ConsoleK it.Manager.Error.General: Unable to lookup session information for process '1209 ' (36) Cinnamon warning: Log level 8: get_app_for_flatpak_window: assertion 'pid >= 0' f ailed Cinnamon warning: Log level 8: get_app_for_flatpak_window: assertion 'pid >= 0' f ailed Mar 4 15:29:41 fbsd121 dbus-daemon[958]: [system] Rejected send message, 0 matc hed rules; type=3D"method_return", sender=3D":1.16" (uid=3D0 pid=3D1173 com= m=3D"") interfa ce=3D"(unset)" member=3D"(unset)" error name=3D"(unset)" requested_reply=3D= "0" destinati on=3D":1.7" (uid=3D0 pid=3D1165 comm=3D"") Cinnamon warning: Log level 8: get_app_for_flatpak_window: assertion 'pid >= 0' f ailed Cinnamon warning: Log level 8: get_app_for_flatpak_window: assertion 'pid >= 0' f ailed Cinnamon warning: Log level 8: get_app_for_flatpak_window: assertion 'pid >= 0' f ailed Cjs-Message: 15:37:07.947: JS LOG: [LookingGlass/info] loading default theme Cinnamon warning: Log level 8: get_app_for_flatpak_window: assertion 'pid >= 0' f ailed xinit: connection to X server lost waiting for X server to shut down (II) .Server terminated successfully (0). Clos ing log file. Thank you for any insight into fixing this. I can attach these errors if it will help. --Chris --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254046-6497>