How can I solve the error to open google chrome on the server?
Solution 1:
You must not run any application as root
unless it requires root
privileges. Chrome does not require root
privileges.
Chrome has protections that prevent it running with root
privileges, and the errors you are seeing are caused by those.
In order to run Chrome properly, you need to create a normal user account and log in using that user account. Remember to set up a strong passphrase for the new user.