question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Etcher can't detect by polkit daemon

See original GitHub issue
  • Etcher version:1.4.8
  • Operating system and architecture: Arch Linux x86_64
  • Image flashed:archlinux-iso
  • Do you see any meaningful error information in the DevTools?

I tried to flash an iso and it couldn’t detect my Polkit daemon. I use i3wm so I still don’t quite understand about Polkit. I have the Polkit base package installed and the qt5 and gnome frontends installed but it still doesn’t detect any authentication agents

here is some info from Log:

{"stack":"Error: No polkit authentication agent found\n    at Object.exports.createError 
(/usr/lib/etcher/lib/shared/errors.js:253:17)\n    at Object.exports.createUserError 
(/usr/lib/etcher/lib/shared/errors.js:292:18)\n    at sudoPrompt.execAsync.then.catch.catch.catch.catch  
(/usr/lib/etcher/lib/shared/permissions.js:244:18)\n    at tryCatcher 
(/usr/lib/etcher/node_modules/bluebird/js/release/util.js:16:23)\n    
at /usr/lib/etcher/node_modules/bluebird/js/release/catch_filter.js:34:37\n    
at tryCatcher (/usr/lib/etcher/node_modules/bluebird/js/release/util.js:16:23)\n    
at Promise._settlePromiseFromHandler (/usr/lib/etcher/node_modules/bluebird/js/release/promise.js:504:31)\n
at Promise._settlePromise (/usr/lib/etcher/node_modules/bluebird/js/release/promise.js:561:18)\n
at Promise._settlePromise0 (/usr/lib/etcher/node_modules/bluebird/js/release/promise.js:606:10)\n    
at Promise._settlePromises (/usr/lib/etcher/node_modules/bluebird/js/release/promise.js:681:18)\n    
at Async._drainQueue (/usr/lib/etcher/node_modules/bluebird/js/release/async.js:138:16)\n    
at Async._drainQueues (/usr/lib/etcher/node_modules/bluebird/js/release/async.js:148:10)\n    
at Async.drainQueues (/usr/lib/etcher/node_modules/bluebird/js/release/async.js:17:14)\n    a
t <anonymous>\n    at process._tickCallback 
(internal/process/next_tick.js:188:7)","message":"No polkit authentication agent found","description":
"Please install a polkit authentication agent for your desktop environment of choice to continue","report":false}

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:6
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
knuff0rcommented, Jan 28, 2019

i am using the appimage on arch linux and get the same error. running it as root works for me.

0reactions
bacongobblercommented, Jul 30, 2021

Also hitting this issue. etcher must run as root before it can see the running polkit daemon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] Polkit problem / Newbie Corner / Arch Linux Forums
When I run xmonad etcher shows no polkit authentication agent found but when I use xfce it works fine... GParted doesn't even run...
Read more >
How to identify etcher with polkit - balena Forums
Hello, I would like to allow a user group to use Etcher. ... generated script /tmp/tmp-xxxx.cmd, which I cannot clearly proof to be...
Read more >
Ubuntu 18.04: No polkit authentication agent found
1 Answer 1 · find out which desktop environment I'm using ps -A | egrep -i "gnome|kde|mate|cinnamon|lx|xfce|jwm" · search for the corresponding ...
Read more >
Privilege escalation with polkit: How to get root on Linux with a ...
dbus-daemon handles that situation correctly and returns an error. But it turns out that polkit does not handle that error correctly. In fact, ......
Read more >
Authorization required, but no authorization protocol specified
I'm having error on opening Balena Etcher. ... sudo -E etcher Authorization required, but no… ... do you have a polkit daemon running...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found