Giter Club home page Giter Club logo

chrome's People

Contributors

haniamin90 avatar kevinrigney avatar siomiz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

chrome's Issues

Keyboard layout

Using CRD mode
The keyboard mapping doesn't match my physical keyboard.
How can I switch ?

remote-debugging

Hey @siomiz ! thx for this work! hard to fine but very useful!

i have a quick question, i'm trying to enable chrome remote debugging and expose it but can't, it seems to activate fine but i can't expose it on docker, someone has already tried?

entrypoint.sh
--remote-debugging-address=0.0.0.0 --remote-debugging-port=9222

DOCKERFILE
EXPOSE 9222

EDIT :
1/ with --headless it works and is well exposed, the problem is therefore chrome side
2/ Link : https://groups.google.com/a/chromium.org/g/chromium-dev/c/CUIPzp5T5sw
3/ maybe linked to Failed to connect to the bus:
Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

LOGS :

headless remote work

[0429/095734.842855:ERROR:chrome_main_delegate.cc(700)] Web security may only be disabled if '--user-data-dir' is also specified with a non-default value.
[231:241:0429/095734.893601:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[231:254:0429/095734.926496:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[231:254:0429/095734.926541:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[250:250:0429/095734.930396:ERROR:gpu_init.cc(426)] Passthrough is not supported, GL is egl

DevTools listening on ws://127.0.0.1:9222/devtools/browser/22cbcfe9-83ff-4c0d-8ca0-d7592206296a
[231:254:0429/095734.938176:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[231:254:0429/095734.938219:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[231:287:0429/095734.984830:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[231:287:0429/095734.984888:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[231:287:0429/095734.984931:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[231:287:0429/095734.985016:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[231:287:0429/095734.985078:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

heedful remote failed

[0429/095755.263908:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[0429/095755.266330:WARNING:headless_browser_main_parts.cc(83)] Cannot create Pref Service with no user data dir.

DevTools listening on ws://0.0.0.0:9222/devtools/browser/c5d8dacb-635f-43bf-aef0-793e6637c2f6
[0429/095755.306546:ERROR:gpu_init.cc(426)] Passthrough is not supported, GL is egl

Slow response

Hi @siomiz

I am running is with Virtualbox and are seeing very poor performance, it takes several seconds every time I click on something.

Do you have a clue or a way to find out what causes it?

Thank you very much 👍

Allow vnc to connect from multiple terminals

Thank you for publishing useful Docker images.

The current x11vnc option does not allow VNC connections from multiple terminals.
It appears that this can be remedied by adding a -shared option, according to man page.

It is hoped that this option can be enabled, e.g. by an environment variable.

usepwブランチは必要ですか?

siomizさま。"Google 入力ツール"拡張機能を追加して、便利に使わせていただいています。
さて、usepwブランチの使い方についてwikiにも無かったためなんだろうかと思いましたが起動オプションがちょっと違うのですね。
しかしvncserverへのパスワード有り接続方法はmasterブランチのもので以下方法で接続できましたことを報告いたします。

  • パスワードの作成
# abcdという接続用パスワードを指定
echo abcd | vncpasswd -f > vncpasswd
# データーコンテナの作成
docker run -d \
 --name chrome-profile \
 siomiz/chrome

# chromeコンテナ起動
docker run -d \
 --volumes-from chrome-profile \
 -v $(pwd)/vncpasswd:/home/chrome/.vnc/passwd \
 -p 5900:5900 \
 siomiz/chrome

(ubuntu18.04版も楽しみにしております)

set password for x11vnc

How can I set a password for the VNC server?
In an older version there was this possibility.
How do I do it in the current one?

chrome crash frequently

HOME="/home/chrome" DISPLAY=":1" USER="chrome" /opt/google/chrome/chrome --window-size=1366,768 --er-data-dir --no-sandbox --window-position=0,0 --force-device-scale-factor=1

root@8d4f641fc6e8:/# HOME="/home/chrome" DISPLAY=":1" USER="chrome" /opt/google/chrome/chrome --window-size=1366,768 --er-data-dir --no-sandbox --window-position=0,0 --force-device-scale-factor=1
[3637:3646:0107/145457.385345:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[3637:3659:0107/145457.503917:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[3637:3659:0107/145457.521303:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[3637:3659:0107/145457.521375:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[3637:3693:0107/145457.571197:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[3637:3693:0107/145457.571339:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[3637:3693:0107/145457.571508:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[3637:3693:0107/145457.571615:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[3637:3693:0107/145457.571733:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[3657:3657:0107/145457.646177:ERROR:sandbox_linux.cc(372)] InitializeSandbox() called with multiple threads in process gpu-process.
[3681:3695:0107/145457.676337:ERROR:command_buffer_proxy_impl.cc(124)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.

[3776:3834:0107/145508.282866:ERROR:data_channel.cc(53)] Accepting maxRetransmits = -1 for backwards compatibility
[3776:3834:0107/145508.283130:ERROR:data_channel.cc(58)] Accepting maxRetransmitTime = -1 for backwards compatibility
[3776:3776:0107/145508.366167:ERROR:webrtc_sdp.cc(409)] Failed to parse: "a=msid: ". Reason: Missing track ID in msid attribute.
[3776:3776:0107/145508.366521:ERROR:webrtc_sdp.cc(409)] Failed to parse: "a=msid: ". Reason: Missing track ID in msid attribute.
[3776:3776:0107/145508.366732:ERROR:webrtc_sdp.cc(409)] Failed to parse: "a=msid: ". Reason: Missing track ID in msid attribute.
[3776:3776:0107/145508.366897:ERROR:webrtc_sdp.cc(409)] Failed to parse: "a=msid: ". Reason: Missing track ID in msid attribute.
[3776:3776:0107/145508.367019:ERROR:rtc_peer_connection_handler.cc(2353)] Failed to create native session description. Type: offer SDP: v=0
o=- 5658909671495319415 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0
a=msid-semantic: WMS
m=application 9 UDP/TLS/RTP/SAVPF 119
c=IN IP4 0.0.0.0
b=AS:30
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:pkKx
a=ice-pwd:W5sjZrmJz9yjiw0ohgoCsRCY
a=ice-options:trickle
a=fingerprint:sha-256 52:C8:B7:28:AA:67:C3:C2:15:9E:00:82:F7:62:55:11:74:F6:E4:4D:90:7D:7E:43:44:8C:99:A8:C6:02:44:3C
a=setup:actpass
a=mid:0
a=sendrecv
a=msid:
a=rtcp-mux
a=rtpmap:119 google-data/90000
a=ssrc:3243682946 cname:5st5RkjbYnohW953
a=ssrc:3243682946 msid:-
a=ssrc:3243682946 mslabel:-
a=ssrc:3243682946 label:

[3776:3776:0107/145508.367363:ERROR:rtc_peer_connection_handler.cc(1230)] Failed to parse SessionDescription. a=msid: Missing track ID in msid attribute.
[3661:3673:0107/145509.027477:ERROR:broker_posix.cc(46)] Received unexpected number of handles
[3661:3673:0107/145509.028858:ERROR:broker_posix.cc(46)] Received unexpected number of handles
[3661:3673:0107/145509.051626:ERROR:broker_posix.cc(46)] Received unexpected number of handles
[3661:3673:0107/145509.080568:ERROR:broker_posix.cc(46)] Received unexpected number of handles
[3776:3782:0107/145509.095061:ERROR:broker_posix.cc(46)] Received unexpected number of handles
[3776:3782:0107/145509.095300:FATAL:memory.cc(22)] Out of memory. size=786432
[3637:3649:0107/145509.100833:ERROR:crash_handler_host_linux.cc(445)] Failed to write crash dump for pid 3776
Cannot upload crash dump: failed to open
[3637:3649:0107/145509.107036:ERROR:crash_handler_host_linux.cc(445)] Failed to write crash dump for pid 3776
--2020-01-07 14:55:09-- https://clients2.google.com/cr/report
Resolving clients2.google.com (clients2.google.com)... 172.217.24.14, 2404:6800:4008:800::200e
Connecting to clients2.google.com (clients2.google.com)|172.217.24.14|:443... failed: Connection timed out.
Connecting to clients2.google.com (clients2.google.com)|2404:6800:4008:800::200e|:443... failed: Network is unreachable.

Unexpected crash report id length
Failed to get crash dump id.
Report Id:
Cannot upload crash dump: failed to open
--2020-01-07 14:55:19-- https://clients2.google.com/cr/report
Resolving clients2.google.com (clients2.google.com)... 172.217.160.110, 2404:6800:4008:800::200e
Connecting to clients2.google.com (clients2.google.com)|172.217.160.110|:443... failed: Connection timed out.
Connecting to clients2.google.com (clients2.google.com)|2404:6800:4008:800::200e|:443... failed: Network is unreachable.

Unexpected crash report id length
Failed to get crash dump id.
Report Id:

Updates broken due to PGP change

$ docker exec update

W: GPG error: http://dl.google.com/linux/chrome/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
E: The repository 'http://dl.google.com/linux/chrome/deb stable InRelease' is not signed.

Updates are not possible and the Version of chrome is 89.
Current Chrome is version 110.
Should be a lot of security fixes.

Will there be an update of the docker container that fixes the issue?

Chinese characters display improperly

In order to display Chinese, Japanese and/or Korean characters, you must install some font packages:

Chinese: fonts-arphic-ukai (Serif), fonts-arphic-uming (Sans serif)

Download folder

Hi,

Is there any way to specify the download folder chrome ?

Thanks.

Cannot connect via VNC

Hi. I have followed step 1 and then I get stuck at step 2.

I cannot connect with VNC Viewer to neither to the IPAddress 172.17.0.2 nor to 172.17.0.2:5900. Could you maybe be more specific how you would connect to the containers VNC?

Thanks in advance!

randr issue

There is a report of "latest" randr image not doing randr stuff right.
ref. sha256:cb573a6910d3527b52ee89c7b7aff806b1b7b2e1f223b1ff19a1e30dbc4460d9

extending horizontally the browser moves to the far left and creates a black space on the right; vertically can not see the end of the page

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.