我的环境: centos6.4
chromium安装后不能运行在root用户下:
Google Chrome can not be run as root.
Please start Google Chrome as a normal user. To run
as root, you must specify an alternate –user-data-
dir for storage of profile information.
vi /opt/chromium/chrome-wrapper
把 exec $CMD_PREFIX "$HERE/chrome" "$@"
改为exec $CMD_PREFIX "$HERE/chrome" %U --user-data-dir=/root/.config/chromium
mkdir -p /root/.config/chromium