세워짐요크토(Poky fido 포크) 리눅스 배포판라즈베리 파이 2이 훌륭한 튜토리얼을 따라해보세요1 부.
이제 Chromium을 실행해 보세요.
다음에 추가메타 브라우저나에게 주어진bblayers.conf
chromium
.bb
내 이미지 파일 에 레시피를 추가하세요 .
내 이미지를 컴파일하고 빌드할 수 있지만 실행하려고 하면 다음 오류가 발생합니다.
root@raspberrypi2:/usr/bin/chromium# ./chrome
[527:527:0624/195537:FATAL:browser_main_loop.cc(161)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
Aborted
--샌드박스 없음
root@raspberrypi2:/usr/bin/chromium# ./chrome --no-sandbox
[528:528:0624/195641:ERROR:browser_main_loop.cc(164)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[528:528:0624/195641:ERROR:browser_main_loop.cc(210)] Gtk: cannot open display:
root@raspberrypi2:/usr/bin/chromium# [530:530:0624/195641:ERROR:image_metadata_extractor.cc(111)] Couldn't load libexif.
[530:530:0100/000000:ERROR:zygote_linux.cc(587)] write: Broken pipe
^C
디스플레이=:0.0
root@raspberrypi2:/usr/bin/chromium# export DISPLAY=:0.0 && ./chrome --no-sandbox
[531:531:0624/195652:ERROR:browser_main_loop.cc(164)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[531:531:0624/195652:ERROR:browser_main_loop.cc(210)] Gtk: cannot open display: :0.0
root@raspberrypi2:/usr/bin/chromium# [533:533:0624/195652:ERROR:image_metadata_extractor.cc(111)] Couldn't load libexif.
[533:533:0100/000000:ERROR:zygote_linux.cc(587)] write: Broken pipe
^C
--use-gl=egl
하드웨어 가속을 사용하여 작동시키는 데 매우 관심이 있습니다.
root@raspberrypi2:/usr/bin/chromium# export DISPLAY=:0.0 && ./chrome --no-sandbox --use-gl=egl
[534:534:0624/195901:ERROR:browser_main_loop.cc(164)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[534:534:0624/195901:ERROR:browser_main_loop.cc(210)] Gtk: cannot open display: :0.0
root@raspberrypi2:/usr/bin/chromium# [536:536:0624/195901:ERROR:image_metadata_extractor.cc(111)] Couldn't load libexif.
[536:536:0100/000000:ERROR:zygote_linux.cc(587)] write: Broken pipe
^C
어떤 조언이라도 환영합니다.
답변1
아마도 이것이 도움이 될 것입니다...내 "ps"와는 약간 다른 플랫폼입니다.
/bin/sh /usr/bin/google-chrome
2009 root 2424 S {google-chrome} /bin/sh /usr/bin/google-chrome
2010 root 378m S /usr/bin/chrome/chrome --use-gl=egl --user-data-dir=/home/root/.chromium/
2012 root 1956 S /usr/sbin/chrome-devel-sandbox /usr/bin/chrome/chrome --type=zygote --user-data-dir=/home/
2013 root 100m S /usr/bin/chrome/chrome --type=zygote --user-data-dir=/home/root/.chromium/
2016 root 108m S /usr/bin/chrome/chrome --type=zygote --user-data-dir=/home/root/.chromium/
2069 root 212m S /usr/bin/chrome/chrome --type=renderer --use-gl=egl --enable-deferred-image-decoding --lan
2078 root 175m S /usr/bin/chrome/chrome --type=renderer --use-gl=egl --enable-deferred-image-decoding --lan
이는 바탕 화면 아이콘 "/bin/sh /usr/bin/google-chrome"에서 시작되며, 이는 아래 스레드에 표시된 모든 변수를 설정합니다.