import os os.system("chromium-browser --kiosk")

when i run this code in python it showing error "" please start chromium as a normal user cannot run as root user ""

how to start chromium-browser as normal user in python shell command

  • if you run chromium-browser --kiosk in your terminal window do you get the same error? os.system should run in the context of the user running the script. – rob Mar 14 '17 at 9:08

Run whoami in the shell. If the answer is root create a new account and run the program as the that new user.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.