• Authentication error Openbox/Fluxbox etc


    Hi! I’d like to know if there is some package for me to install to run GUI packages with “sudo” in window managers like openbox, otherwise they just display a message “authentication error” “authentication failed”.
    I mean for example, run add/remove program and it ask for the password.
    I know i can run a software through terminal with gksudo, kdesudo, sudo.
    Sorry if i wasn’t clear enough.

    Thanks!

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • you have to change the starter inside the

    ~/.config/openbox/menu.xml
    

    for example:

    
    		<item label="Partition Manager">
    			<action name="Execute">
    				<execute>
    					gksu gparted
    				</execute>
    			</action>
    

    needs to have gksu installed…

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    http://kamprad.net/howto-installing-antergos/
    https://forum.antergos.com/topic/1883/how-to-include-system-logs-when-asking-for-help

  • @joekamprad ok, but then i must edit the file for each program i want to run as “gksudo”?
    I wanted the system to prompt a window asking the password automatically when authentication is needed…

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • Openbox/Fluxbox are very simple, as you now inside Gnome/KDE e.t.c. this is automatic…

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    http://kamprad.net/howto-installing-antergos/
    https://forum.antergos.com/topic/1883/how-to-include-system-logs-when-asking-for-help

  • @joekamprad Ok, thank you very much for your help and teaching. :+1:
    Yes, i guess if someone get to the point of using more “alternatives wm-desktops” it’s because already have enough knowledge to simple create a launcher or do it by terminal. I just think It’s very necessary for pamac to come adjusted from the start for begginers (if possible).
    Thanks again!
    Cheers!

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • Should be for openbox you are right…

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    http://kamprad.net/howto-installing-antergos/
    https://forum.antergos.com/topic/1883/how-to-include-system-logs-when-asking-for-help

  • Openbox fram cnchi installed Antergos default:
    Bild Text

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    http://kamprad.net/howto-installing-antergos/
    https://forum.antergos.com/topic/1883/how-to-include-system-logs-when-asking-for-help

  • @joekamprad then there is a way to fixa post installed desktop…
    I’ll mark as unsolved again until i find a solution or someone else give a solution…
    Cheers!

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • Ok, i discovered how to fix it:

    1. install polkit-gnome and gnome-keyring
      sudo pacman -S polkit-gnome gnome-keyring
      then run:
      /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &

    I fixed the path from here: openbox config

    You can add to openbox startup or run as script for others wm or add to their respectives startups.

    I’m happy i learned a little more today!
    Cheers!

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

error170 authentication9 openboxfluxbox1 Posts 9Views 514
Log in to reply