WebBrowserWidget on Linux

Chris Shepherd
Sun, 31 Jul 2022 13:14:09 +0000
Platform & Builds

Hi, I’m trying to use the WebBrowserWidget plugin on Linux (Ubuntu Server) for Pixel Streaming and I can’t get it to work. There is just a spinner where the web content should be.

I see this error in the logs:

[2022.07.31-12.46.14:049][  0]LogCEFBrowser: CEF GPU acceleration enabled
LaunchProcess: failed to execvp:
/home/chris/project/8891ef92-2bc1-49e2-89af-4a9039cb2a05/Linux/Engine/Binaries/Linux/EpicWebHelper
LaunchProcess: failed to execvp:
/home/chris/project/8891ef92-2bc1-49e2-89af-4a9039cb2a05/Linux/Engine/Binaries/Linux/EpicWebHelper
[0731/124614.082736:ERROR:browser_main_loop.cc(1469)] Unable to open X display.

I’ve tried messing about with Xvfb and the DISPLAY environment variable based on things I’ve found whilst Googling but I’m unable to fix it. I’m able to get the game itself to render (via -RenderOffScreen and then using pixel streaming to see the visuals).

Has anyone got this to work? Is there some package I’m missing or setup that needs to be done?

2 posts - 2 participants