I have run the command google-chrome on the server and I have got this error.
https://i.imgur.com/BmxPj2b.pngWhen I tried this solution.
https://i.imgur.com/4G8O6nN.png
and I have got this error https://i.imgur.com/cl4tJHj.png
Answer
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.
Attribution
Source : Link , Question Author : Anjali Maru , Answer Author : Tero Kilkanen