Authentication

I'm new at garuda and Arch
everything i do with either pacman and system settings i get errors. I'm used to getting a popup to type root password to install and maintain. But it doesn't do that on Garuda. I won't reinstall another but wan't to figure this out. Please help me so i can get a good feeling with this awesome system :slight_smile:

1 Like

Hi and Welcome, Please run from the terminal

sudo pacman -Syu

and copy the text here using </> icon from above.

1 Like
[root@linux xdm-setup-7.2.11]# sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 chaotic-aur is up to date
:: Starting full system upgrade...
 there is nothing to do

Your in the root account which is not the best place to be. Did you add a user?
You should log in as the user you added when installing. :wink:

i have logged in with a normal user. but no popups when i want to use gui pacman or other apps that uses elevated user (root)

i just used sudo su -

that's the only way i could update the system. it comes with authentication error i all elevated apps

This means you are logged in as root. :fearful:

yes i know. but now overall , just in terminal. i am logged in with my ordinary user. i just opened a terminal and used the command : sudo su -

Hi
Welcome

How did you open the terminal?
Open it using ctrl+alt+t

Try installing gnome disks (for sample purposes only)

sudo pacman -S gnome-disk-utility
And post the outcome

And don't use sudo su this time :wink:

2 Likes
❯ sudo pacman -S gnome-disk-utility                                                                                     ⇣0 B/s ⇡0 B/s 192.168.0.54   80.163.24.182  ─╯
[sudo] password for bubbadk:      
resolving dependencies...
looking for conflicting packages...

Packages (1) gnome-disk-utility-3.38.0-1

Total Download Size:   1,03 MiB
Total Installed Size:  6,18 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 gnome-disk-utility-3.38.0-1-x86_64                                        1058,1 KiB   495 KiB/s 00:02 [-------------------------------------------------------------] 100%
(1/1) checking keys in keyring                                                                          [-------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                        [-------------------------------------------------------------] 100%
(1/1) loading package files                                                                             [-------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                       [-------------------------------------------------------------] 100%
(1/1) checking available disk space                                                                     [-------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) installing gnome-disk-utility                                                                     [-------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/8) Arming ConditionNeedsUpdate...
(2/8) Foreign/AUR package notification
=> No foreign/AUR packages found.
(3/8) Compiling GSettings XML schema files...
(4/8) Updating icon theme caches...
(5/8) mkinitcpio and grub update after every transaction.
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
==> Starting build: 5.8.14-zen1-1-zen
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-zen.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
==> Starting build: 5.8.14-zen1-1-zen
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
==> Image generation successful
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot: initramfs-linux-zen-fallback.img
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
(6/8) Orphaned package notification
intltool 0.51.0-6
(7/8) Checking for .pacnew and .pacsave files...
.pac* files found:

Please check and merge
(8/8) Updating the desktop file MIME type cache...

Is gnome disks installed now?

yes it's installed and working. but my issue is that i can't use elevated apps. there's no popup with so i can insert password and continue with the app example pacman and sus studio image writer

they just reports authentication error

Type
sudo -Rnsc gnome-disk-utility

Now type
sudo su
pacman -S gnome-disk-utility

Try this

Also please show the text output of where exactly you got the error/ problem.

 sudo -Rnsc gnome-disk-utility                                                                                         ⇣0 B/s ⇡0 B/s 192.168.0.54   80.163.24.182  ─╯
[sudo] password for bubbadk:      
sudo: you are not permitted to use the -R option with gnome-disk-utility

    ~                                                                                             took 3s   0.56   14%   6.14G   1.57G   at 09:57:41   ─╮
❯ sudo su                                                                                                     ⇣0.69 KiB/s ⇡0.24 KiB/s 192.168.0.54   80.163.24.182  ─╯
[root@linux bubbadk]# pacman -S gnome-disk-utility
warning: gnome-disk-utility-3.38.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) gnome-disk-utility-3.38.0-1

Total Installed Size:  6,18 MiB
Net Upgrade Size:      0,00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                          [-------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                        [-------------------------------------------------------------] 100%
(1/1) loading package files                                                                             [-------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                       [-------------------------------------------------------------] 100%
(1/1) checking available disk space                                                                     [-------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling gnome-disk-utility                                                                   [-------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/8) Arming ConditionNeedsUpdate...
(2/8) Foreign/AUR package notification
=> No foreign/AUR packages found.
(3/8) Compiling GSettings XML schema files...
(4/8) Updating icon theme caches...
(5/8) mkinitcpio and grub update after every transaction.
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
==> Starting build: 5.8.14-zen1-1-zen
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-zen.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
==> Starting build: 5.8.14-zen1-1-zen
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
==> Image generation successful
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot: initramfs-linux-zen-fallback.img
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
(6/8) Orphaned package notification
intltool 0.51.0-6
(7/8) Checking for .pacnew and .pacsave files...
.pac* files found:

Please check and merge
(8/8) Updating the desktop file MIME type cache...

Ah are you talking about this error?

Comes from a typo here:

:wink:

3 Likes

nope. i'm talking about when opening the gui of any app that uses elevated root authentication. it just don't popup a password field i can type into. then the authenticatione error pops up :slight_smile:

If using kde you are not getting polkit authentication prompt
Manually run

/usr/lib/polkit-kde-authentication-agent-1
2 Likes

[root@linux bubbadk]# /usr/lib/polkit-kde-authentication-agent-1
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
"Session bus not found\nTo circumvent this problem try the following command (with Linux and bash)\nexport $(dbus-launch)"