Nothing happen when I click icon of Chrome under VNC, tried both GNOME and XFCE. No error log in VNC. I am using TigerVNC, Here is my ~/.vnc/xstartup
#!/bin/sh
MODE="GNOME"
unset DBUS_SESSION_BUS_ADDRESS
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
if [ -e "$HOME/.Xresources" ]
then xrdb "$HOME/.Xresources"
fi
if [ "GNOME" = "$MODE" ]
then if which gnome-session > /dev/null then gnome-session --session=ubuntu & else MODE="" fi
fiIf I enter google-chrome under terminal, I will get error:
[7027:7027:0622/011058.037849: ERROR:sandbox_linux.cc(378)] InitializeSandbox() called with multiple threads in process gpu-process.I can open other programs like Firefox under VNC without issue.
Update 2018-06-24:
If I delete ~/.config/google-chrome, I can open Chrome under VNC, but it took about 60 seconds to show up...
Once I logged in my Google account and close Chrome, I can not re-open it again...
3 Answers
There appear to be two issues here.
GPU acceleration. You can resolve this by running
google-chrome --disable-gpugnome-keyring-daemon. This is a fairly common problem with a number of workarounds. The most acceptable to me is to execute this before launching chrome:gnome-keyring-daemon --replace --foreground --components=secrets,ssh,pcks11
However, you may find one of the other options more acceptable.
You need to:
- kill all chrome processes
- kill the gnome-keyring-daemon
- start chrome in VNC.
That worked for me in Fedora 28 with Chrome Version 73.0.3683.103 (Official Build) (64-bit)
I had the EXACT same issue and error message. I started using VNC :11 and on the main displkay doing vnc to 127.0.0.1:11 so that I can jump to another desktop on get to my desktop via chromebook and back without loosing my work.
Yes I could just vino but VNC is easier and I don't have it autostart so it's easier to secure (manually turn it on only when needed then off when I don't, etc) and easier to start on a mate desktop as I am NOT a gnome 3 fan at all! If I want to see fancy graphics/animations I'll play *craft from blizzard or go watch cartoons. :-D
it is fixed by sudo apt install gnome-keyring
after starting chrome again .. wait somewhat longer than usual.
Et wholla!
2