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

XVFB and Selenium on EC2 - Unable to view Chrome UI on VNC Viewer

My Selenium headless tests are triggered from Jenkins server and run in EC2-Ubuntu. I want to view the test live on Chrome so I installed Xvfb plugin on Jenkins. On EC2 I installed Xvfb. When I start executing the build, my test starts execution …
Afsal
  • 404
  • 3
  • 7
  • 24
1
vote
2 answers

selenium grid 2 to achieve continous integration headlessly using xvfb or xvnc?

So using grid 2, is there a configuration file to start up xvfb or xvnc each time selenium RC begins. Hub and Selenium RC is already installed on separate linux boxes. In addition, is there a way to implement bidirectional communicate between the…
KJW
  • 15,035
  • 47
  • 137
  • 243
1
vote
1 answer

Xvfb + ffmpeg recording producing only red rectangles

I'm trying to record a process I've automated with xdotools. It appears to be working correctly, but all I see are solid red rectangles. The rectangles look like they're the correct size/position for the windows that I expect xdotools to navigate…
Jazzepi
  • 5,259
  • 11
  • 55
  • 81
1
vote
0 answers

Plotly orca xvfb failed to run (For some reason plotly.py was unable to communicate)

I know this is a question that have been asked before, But non of the previous solutions worked. I'm trying to save a plotly image to a static file. The following error returns in multiple configurations and hacks I tried (the attempts are…
DsCpp
  • 2,259
  • 3
  • 18
  • 46
1
vote
0 answers

WebDriverException at / Service /usr/bin/chromium-browser unexpectedly exited. Status code was: 127

I'm trying to run my crawler using selenium, webdriver and xvfb on pythonanywhere server (if it can help). I also tried to use pyvirtualdisplay instead of xvfb to create a browser window for webdriver. But I keep receiving error "Message: Service…
1
vote
0 answers

How to headed chrome/chromium with Xvfb on lambda running puppeteer?

I need to get "headfull" chrome / chromium running with XvFB on Lambda running puppeteer as i am using extension for testing. I have taken the below from the Nightmare lambda pack which installs Xvfb and puts it into the tmp folder and has a node…
mosorio
  • 11
  • 1
1
vote
0 answers

Got killed too early while running selenium Firefox /usr/bin/xvfb-run: line 181: 9173 Killed DISPLAY=:$SERVERNUM XAUTHORITY=$AUTHFILE "$@" 2>&1

I'm running selenium headless Firefox browser using xvfb-run on Centos. The problem is that the process gets killed too early while tests are being run. The process is killed unexpectedly at a random test step. I have run other headless browser…
1
vote
1 answer

Xvfb GTK3 transparency

I have a GTK a application which creates "transparent" windows using the following snippet of code GdkScreen* screen = gtk_window_get_screen(window); GdkVisual* screen_visual =…
Liam Martens
  • 731
  • 7
  • 22
1
vote
0 answers

Seeing Blank video when using Xvfb with ffmpeg in headless mode

Seeing blank video while running protractor tests in headless mode using Xvfb, ffmpeg, protractor video reporter I am using protractor framework for running automation tests. I am using protractor video recorder tool to record video on headless…
sxg
  • 43
  • 4
1
vote
1 answer

How to disable any service windows inside Firefox?

I'm running Firefox under xvfb and taking webpages screenshots from it. Is there any simple and robust way to disable any possible requests or windows that can spoil my screenshot? Like update request, security question and so on.
skaurus
  • 1,581
  • 17
  • 27
1
vote
1 answer

Using xrdp to tunnel to an existing X server

I'm working with an existing tool that requires a RDP connection to a Ubuntu server. The application runs in a xvfb display server (using the command xvfb-run) on a specific DISPLAY on the server. I've installed xrdp to open a connection to this…
Sim Hm
  • 97
  • 3
  • 13
1
vote
1 answer

Can Xvfb be enabled in Jenkins declarative pipeline in order to execute Selenium headless tests

Trying to enable Xvfb in Jenkins declarative pipeline to be able to run Selenium headless tests from the pipeline definition. Have been able to run Selenium tests in a standard Jenkins (Linux) job. That's fine, i.e. Xvfb can be enabled under build…
1
vote
0 answers

How to run headless browser where web page(browser) requires keyboard intervention

I am trying to run automation script written using python, selenium and pyrobot on google chrome. The browser requires keyboard intervention and there is no way I can avoid it. I have used pyrobot class for listening keystrokes. I want to run…
sunil shrestha
  • 27
  • 3
  • 11
1
vote
1 answer

Jenkins Xvfb libcrypto issue

I have a Jenkins Job(for Selenium headless testing). I have installed Xvfb plugin in Jenkins. But when I run the job it gives following error /var/jenkins_home/Xvfb: error while loading shared libraries: libcrypto.so.10: cannot open shared object…
Dhruv Pandey
  • 482
  • 6
  • 18
1
vote
0 answers

Cant find Angular error when running headless Chrome Protractor tests on Linux CentOS trying with both xvfb and not

Bit of a long winded one.... I have a Jenkins instance running on a Linux CentOS box. I have a Jenkins job on there which should run Protractor tests using Chrome headless, I have tried a number of configurations including using Xvfb and not using…
Simon N
  • 337
  • 2
  • 13