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
0
votes
1 answer

Docker: running application with a remote X-server

I currently run my application in a container together with Xvfb and X11VNC. This all works nicely and I can see the GUI via any VNC client. However, I would like to run Xvfb and X11VNC in container A, and my application in container B. Container A…
bergtwvd
  • 165
  • 1
  • 9
0
votes
1 answer

Selenium + Xvfb concurrency issues

test.py #!/usr/bin/env python2 import os from pyvirtualdisplay import Display from selenium import webdriver import sys display = Display(visible=0, size=(800, 600)) display.start() try: capabilities =…
Paul Draper
  • 78,542
  • 46
  • 206
  • 285
0
votes
1 answer

import command is not working in imagemagick

I Have installed firefox and Xvfb on remote linux. and i am running the Xvfb and firefox this way, Xvfb :99 DISPLAY=:99 firefox http://www.google.com & DISPLAY=:99 import -window root googledotcom.png but the last command is not working nothing is…
Abhishek Tripathi
  • 1,211
  • 2
  • 15
  • 30
0
votes
1 answer

How to view Chrome settings on XVFB?

I'm using Chrome in a Docker container (published by SeleniumHQ) to run automated tests in the Cloud. This runs a minimal display environment on XVFB that you can VNC into to see results. Now we're using this within a Corporate firewall - and so…
hawkeye
  • 34,745
  • 30
  • 150
  • 304
0
votes
1 answer

Xvfb has just begun failing without code changes

I have server that runs gunicorn and python programs. Another server sends a url and the server in question scrapes the url and sends some information back. I have selenium running a firefox tab in the background using Xvfb. This is how I have been…
Rorschach
  • 3,684
  • 7
  • 33
  • 77
0
votes
1 answer

Can I use xfvbwrapper with selenium to simulate a headless chromium

On Ubuntu 14.04, I need to start a headless instance of chromium and navigate to a page (no HTML, merely Javascript) that waits messages from a peer (a Websocket server relays the messages). On message reception of a relayed message from the peer,…
zabumba
  • 12,172
  • 16
  • 72
  • 129
0
votes
1 answer

pyvirtualdisplay ImportError: cannot import name Display

My Ubuntu $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty My Xvfb $ apt --installed list | grep xvfb xvfb/trusty-updates,trusty-security,now…
zabumba
  • 12,172
  • 16
  • 72
  • 129
0
votes
0 answers

Can manipulate multiple windows in Xvfb simultaneously

I'm using Xvfb + Selenium standalone server to do some webpage testing. I have multiple remote web drivers(threads) to send request to selenium server, but looks like if multiple testings run in parallel, the performance is much slower than that of…
Xiaoming
  • 599
  • 2
  • 8
  • 17
0
votes
1 answer

performance cost when selenium code and selenium jar are on different networks

Original title: "performance improvement in selenium server standalone" We are switching our Ruby-driven automated test grids from a node/hub configuration on our local infrastructure to a standalone configuration in AWS (2.44). The node/hub setup…
emery
  • 8,603
  • 10
  • 44
  • 51
0
votes
1 answer

ElementNotVisibleException only in virtual display

I have a script that needs to interact with a webpage via selenium. I need to use some kind of virtual display to keep the browser from showing up. The script as a whole works great until I introduce Xvfb into the mix. When I do that I get an…
Sheena
  • 15,590
  • 14
  • 75
  • 113
0
votes
1 answer

Configure Vagrant with Xvfb Error

I am configuring a vagrant machine with ubuntu 14.04, for doing some tests with selenium and protractor. I want to run all tests in that machine without having a graphic environment. So i only need a plain output by a terminal. I am following next…
0
votes
1 answer

Xvfb command in docker supervisor conf not working

I have a Docker image based on Ubuntu that runs a supervisor script as the CMD at the end of the Dockerfile. This successfully runs uwsgi and nginx in the container on start up. However, the following appended at the end of the supervisor-app.conf…
Apollo Marquis
  • 181
  • 2
  • 8
0
votes
0 answers

php + xvfb + flashplayer

I'm using php to launch xvfb with flashplayer: From terminal it successfully executes. But from browser there is no reaction. Other…
0
votes
0 answers

Java selenium error in unix box

I am trying to run selenium script in unix box . I have installed firefox version 24.7.0 and xvfb . While running the code , I am getting below error . Cant figure out the error , please help. # # A fatal error has been detected by the Java…
dan
  • 73
  • 1
  • 11
0
votes
1 answer

Geneos selenium testing

We have developed selenium script for testing of frames in our website . We will be writing the healthcheck of frames in a txt file and displaying the health check o/p in geneos console . The selenium script will be deployed in Prod unix box and…
dan
  • 73
  • 1
  • 11