본문 바로가기
OS/Linux

[Linux No.002][CentOS 7] CentOS에서 Google Chrome 실행 안될 때

by DAEPANG 2018. 9. 20.

안녕하세요.

 

CentOS에서 구글 크롬이 실행되지 않을 때 해결방법을 공유하고자 포스팅합니다.

 

1. 해결방법

 

root 계정으로 실행을 할 때 실행이 되지 않는데

 

# google-chrome --no-sandbox --user-data-dir 

 

명령을 통하여 실행이 가능하며

 

지속적으로 root에서 실행하려면

 

# vi /usr/bin/google-chrome 에 들어가셔서

 

exec -a "$0" "$HERE/chrome "$@" 이 부분을

 

exec -a "$0" "$HERE/chrome "$@" --no-sandbox --user-data-dir 로 변경해주시면 됩니다.

 

 

 

 

댓글