错误提示chrome
在 命令提示窗口ubuntu
root@ubuntu26:~# xhost +
access control disabled, clients can connect from any host
root@ubuntu26:~# sudo -i -u otheruser /opt/google/chrome/chrome google
otheruser 是在ubuntu中的另外非root用户 /opt/google/chrome/chrome是chrome程序路径,在root登陆窗口用另一个用户打开chromespa
方法二.net
编辑 /opt/google/chrome/google-chrome 文件 ,找到最后一行 get
#exec -a "$0" "$HERE/chrome" "$@" 注解行
exec -a "$0" "$HERE/chrome" "$@" --user-data-dir ”/root/.config/google-chrome”登录