錯誤提示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」登錄