Lubuntu Google Chromeを開くことができません

Lubuntu Google Chromeを開くことができません

これで、lubuntu 18.10がインストールされているミニPCにキオスクアプリケーションが設定されました。これらのアプリケーションはChromeで動作します。 PCが起動するたびにChromeインスタンスを自動的に起動するコマンドを作成しました。

ただし、時々Chromeが起動せず、ログを介して次のエラーが発生することがわかります。

[1680:1680:0830/083742.498300:ERROR:edid_parser.cc(313)] invalid EDID:
human unreadable char in name

[1715:1715:0830/083742.790840:ERROR:sandbox_linux.cc(368)]
InitializeSandbox() called with multiple threads in process
gpu-process. /home/soltova/Documents/chrome.sh: line 17:  1680 Killed 
/usr/bin/google-chrome --disable-web-security --test-type
--user-data-dir --kiosk --incognito http://localhost/html12/

コンピュータが起動するたびにGoogle Chromeが表示されるようにするにはどうすればよいですか?

起動スクリプト:

#!/bin/bash 

exec > /home/soltova/Documents/chrome-run.log 
exec 2> /home/soltova/Documents/chrome-run.err
#xset dpms force off 
function online {   ## Test if online - prototype code  
 wget -q -O /dev/null --timeout=5 http://www.google.com  
 return $?
}

until online do   sleep 5 done

#xset dpms force on     
/usr/bin/google-chrome --disable-web-security --test-type --user-data-dir --kiosk --incognito http://localhost/html12/

ベストアンサー1

一般的なGoogle Chromeエラーは、ChromeのGPUを使用してLinuxで実行しようとしたときに発生します。

残念ながら、まだ明確な解決策はありません。次のエラーメッセージが表示されたときにChromeブラウザを使用する簡単な回避策は次のとおりです。

このバグはすべてのChromeバージョンに影響します。

  • Chromeは安定しています。
  • Google Chrome Beta
  • クロム

解決策

最も簡単な解決策は、次のフラグでGPUハードウェアアクセラレーションを使用しないことです。--disable-gpu --disable-software-rasterizer

google-chrome --disable-gpu --disable-software-rasterizer

範囲--disable-gpu 定義:

GPUハードウェアアクセラレーションを無効にします。ソフトウェアレンダラがインストールされていない場合、GPUプロセスは開始されません。

範囲--disable-software-rasterizer 定義:

3Dソフトウェアラスタライザの使用を無効にする

おすすめ記事