Then I suggest that you follow the advice of @stargazer and look in the forum for this kind of problem and the possible solutions people had for this.
Iāll also look, but for the moment I have no good idea what might have happened or what to look at next.
One thing you can try: journalctl -f
in a terminal
and in another terminal, try to run, for instance sudo pacman -Syu
and watch the output in the first terminal - it will print messages for new events, it will āfollowā and show you only recent events as they are happening in real time.
That might yield a clue.
ā¦ right - I did expect to see at least some error messages logged - but nothing
I know that there will be messages when I (successfully) use sudo.
I didnāt expect nothing to be logged when sudo was not successful.
Do you get any response when you use sudo some_command and it doesnāt work?
Or just nothing? ā¦
Do you mean that sudo suddenly begins to work then, after a while?
That sounds very strange - but I have heard/read something in relation to fingerprint sensors to have been the culprit.
Gnome Desktop Environment ā¦
ā¦ just hearsay, from what I believe is my memory (as opposed to phantasy/delusion )
[sudo] contraseƱa para mlpbcn:
Lo siento, pruebe otra vez.
[sudo] contraseƱa para mlpbcn:
Lo siento, pruebe otra vez.
[sudo] contraseƱa para mlpbcn:
sudo: 3 incorrect password attempts
[mlpbcn@mlpbcn-systemproductname ~]$ nordvpn c spain
Connecting to Spain #182 (es182.nordvpn.com)
You are connected to Spain #182 (es182.nordvpn.com)!
[mlpbcn@mlpbcn-systemproductname ~]$ sudo pacman -Syyu
[sudo] contraseƱa para mlpbcn:
Lo siento, pruebe otra vez.
[sudo] contraseƱa para mlpbcn:
sudo: timed out reading password
sudo: 1 incorrect password attempt
[mlpbcn@mlpbcn-systemproductname ~]$ sudo pacman -Syyu
[sudo] contraseƱa para mlpbcn:
:: Sincronizando las bases de datos de los paquetes...
core 169,1 KiB 591 KiB/s 00:00 [#######################################################################################] 100%
extra 1854,2 KiB 10,4 MiB/s 00:00 [#######################################################################################] 100%
community 6,9 MiB 27,9 MiB/s 00:00 [#######################################################################################] 100%
multilib 182,0 KiB 3,56 MiB/s 00:00 [#######################################################################################] 100%
:: Iniciando actualizaciĆ³n completa del sistema...
advertencia: lib32-mesa: la versiĆ³n instalada (22.0.0-1) es mĆ”s nueva que multilib (21.3.8-2)
advertencia: python-pyqt5: la versiĆ³n instalada (5.15.6-7.1) es mĆ”s nueva que extra (5.15.6-7)
...el sistema ya estĆ” actualizado.
[```
The line %wheel ALL=(ALL:ALL) ALL was commented out in the sudoers file, I uncommented it, but it didnāt fix the problem. I thought that if it was commented out, users in the wheel group couldnāt use the sudo command, but even if it was commented out, my user could use the sudo command, although as I said, some time after logging in.
Do you have a script running from time to time that runs sudo? It would ask for a password but being a script canāt get it and times out, (or piped a wrong password into it).
Thereās nothing about sudo on the journal output above. Could you retry?
In the end Iām going to reinstall Manjaro, because besides the problem with sudo, Iāve run out of space on the root partition and my file system is xfs. Search how to increase the size of the partition, but being xfs, I found it very complicated, so I will fix two problems at once.
Thank you all for your time and your help.