Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4466

Unbuntu 22.04 How to launch a .deb app at boot time without asking for password?

$
0
0

authentication dialog box

I'm facing a ridiculous issue: I've build a custom web browser with electron and would like to use it in kiosk mode. After making and installing the .deb package of this app, it can be launched via the this command: pos. In order to make it start automically at boot time, I install a cron job as follow: @reboot pos it works fine but the only issue is that, user need to input password to a prompted dialog box every time the PC restarted or booted.

How can I make it work without the need to input the password ? I remember Ubuntu 20 does not force password input when launching an application at boot time. I realy want to make it work this way. I've even tried to change the app binary owner in vain : sudo chown username /bin/pos any help ?

Notice that I've tried to find solution on net unseccessfully; most of the case are for old version.


Viewing all articles
Browse latest Browse all 4466

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>