Vivaldi Browser | Not Opening on Desktop

Greetings,

I recently setup an RPi 4B (4GB) to run a virtual desktop via NoMachine. After I accessed the virtual desktop via NoMachine, I installed Vivaldi Web Browser via gDebi Package Installer but am not able to open Vivaldi at all. When clicking on the icon in the applications menu, the mouse cursor spins for a split second but the application does not open.

Required Information

  • DietPi version | G_DIETPI_VERSION_CORE=8 G_DIETPI_VERSION_SUB=6 G_DIETPI_VERSION_RC=1 G_GITBRANCH='master' G_GITOWNER='MichaIng' G_LIVE_PATCH_STATUS[0]='applied' G_LIVE_PATCH_STATUS[1]='applied'
  • Distro version | bullseye 0
  • Kernel version | Linux RPi 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux
  • SBC model | RPi 4 Model B (aarch64)

Additional Information

  • Software Title | Vivaldi Web Browser
  • Was the software title installed freshly or updated/migrated? Fresh Install
  • Can this issue be replicated on a fresh installation of DietPi? Yes

Steps to Reproduce

  1. Visit Vivaldi Browser Homepage
  2. Download Vivaldi for ARM64 .deb
  3. Install gDebi Package Installer via Terminal apt-get install gdebi
  4. Install Vivaldi Web Browser via gDebi Package Installer
  5. Attempt to run Vivaldi using Desktop UI (Application Menu)

Expected Behaviour

  • Vivaldi Web Browser should Open

Actual Behaviour

  • Vivaldi Web Browser does not Open

Extra Details

  • Software Installed on System:
    • OpenSSH Client
    • ALSA
    • X.Org X Server
    • Git
    • Xfce
    • NoMachine
    • Tailscale
    • ProFTPD
    • Samba Server
    • DietPi-RAMlog
    • Dropbear
    • Chromium
    • Docker Compose
    • Docker
    • UnRAR
    • Xfce Power Manager
    • Portainer
    • VSCodium
    • DietPi-Dashboard

well challenge is to run it as root user. It’s basically not allowed by Vivaldi :slight_smile:

root@DietPi4:~# vivaldi
'Proprietary media' support is not installed. Attempting to fix this for the next restart.
[4834:4834:0722/234509.357190:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
root@DietPi4:~#

You would nee to set --no-sandbox option like this

vivaldi --no-sandbox

This did open the Vivaldi Browser, but I immediately received a message dialog stating that it can’t play certain HTML5 Videos because it’s missing some files. I suppose that’s not really a big deal.

Here is the output of the terminal command vivaldi --no-sandbox:

'Proprietary media' support is not installed. Attempting to fix this for the next restart.
[11927:11927:0722/170139.026961:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[11888:11888:0722/170145.992862:ERROR:image_generic.cc(77)] Unable to decode PNG for 1.
[12001:12001:0722/170147.344597:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[12082:12082:0722/170147.861680:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
[11989:12002:0722/170147.886257:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[11888:11888:0722/170153.916055:ERROR:CONSOLE(1)] "syncDetachedTabInformation: The message port closed before a response was received.", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/bundle.js (1)

maybe something you need to check on Vivaldi help pages. Not sure what is needed on vivaldi as I don’t use that browser. HTML5 Proprietary Media | Linux | Vivaldi Browser Help

Thanks!

So at this point, I just need to modify the shortcut properties and replace /usr/bin/vivaldi-stable %U with vivaldi --no-sandbox to ensure that it opens as root?

Simply try to add --no-sandbox to the end of the existing shortcut

It works! Thank you, thank you, thank you!