From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EC721138334 for ; Fri, 26 Oct 2018 12:15:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48005E08F6; Fri, 26 Oct 2018 12:15:11 +0000 (UTC) Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1679E08EC for ; Fri, 26 Oct 2018 12:15:10 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id x12-v6so1112964wrw.8 for ; Fri, 26 Oct 2018 05:15:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:reply-to:subject:date:message-id:in-reply-to:references :mime-version; bh=MRJGn8XwAf7UW+FvmM3O+oMvqunvwxrOUMcaGKXdswI=; b=p9az5xxV6UsYxzNh8P6fSptP1R5j4T//zsQspbPZpxEMDPrG1JrG+lvcvt4d67ByL1 N8qnvCs6u3Sil01L0inoZIgvODpXTl6pqU1ZDtkGNfsW+i5aCvLs7y833y22ocVY1/LZ Tvf5ls0xURC6mzLndgmE6je0EhwFgwKgiLiCs0IpRKHAneLT9RkFdRXWTsB4SgIOBIhf 0t76BKlJlkOVRD/J+1z5iRBEHT1opXKwCIv88iQVsyVLwdXoc/GCNYL/FPjcFkSlZaSD nTJk4oaVfqGh2dDm2EuFkYfJ0kn1Pg233LCqoVsxuR7CHeIQhQ+TtHIl0lKzTQJbL3wV dqfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:reply-to:subject:date:message-id :in-reply-to:references:mime-version; bh=MRJGn8XwAf7UW+FvmM3O+oMvqunvwxrOUMcaGKXdswI=; b=sEpzsWt3q1YdQ3Pu72C9ufS8TZThmFnVkk1iS+gV1DwUYiGPmr8TkMpumd+iL/gF1L L0TOSIsj+5c6i7DWy9oTVdgz+nQ6MW+D3jcuWx2N5ke3KXwfKZSM/V9GU4hpT37IDFZj Bj9XY0Cu2sJDiGtHv4Cr3tppvUB9HV5Tm9LUzpuInE7pUJbWdGrCL1H2NwWX0N8KLAiY pIyWJKe+qjYNvHaGpZXj1KK2enJAUdvRIO4EU97yK8JRxvi2z9NcN0zXl3NuztrDuvR6 q8g81/nQHoFENpPU03uWvkenrX/R+9RB5v5H+WY2Wcxcd2GpCiArm2kWRnRUln3SRzN+ FEFw== X-Gm-Message-State: AGRZ1gIiL+ho+7BmQ0VJ/3TCWyec5Mdd9fbDQthkSoQpWloLTnVfBRXi 110zvVMYUxJcRem24SXqHeHDJ+SZMfQ= X-Google-Smtp-Source: AJdET5dUobLJacD8IdyMYNWOe+HJhGYrJJZpF2zIOMABA0CaWkfe4UpH6aog6BNsiOt3OcK+0TNoDw== X-Received: by 2002:adf:a781:: with SMTP id j1-v6mr5553830wrc.277.1540556108844; Fri, 26 Oct 2018 05:15:08 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by smtp.gmail.com with ESMTPSA id z12-v6sm40754wrn.43.2018.10.26.05.15.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Oct 2018 05:15:08 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Policykit problems (blueman, nm-applet, USB mount, etc) after some update Date: Fri, 26 Oct 2018 13:15:05 +0100 Message-ID: <5840151.kTGoTjpEzN@dell_xps> In-Reply-To: <59129b87-dc9a-d96b-3422-242be8f4960c@ya.ru> References: <59129b87-dc9a-d96b-3422-242be8f4960c@ya.ru> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6344449.peZ1xiWL1Z"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Archives-Salt: 7366db61-7747-4e13-95f2-c904c00b212a X-Archives-Hash: 8c507385a71873f5d4d156c46c490a0e --nextPart6344449.peZ1xiWL1Z Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" On Friday, 26 October 2018 12:14:17 BST Alexey Eschenko wrote: > Hi. > > Some time ago (probably between two weeks and month) after another > system update I started encountering problems with some userland > services like blueman and nm-applet. > > I have encountered blueman problem every time when I logged in to my > XFCE session. Right after XFCE init I did see this: > https://github.com/blueman-project/blueman/issues/913 > > Probably at the same time I became unable to enable my VPN connections > using nm-applet. After choosing my connection from dropdown menu I've > > seen the error in notification bubble: > > The VPN connection "..." failed to start. > > Not authorized to control networking > > Third but not as likely related (not sure if it started to happen at the > same time) is XFCE shutdown/reboot problems. For some time I'm unable to > directly shutdown or reboot my PC from XFCE "Action Buttons" panel > plugin. If I choose "Restart" or "Shut Down" then XFCE just logs out > from my session and I will see SDDM. If I choose shutdown/reboot in SDDM > then all will be ok but direct shutdown from XFCE only logs me out. > > And fourth problem is that for some time I became unable to mount USB > flash drives from the file manager. In Thunar when I'm clicking on USB > drive nothing happens (even nothing in the thunar console output if I > run it from there). There is also nothing strange in journalctl when I'm > plugging my USB flash drive. > If I try to mount my USB drive using "sudo mount /dev/sdX1 > /media/usb_flash" then all works perfectly. udisksctl which I've never > used in the past (but was told to try after mentioning this problem) > mounts USB drive correctly but only after asking root password. > > After reading the issue in the blueman repository I tried "fix" which > was mentioned here: > https://github.com/blueman-project/blueman/issues/912#issuecomment-427648539 > https://github.com/blueman-project/blueman/wiki/PolicyKit > > It did help with blueman error on XFCE start. > I'm not familiar with policykit at all but it looks like there was some > systematic changes in permission policies and I think that there must be > more correct and more generic solution than manually creating policykit > policies for every service which I notice problems with. I've experienced similar problems lately on a system where I had erroneously left settings to cater for startx, but these were in addition to what the Display Manager was doing (sddm). As a result there were two sessions starting as shown by ck-list-sessions and this created a clash blocking things like BT, USB mounts from userspace (on any DE) and the like. You may want to check if you have left any manually created session files in / etc/X11/Sessions/ and ~/.xinit or ~/.xsession. -- Regards, Mick --nextPart6344449.peZ1xiWL1Z Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEt7MNaGaS6HvTUrEz6WnU8jC95dcFAlvTBUkACgkQ6WnU8jC9 5dcjbw/6A3QglyNvlmd5i8LiTWn1MnOG6Xu0WlQTF6rB4M4OSfaR0dJjv68tY3gK M2eUPuZY2+DHuah/OFBwtpi9A8OwZZviHFwxbDOH9R9/UbHoNzBO5lPzACpl3abg gDj+sPJVsGlQv1dY2Ns4ebJ4LAR81uefVp5pKe6S1tTCS8Et5V6Jji/RsuBgpxo6 11AdqPbBUnUT07lvA7HXxwhqpQbRummPOffNwciEPHEF8N35RESR/SEK+IyLkwVa dRuOEwj9czvOALJr/2ghVfD2wQi5+FZMz3P9d2rh4Gegh55utfd8J442/Ycb6yM7 jVTE1nMI4vo8ybNwalhMy5OIItwdDEF4ivyjtnZVzifURoYY9PxGCdiEwVeVkwG+ 10BG48KRk2QUlOvPH00hP+XnsKjgc7hbqyNYdGY890NPUnGNAONvGElUZbFxKB3V LmqhzqethsPdAStAZPVpLYRDcyopW+8bqTrM+16pglyurujdgCyzuCN5UI6uC6Xq pOlkuzn9Qw6kReNhFIIVOE+IhPdLXH1BUcw2ct6Y51I1BV8aMScqG7HmRfoZsBOk EKI0fxhsx2P7l8qTt9C1S4ZfckjQPoZlVVUBLvSnT4RIP+tZl4SQaHQwYAGxMzp8 NTbpZraSc8Vgx1i6C1MPPS5NZMAWTfLECQPAU11WjnRy/ZTQCIo= =N1oJ -----END PGP SIGNATURE----- --nextPart6344449.peZ1xiWL1Z--