Menu

Ubuntu/Pop_OS 21.10: Getting admin password windows at encypting drive, with starting sudo is't working

Alex
2022-04-01
2022-05-13
  • Alex

    Alex - 2022-04-01

    Hello,

    I'm using VeraCrypt 1.25.9 and had this issue on Ubuntu, Mint OS and now also on Pop_OS 21.10. (They are all Ubuntu based OS.)

    Always when I start the application with my user from the GUI launcher I can't encrypt my drive. Because I get always a window with "Administrator privileges required". I can enter as often as I want but drive will not be encrypted. (See attached Screenshot.)

    But when I start veracrypt in terminal with sudo, it's working: "sudo veracrypt"

    Is there a trick how can I start veracrypt from GUI launcher always with sudo permissions?

    Or should I test something else?

    Thanks a lot.

    Greetings, Alex

     
  • Alex

    Alex - 2022-04-01

    P.S: Sorry I mean at decrypt my drive with veracrypt...

     
  • RealTehreal

    RealTehreal - 2022-04-07

    You could open VeraCrypt from terminal without sudo and see if there is any information, like errors, logged within the terminal:
    veracrypt --verbose

    Greets

     
  • Alex

    Alex - 2022-04-07

    Hello,

    thank you for this hints.
    It's funny that when I use in terminal "veracrypt" or "veracrypt --verbose" I only get one time this "admin password window" and decrypt working normal then.

    Only when I start veracrypt from GUI "Application launcher" it's not working. But it's illogical, because authorization should be the same, because same user.

    Is there any log or debug mode what I can try?

    Thanks

     
    • RealTehreal

      RealTehreal - 2022-04-12

      It's funny that when I use in terminal "veracrypt" or "veracrypt --verbose" I only get one time this "admin password window" and decrypt working normal then.

      Only when I start veracrypt from GUI "Application launcher" it's not working. But it's illogical, because authorization should be the same, because same user.

      I never experienced such behavior. Are you sure that you not just mistyped your password?

      Is there any log or debug mode what I can try?

      Not as far as I'm aware of, as this could lead to data leaking and therefore reduced security. But maybe I'm missing something.

      Greets

       
  • Alex

    Alex - 2022-05-13

    Hello,

    I have reinstall Pop_OS in Version 22.04 LTS.

    No interestingly when I open a terminal and enter "sudo veracrpyt" I now get this two messages:

    (veracrypt:41576): libayatana-appindicator-WARNING **: 17:55:25.269: Unable to get the session bus: Failed to execute child process “dbus-launch” (No such file or directory)

    (veracrypt:41576): LIBDBUSMENU-GLIB-WARNING **: 17:55:25.269: Unable to get session bus: Failed to execute child process “dbus-launch” (No such file or directory)

    Decrypt is working, so I don't think this is helping.

     

Log in to post a comment.

MongoDB Logo MongoDB