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
fi
If 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…
Best Answer
There appear to be two issues here.
GPU acceleration. You can resolve this by running
gnome-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:However, you may find one of the other options more acceptable.