[Pkg-utopia-maintainers] Bug#947802: policykit-1: pkexec can't handle sessions created by Xrdp
Joshua
joshudson at gmail.com
Mon Dec 30 23:39:26 GMT 2019
Package: policykit-1
Version: 0.105-25
Severity: normal
Ignore version. Bug exists in every version.
pkexec can't handle sessions created by Xrdp. It clearly wants something from the session manager
that the session manager cannot provide. On the other hand, whatever it wants from the session manager,
it does not need.
Tried to configure a new policy kyt file in /usr/share/polkit-1/actions; discovered that it doesn't
matter what the file contains, nothing will run because pkexec can't find the currently logged-in session.
(This is a server. The only kinds of GUI logged in sessions are Xrdp and ssh -X.)
Tried setting up gtksu but it doesn't exist anymore.
Grumbled and rot out the C compiler and wrote a completely stupid suid-target-user binary that copies
.Xauthority and sets up environment variables and runs the target binary.
Apologies--I am having to re-report this bug from a different system as reportbug from the system with
the problem went to the bitbucket. I removed the obviously incorrect information below.
-- System Information:
Debian Release: 10.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1), LANGUAGE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
LSM: AppArmor: enabled
More information about the Pkg-utopia-maintainers
mailing list