Page 2 of 3

Re: Help with crashing package installer

Posted: Sat Jul 02, 2022 5:27 pm
by fehlix
Yellowhoney wrote: Sat Jul 02, 2022 2:29 pm

Code: Select all

$ mxpi-launcher
Error checking for authorization org.mxlinux.pkexec.mxpi-launcher: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
$
Hmm.. a dbus-thing
A simple test call like this, as normal user in terminal run:

Code: Select all

pkexec true
would also fail?

Let's see what's up. As normal user in terminal run:

Code: Select all

pgrep -a polkit
Normally you would see two lines, like this
nnnn /usr/libexec/polkitd --no-debug
nnnn /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1

Re: Help with crashing package installer

Posted: Sun Jul 03, 2022 11:26 am
by Yellowhoney
fehlix wrote: Sat Jul 02, 2022 5:27 pm
Yellowhoney wrote: Sat Jul 02, 2022 2:29 pm

Code: Select all

$ mxpi-launcher
Error checking for authorization org.mxlinux.pkexec.mxpi-launcher: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
$
Hmm.. a dbus-thing
A simple test call like this, as normal user in terminal run:

Code: Select all

pkexec true
would also fail?

Let's see what's up. As normal user in terminal run:

Code: Select all

pgrep -a polkit
Normally you would see two lines, like this
nnnn /usr/libexec/polkitd --no-debug
nnnn /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1

Code: Select all

Yellow@mx:~
$ pkexec true
Error checking for authorization org.freedesktop.policykit.exec: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Yellow@mx:~
$ pgrep -a polkit
2245 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
Yellow@mx:~

Re: Help with crashing package installer

Posted: Sun Jul 03, 2022 11:57 am
by fehlix
Yellowhoney wrote: Sun Jul 03, 2022 11:26 am

Code: Select all

Yellow@mx:~
$ pkexec true
Error checking for authorization org.freedesktop.policykit.exec: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Yellow@mx:~
$ pgrep -a polkit
2245 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
Yellow@mx:~
OK, thanks.
Another "test" please:
do run this (easiest copy'n'paste) in terminal as normal user:
This (to try) to start polkit daemon:

Code: Select all

sudo bash -c "/usr/libexec/polkitd --no-debug & disown"
and now again the "dummy" test with:

Code: Select all

pkexec date
would it now ask for the password and show the date.

Re: Help with crashing package installer

Posted: Mon Jul 04, 2022 12:11 am
by Yellowhoney
fehlix wrote: Sun Jul 03, 2022 11:57 am
Yellowhoney wrote: Sun Jul 03, 2022 11:26 am

Code: Select all

Yellow@mx:~
$ pkexec true
Error checking for authorization org.freedesktop.policykit.exec: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Yellow@mx:~
$ pgrep -a polkit
2245 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
Yellow@mx:~
OK, thanks.
Another "test" please:
do run this (easiest copy'n'paste) in terminal as normal user:
This (to try) to start polkit daemon:

Code: Select all

sudo bash -c "/usr/libexec/polkitd --no-debug & disown"
and now again the "dummy" test with:

Code: Select all

pkexec date
would it now ask for the password and show the date.

Code: Select all

pkexec date
Error checking for authorization org.freedesktop.policykit.exec: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying

Re: Help with crashing package installer

Posted: Mon Jul 04, 2022 12:14 am
by Yellowhoney
Am i getting these problem because I'm running AHS . should I just run main mx21 in the future

Re: Help with crashing package installer

Posted: Mon Jul 04, 2022 12:23 am
by Adrian
Yellowhoney wrote: Mon Jul 04, 2022 12:14 am Am i getting these problem because I'm running AHS . should I just run main mx21 in the future
No, it's most likely not related. There's something weird going on with pkexec. Not sure why, I will let more knowledgeable people respond. It might be a simple solution...

Re: Help with crashing package installer

Posted: Mon Jul 04, 2022 1:02 am
by Yellowhoney
if it help , I was having crashing problem with anydesk and started using TeamViewer , I was also trying to install xdrp so I don't know if I have boch some thing.

Re: Help with crashing package installer

Posted: Mon Jul 04, 2022 4:25 am
by Huckleberry Finn
Sorry for interfering in : Do you remember creating (or editing) any .conf or .pkla files in /etc/polkit-1/... ?
  • Code: Select all

    sudo ls -laR /etc/polkit-1/locala*
  • Also, nothing to lose (maybe there are broken installations / uninstallations) :

    Code: Select all

    sudo apt update ; sudo apt install -f ; sudo dpkg --configure -a

Re: Help with crashing package installer

Posted: Mon Jul 04, 2022 7:58 am
by fehlix
Yellowhoney wrote: Mon Jul 04, 2022 1:02 am if it help , I was having crashing problem with anydesk and started using TeamViewer , I was also trying to install xdrp so I don't know if I have boch some thing.
dbus get very early setup, may be those remote access helper messed up something.
Perhaps, remove/purge all of those and check whether dbus would now allow to get pkexec authentication to work.

Re: Help with crashing package installer

Posted: Mon Jul 04, 2022 10:25 am
by Yellowhoney
fehlix wrote: Mon Jul 04, 2022 7:58 am
Yellowhoney wrote: Mon Jul 04, 2022 1:02 am if it help , I was having crashing problem with anydesk and started using TeamViewer , I was also trying to install xdrp so I don't know if I have boch some thing.
dbus get very early setup, may be those remote access helper messed up something.
Perhaps, remove/purge all of those and check whether dbus would now allow to get pkexec authentication to work.
thanks for the help the last few days , I think i will just format with a new mx21 and start over. welcome to close the thread