I have got a clean install of Raspbian on an RPi 4B. If I log in as root (not as the standard pi user) and try to open the Chromium web browser, by clicking its icon on the Task Bar, Chromium simply crashes and does not start. Everything works fine if I am logged in as pi. Anyone knows why?
Chromium is designed not to work when run as
root, for security reasons. There are workarounds, of which currently (AFAIK) only patching the executable works, others have been fixed.
Filing a bug report about this on Chromium dev boards is a good way to get banned there. I don't share this point of view (IMO a gun should not stall just because it looks like the user is trying to shoot themselves in the foot), but Chromium team has a different opinion.