How to fix Google chrome cannot be run as root ubuntu Linux

Google Chrome by default is to run by normal user not root user. Running Google Chrome from root is not a trusted method for safe web browsing. If still You want to run as root user in Ubuntu or other Linux here is the solution. The tweak for running google chrome from root user are :google chrome cannot be run as root

1. vi /opt/google/chrome/chrome

2.Find the string “geteuid” using / in recently opened file.

3.Replace “geteuid” with “getppid


Leave a Reply

Your email address will not be published. Required fields are marked *