Questions tagged [xvfb]

Xvfb; X virtual framebuffer, is an X11 server that can run graphic applications without a physical screen.

Xvfb is an X11 server that executes all the graphical operations in memory without showing any screen output.

It acts exactly like any other X widow server but with the difference that no output is shown so Xvfb does not require the computer it is running on to a screen.

It can be used for many things like remote controlling browsers in web testing, or background tasks running for creating screenshots of programs or web pages.

543 questions
1
vote
0 answers

How to debug with xvfb-run wrapped in the vscode?

I want to debug rl_methods.py with xvfb-run wrapped, just as input the command xvfb-run -a -s "-screen 0 640x480x24" python rl_methods.py in the terminal. How should I modify launch.json to achieve this.
Morden
  • 29
  • 4
1
vote
1 answer

Running PyQt Webkit script with Xvfb from a shell script

I am trying to run a Python script that involves PyQt Webkit on a headless server using xvfb. The following command works when I run it from the command line, but not from a bash script: # !/bin/bash xvfb-run -a -e /path/to/error.log python…
Jen
  • 155
  • 1
  • 3
  • 15
1
vote
2 answers

Execute xvfb-run as docker custom command

Is there any reason why xvfb-run will not be executed as docker overridden command? Having an image from this Dockerfile: FROM ubuntu:20.04 RUN apt-get update && apt-get install -y xvfb Built with: docker build -f Dockerfile.xvfb -t xvfb-test If…
Gonzalo Matheu
  • 8,984
  • 5
  • 35
  • 58
1
vote
0 answers

xvfb electron : Passthrough is not supported, GL is disabled, ANGLE is

Hello at all Stack Overflow community I come today to ask experts. I'm trying to make this browser https://github.com/minbrowser/min/ run from server without graphic card. I've opened a topic on github…
shorty mc
  • 11
  • 1
1
vote
1 answer

Swing UI tests on Github Actions

I have a few UI tests for my Java application made with AssertJ-Swing and JUnit 5. I encounter no problem running these tests locally but some of the tests fail once I push them to my continuous integration on Github Actions. The .yml looks like…
ClaudiaR
  • 3,108
  • 2
  • 13
  • 27
1
vote
0 answers

From where comes "QXcbConnection: XCB error:" message and how fix it?

In CI tests, using Xvfb, I get various message as: XcbConnection: XCB error: 8 (BadMatch), sequence: 1448, resource id: 2097187, major code: 42 (SetInputFocus), minor code: 0 I have not yet been really able to find out exactly what these messages…
servoz
  • 606
  • 9
  • 22
1
vote
1 answer

Running Java GUI tests on GitHub using xvfb

I've got some basic automated GUI tests for my Java desktop application that work when running on my Windows desktop. On GitHub they fail with java.awt.AWTError at X11GraphicsEnvironment.java:-2 I started from the default Java CI with Gradle…
Brad Mace
  • 27,194
  • 17
  • 102
  • 148
1
vote
1 answer

wine fixme wait_for_withdrawn_state window

I am running a Windows execuable (.exe) using wine, in a docker container and I am dumping the graphical interface using xvfb-run. The setup is working but with some fixmes and some errors which I am trying to understand what do they mean. The most…
Charalamm
  • 1,547
  • 1
  • 11
  • 27
1
vote
0 answers

How to capture screenshot when I am running selinium python (robotframework) headless mode using xvfb library in centos

I am running my python selinium script using robotframework. I configure xvfb library to run my script in headless mode. Script is running properly but whatever screenshot it is capturing is blank.
1
vote
0 answers

Deploying a Dockerized node app onto Heroku and using Xvfb with puppeteer, cannot launch browser

Puppeteer version: 5.5 Platform / OS version: Docker container deployed on Heroku Node.js version: latest I have set up puppeteer scripts that live in a docker container, so that they can be run with Xvfb, a simulated UI so that the scripts can be…
behindClouds
  • 81
  • 1
  • 9
1
vote
1 answer

Using Selenium with Chrome 87 and xvfb causing a crooked screen

I'm using Fedora 30 to automate some Selenium testing. I run Selenium on Chrome using xvfb (xorg-x11-server-Xvfb-1.20.5-4.fc30.x86_64). I recently updated Chrome from version 76 to 87, and now the screen is crooked during every video test. I have…
RickL
  • 11
  • 4
1
vote
0 answers

Running Headless Chrome Puppeteer and Xfvb in a Node.js Docker Container, trouble running image

Im trying to run a Puppeteer script in a docker container with Xfvb so that I can run headless: false on my production app, which is the only way my script will get the required output from the site I am scraping. Im having trouble getting the…
behindClouds
  • 81
  • 1
  • 9
1
vote
2 answers

Unable to send keypress to Xvfb display using XTestFakeKeyEvent

Using this short snippet of code I am able to capture events from the keyboard (/dev/input/event1) and print them properly. However, sending them to the Xvfb display using XTestFakeKeyEvent does not work even if XTestFakeKeyEvent returns…
Az ayd
  • 11
  • 1
1
vote
0 answers

Python 3 - selenium on xvfb-run- cannot process extension

I need to automate tasks to extract information from websites using the uBlock plugin with Chrome driver using the selenium module in Python 3. I am running my code remotely without a GUI on the remote machine - for that I am using xvfb-run to…
1
vote
0 answers

pynput via ssh want to monitor mouse movements

Raspberry Pi4, Rasbian Attached KB, Mouse, no monitor, ssh'ing to device over Wifi vi putty I'm brand new to Python, so struggling with some basics here. And I think I have some advanced (to me) things with X muddying the waters. If I could get…
shorton
  • 323
  • 3
  • 13