• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Hướng dẫn sửa lỗi Google Chrome cannot be run as root trên Ubuntu 14.04

Admin

Well-Known Member
Staff member
Administrator
Nếu bạn khởi động Google Chrome trên VPS Unbuntu khi remote desktop mà bị lỗi này



Thì đơn giản bạn chỉ cần đăng nhập ssh và gõ lệnh sau:
Code:
sudo nano /opt/google/chrome/google-chrome

Sau đó bạn tìm
Code:
else
  exec -a "$0" "$HERE/chrome" "$@"
fi
Và thay thành
Code:
else
  exec -a "$0" "$HERE/chrome" "$@" --user-data-dir
fi
Vậy là xong



Chúc các bạn thành công!
 

Facebook Comments

Similar threads

New posts New threads New resources

Back
Top