Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2025 10:43:25 -0800
From:      Craig Leres <leres@freebsd.org>
To:        Gleb Popov <arrowd@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 726b0eccd65b - main - devel/pcsc-lite: Update to 2.3.1
Message-ID:  <55f10566-b178-45aa-aa46-d8d31ec33768@freebsd.org>
In-Reply-To: <CALH631nac37mT%2BtBvtTRV9G29LbLHJKACU36dgMCkLkAXOt-dQ@mail.gmail.com>
References:  <202501051556.505FuNhY070016@gitrepo.freebsd.org> <273aec36-c58b-4009-9eea-cea2b31ae38a@freebsd.org> <CALH631nac37mT%2BtBvtTRV9G29LbLHJKACU36dgMCkLkAXOt-dQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/8/25 22:27, Gleb Popov wrote:
> The policy file for pcsc says
> 
>       <allow_any>no</allow_any>
>       <allow_inactive>no</allow_inactive>
>       <allow_active>yes</allow_active>
> 
> Polkit determines "activeness" by asking the ConsoleKit daemon.
> This in turn means that you have to register your graphical or console
> session with ConsoleKit.
> This is done automatically when you're using SDDM to log in.
> If you're starting the graphical session via "startx", then your
> ~/.xinitrc should have something like
> 
> exec dbus-launch --exit-with-x11 ck-launch-session startplasma-x11
> 
> If you don't really need Polkit-based access control, you can disable
> the POLKIT option.

I start X with the descendent of a script I wrote in the early 80's to 
start X10 on an ibm 701 running BSD unix. It doesn't really lend itself 
to dbus-launch. But I played around and was able to to make opensc-tool 
work in an xterm (without disabling polkit).

I think I'll stick with --disable-polkit for now; but thank you for 
explaining how this fancy new stuff works!

		Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55f10566-b178-45aa-aa46-d8d31ec33768>