DISCLAIMER/Warning: Running anything as root is risky and you should not run any software as root when you don't have to. If you don't know what you're doing, or are on a system that needs to be secure, leave now.
If you have installed google-chrome, you might recently have gotten the message:
google-chrome cannot be run as root.
Very annoying.
Now here's the antidote:
First, switch off Xorg access control:
Now start google chrome as normal user "anonymous"
Code:
sudo -i -u anonymous /opt/google/chrome/chrome
When done browsing, re-enable Xorg access control:
Bookmarks