[SOLVED] CHROMIUM CAN NOT BE RUN AS ROOT

When launched, Chromium will display the error message:


That is simple enough to add the flag from the command line, but it can be inconvenient. The next step is to automatically include the flag when launching chromium-browser.

Edit the file /etc/chromium-browser/default using a text editor like nano


Change the line CHROMIUM_FLAGS="" to CHROMIUM_FLAGS="--user-data-dir" and save the file. Now chromium-browser will launch as root.

Now chromium-browser will launch as root and start maximized.

ConversionConversion EmoticonEmoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng
:lv
Thanks for your comment