본문 바로가기
Development Solutions/Linux

Running as root without --no-sandbox is not supported - Solution(에러 해결 방법)

by Dev Diary Hub 2022. 10. 8.
반응형

[Linux][Qt] Running as root without --no-sandbox is not supported

- Solution(에러 해결 방법)

 

문제 상황

 

Root권한으로 qt프로젝트나 크롬 실행 파일 등을 실행하면 나타나는 에러이다. (아래 에러 메시지)

이 에러로 인해 잘 동작중이던 프로그램이 crash되곤 한다.

(This error appears when running a qt project or a chrome executable file with root privileges. (error message below)
Due to this error, programs that were working well often crash.)

<< Running as root without --no-sandbox is not supported >>

 

 

해결 방법


sudo로 실행해서 발생한 에러이다. 보통 크롬 브라우저 관련 이슈로 나오며, github issue페이지를 보니 웹엔진 관련 에러로 보인다.

일반 유저 권한으로 실행하면 되며, 일반 유저 권한 실행이 안될 경우 리부팅 후 실행하면 된다.

 

(This error occurred when running with sudo. It usually appears as an issue related to the Chrome browser, and looking at the github issue page, it seems to be a web engine related error.
You can run it with general user privileges, and if normal user privileges cannot be executed, reboot and then run.)

 

반응형