Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Policykit problems (blueman, nm-applet, USB mount, etc) after some update
Date: Fri, 26 Oct 2018 12:15:19
Message-Id: 5840151.kTGoTjpEzN@dell_xps
In Reply to: [gentoo-user] Policykit problems (blueman, nm-applet, USB mount, etc) after some update by Alexey Eschenko
1 On Friday, 26 October 2018 12:14:17 BST Alexey Eschenko wrote:
2 > Hi.
3 >
4 > Some time ago (probably between two weeks and month) after another
5 > system update I started encountering problems with some userland
6 > services like blueman and nm-applet.
7 >
8 > I have encountered blueman problem every time when I logged in to my
9 > XFCE session. Right after XFCE init I did see this:
10 > https://github.com/blueman-project/blueman/issues/913
11 >
12 > Probably at the same time I became unable to enable my VPN connections
13 > using nm-applet. After choosing my connection from dropdown menu I've
14 >
15 > seen the error in notification bubble:
16 > > The VPN connection "..." failed to start.
17 > > Not authorized to control networking
18 >
19 > Third but not as likely related (not sure if it started to happen at the
20 > same time) is XFCE shutdown/reboot problems. For some time I'm unable to
21 > directly shutdown or reboot my PC from XFCE "Action Buttons" panel
22 > plugin. If I choose "Restart" or "Shut Down" then XFCE just logs out
23 > from my session and I will see SDDM. If I choose shutdown/reboot in SDDM
24 > then all will be ok but direct shutdown from XFCE only logs me out.
25 >
26 > And fourth problem is that for some time I became unable to mount USB
27 > flash drives from the file manager. In Thunar when I'm clicking on USB
28 > drive nothing happens (even nothing in the thunar console output if I
29 > run it from there). There is also nothing strange in journalctl when I'm
30 > plugging my USB flash drive.
31 > If I try to mount my USB drive using "sudo mount /dev/sdX1
32 > /media/usb_flash" then all works perfectly. udisksctl which I've never
33 > used in the past (but was told to try after mentioning this problem)
34 > mounts USB drive correctly but only after asking root password.
35 >
36 > After reading the issue in the blueman repository I tried "fix" which
37 > was mentioned here:
38 > https://github.com/blueman-project/blueman/issues/912#issuecomment-427648539
39 > https://github.com/blueman-project/blueman/wiki/PolicyKit
40 >
41 > It did help with blueman error on XFCE start.
42 > I'm not familiar with policykit at all but it looks like there was some
43 > systematic changes in permission policies and I think that there must be
44 > more correct and more generic solution than manually creating policykit
45 > policies for every service which I notice problems with.
46
47 I've experienced similar problems lately on a system where I had erroneously
48 left settings to cater for startx, but these were in addition to what the
49 Display Manager was doing (sddm). As a result there were two sessions
50 starting as shown by ck-list-sessions and this created a clash blocking things
51 like BT, USB mounts from userspace (on any DE) and the like.
52
53 You may want to check if you have left any manually created session files in /
54 etc/X11/Sessions/ and ~/.xinit or ~/.xsession.
55
56 --
57 Regards,
58 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies