Linux上のブラウザでのプロキシの設定方法



●Braveブラウザ

 参考URL:Configure Proxy for Chromium and Google Chrome From Command Line on Linux

 Linuxのシステムの設定でプロキシを設定済みであっても、プロキシを使用しない(ダイレクト)形で接続していまいます。
 ターミナルで下記のように実行します。
$ brave-browser-stable --proxy-server="http://proxy-ip:proxy-port" &

# エラーを出力させたくない場合
$ brave-browser-stable --proxy-server="http://proxy-ip:proxy-port" > /dev/null 2>&1 &
 ターミナル上にエラーが出力されますが、問題なく利用できます。

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2566630:2566630:1228/082113.297245:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2566707:2566707:1228/082113.969101:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2566787:2566787:1228/082114.346169:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2566895:2566895:1228/082114.478017:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2566677:7:1228/082114.684323:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[2566572:2566572:1228/082115.886985:ERROR:sharing_service.cc(222)] Device registration failed with fatal error
[2566572:2566662:1228/082117.439105:ERROR:cert_issuer_source_aia.cc(134)] AiaRequest::OnFetchCompleted got error -301
[2566572:2566662:1228/082117.439144:ERROR:cert_verify_proc_builtin.cc(670)] CertVerifyProcBuiltin for vmware2.bigbang.dyndns.org failed:
----- Certificate i=0 (emailAddress=vmca@vmware.com,CN=1.0.0.98,OU=VMware Engineering,O=VMware,L=Palo Alto,ST=California,C=US) -----
ERROR: No matching issuer found


[2566632:2566639:1228/082117.440099:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082117.528729:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082117.528889:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082117.563559:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082117.564668:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082117.664025:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.662969:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.676258:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.676800:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.678197:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.679071:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.688284:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.689425:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.689533:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.691634:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.694949:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.698237:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.701972:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.704381:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.707293:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.710514:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.713267:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.716939:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.724198:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.727776:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.732756:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202
[2566632:2566639:1228/082119.736609:ERROR:ssl_client_socket_impl.cc(982)] handshake failed; returned -1, SSL error code 1, net_error -202


●Firefox

 Linuxのシステムの設定でプロキシを設定済みであっても、プロキシを使用しない(ダイレクト)形で接続していまいます。
 ターミナルで下記のように実行します。
$ firefox --proxy-server="http://proxy-ip:proxy-port" &

# エラーを出力させたくない場合
$ firefox --proxy-server="http://proxy-ip:proxy-port" > /dev/null 2>&1 &


●Google Chrome

 Linuxのシステムの設定でプロキシを設定済みであっても、プロキシを使用しない(ダイレクト)形で接続していまいます。
 ターミナルで下記のように実行するか、拡張機能の「プロキシーヘルパー」を利用します。
$ google-chrome-stable  --proxy-server="http://proxy-ip:proxy-port" &

# エラーを出力させたくない場合
$ google-chrome-stable --proxy-server="http://proxy-ip:proxy-port" > /dev/null 2>&1 &
 ターミナル上にエラーが出力されますが、問題なく利用できます。

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2582024:2582024:1228/084837.069852:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2582059:2582059:1228/084837.219218:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2582103:2582103:1228/084837.436746:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2582216:2582216:1228/084837.664077:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2582128:10:1228/084837.731399:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[2582085:8:1228/084837.746448:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[2582246:2582246:1228/084837.789670:ERROR:gl_utils.cc(319)] [.WebGL-0x3294003aa300]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[2582246:2582246:1228/084837.831911:ERROR:gl_utils.cc(319)] [.WebGL-0x3294003aa300]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[2582246:2582246:1228/084837.847057:ERROR:gl_utils.cc(319)] [.WebGL-0x3294003aa300]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[2581976:2582011:1228/084839.316422:ERROR:connection_factory_impl.cc(427)] Failed to connect to MCS endpoint with error -111


●Microsoft Edge

 Linuxのシステムの設定でプロキシを設定済みであっても、プロキシを使用しない(ダイレクト)形で接続していまいます。
 ターミナルで下記のように実行します。
$ microsoft-edge-stable --proxy-server="http://proxy-ip:proxy-port" &

# エラーを出力させたくない場合
$ microsoft-edge-stable --proxy-server="http://proxy-ip:proxy-port" > /dev/null 2>&1 &
 ターミナル上にエラーが出力されますが、問題なく利用できます。

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2576452:2576452:1228/084005.428626:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
[2576401:2576401:1228/084005.647559:ERROR:assistance_home_client.cc(32)] File path /home/<ユーザー>/.config/microsoft-edge/Default
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2576506:2576506:1228/084006.134166:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2576523:2576523:1228/084006.685821:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2576531:2576531:1228/084006.817987:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2576486:8:1228/084006.965427:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[2576401:2576401:1228/084011.006816:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not implemented