Closed ghost closed 4 years ago
I've tried sudo env HOME=$HOME synaptic
and it works (at least with Xephyr
/ ssh -Y
)
I did it. i just need to install lxqt-sudo
(a Sudo Qt Frontend for LXQT) and it acts like pkexec. though the appearance dosen't match arc theme. just plain classic qt
hey guys. i've been setting up debian 9 proot environment on android device using debootstrap. and i know the package called gksu in linux. which i added user accounts and allows me to run synaptic in desktop menu. which allows me to authenticate using
gksu
which i modified the synaptic.desktop changing theexec=synaptic-pkexec
toexec=gksudo synaptic
However since newer versions of linux distro uses pkexec and admin:/// uri scheme. i've been setting up user accounts in
proot-distro
in ubuntu. but since gksu is obsolete.pkexec
won't work in some cases. maybe something to do with policy kit. tried to changing the synaptic desktop entry toexec=sudo synaptic
with the option to run it in terminal emulator. but it seems it dosen't prompt me in the terminal with password user input to run synaptic. tried to set the sudo authentication to NOPASSWD in/etc/sudoers.d/user
but it seems it still the sametried.
$ XAUTHORITY=${HOME}/.Xauthority synaptic-pkexec
but failed causing an error. about Failed to connect to Xauthority no such file or directoryis there a walkaround to run
pkexec
in proot. or other alternatives topkexec
to work in proot?