Date: Mon, 18 Jan 2021 11:41:07 +0100 From: Guido Falsi <mad@madpilot.net> To: =?UTF-8?Q?Gerrit_K=c3=bchn?= <gerrit.kuehn@aei.mpg.de>, freebsd-xfce@freebsd.org Subject: Re: polkit not running after update Message-ID: <f2577bf3-8690-0a54-789f-97f37514166a@madpilot.net> In-Reply-To: <20210118112011.70fa6542@arc.aei.uni-hannover.de> References: <20210118112011.70fa6542@arc.aei.uni-hannover.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 18/01/21 11:20, Gerrit Kühn wrote: > Hello all, > > I don't quite know where to take this, hopefully I'm not completely wrong > here. > > I've just updated a couple of machines using xfce from 12.1 to 12.2. Most > work fine after the update, but one is slightly broken now. Here are > some issues I see: XCFE starts just fine but refuses for open the xfce > terminal (nothing happens). Also, logging out is not possible anymore > (desktop gets dark, but not logout selection appears). > > As written in the subject, I think the main reason for this is that polkitd > isn't running. Sometimes I can see various error windows popping up > complaining about things that point into this direction, also ps doesn't > show a polkitd like on the systems that work fine. > > In /var/log/messages I see the following error message from dbus: > > --- > Jan 18 10:58:57 beastie dbus-daemon[36795]: [system] Failed to activate > service 'org.freedesktop.PolicyKit1': timed out > (service_start_timeout=25000ms) > --- > > > However, I'm unable to find out /why/ this happens and how to fix it. Any > hints? Not easy to guess. Also, while I do work on xfce ports I know little about polkit details. xfce uses it, but it's not part of xfce. Some things you could check: look into .xsession-errors, that's where output from user X11 session goes, maybe you can find some hint there. Do expect various scary warnings there, but most are really just noise. Check if you have any core dumps from polkit laying around. I think the root directory is the most likely place. You could also try launching polkitd by hand as a user or as root and see what it says It should also have a --debug flag. Trying to reinstall it (via ports if using ports o with pkg upgrade -f if using binary packages) could help. Same for it's requirements, I get: > pkg info -d polkit-0.118 polkit-0.118: expat-2.2.10 spidermonkey78-78.6.0_1 glib-2.66.4_1,1 gettext-runtime-0.21 dbus-1.12.20_3 So pkg upgrade -f (or rebuilding from ports if that's your method) for all those is worth a try. -- Guido Falsi <mad@madpilot.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f2577bf3-8690-0a54-789f-97f37514166a>