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

Xvfb image buffering provokes java.awt.Headless exception

My java webapp hosted within a tomcat 7.0.39 needs xvbf to write into images and output them to the client. When I open the servlet which handles the image writing I get the following error message: 15.05.2013 21:24:56…
nuxxxx
  • 223
  • 2
  • 13
0
votes
0 answers

tomcat crashes when buffered image is created via xvfb

When my webapp servlet calls xvfb to create a buffered image this error arises and tomcat just crashes. /usr/lib/jvm/java-1.7.0-openjdk/bin/java: symbol lookup error: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9/jre/lib/i386/xawt/libmawt.so: undefined…
nuxxxx
  • 223
  • 2
  • 13
0
votes
1 answer

Continuous Integration - Running parallel tests suites that require xvfb

I'm having issues with parallel builds running that require an xvfb server. I was previously using the headless ruby gem, but had sporadic failures when certain test suites that both require capybara-webkit and an xvfb server are running in…
MAckerman
  • 408
  • 1
  • 6
  • 15
0
votes
1 answer

Maven and FEST-Swing Tests

I have some FEST-Swing test and I would like to run it with Maven under linux. I tried using xvfb like this: xvfb-run mvn -Dtest=e2e.MateriePrimeE2eTest test But I have this error: Running e2e.MateriePrimeE2eTest Jan 18, 2013 10:26:58 AM…
devmao
  • 670
  • 8
  • 18
0
votes
1 answer

xvfb and wkhtmltoimage always grabs images with 1024 width

Im using wkhtmltoimage to grab an screenshot from a webserver and It always gets 1024px png images. What could I be doing wrong? /usr/bin/xvfb-run.sh --server-args="-screen 0, 1280x1024x32 -ac +extension GLX +render" wkhtmltoimage --use-xserver -f…
farrusete
  • 435
  • 9
  • 24
0
votes
2 answers

multiple headless firefox instances using watir-webdriver within rails application

I have a simple rails application written for scraping a web page. The controller calls the scraper utility in which I am using firefox in headless mode using watir-webdriver. The application works and returns the results properly. The way I would…
Sridhar S
  • 73
  • 4
0
votes
1 answer

Rendering QWebView with flash

I'm trying to get a screen capture of a web page with a flash object in it. The page I'm trying to render is http://www.swellinfo.com/surf-forecast/san-jose-guatemala.html, specifically the swell flash object. I'm loading the page in a QWebView in…
nathancahill
  • 10,452
  • 9
  • 51
  • 91
0
votes
1 answer

Xvfb doesn't start

I'm trying to start xvfb on CentOS6. But soon after I type a command to start xvfb, I faced following error. (EE) AIGLX error: swrast exports no DRI extension (EE) GLX: could not load software renderer The command I typed is here: Xvfb :1 -screen 0…
Chappy 003
  • 444
  • 1
  • 5
  • 15
-1
votes
1 answer

How to add keyboard layouts to xvfb?

What's the config file to add keyboard layouts to xvfb (for example fr)? $ xvfb-run setxkbmap -print -verbose 10 Setting verbose level to 10 locale is C Trying to load rules file ./rules/evdev... Trying to load rules file…
Velkan
  • 7,067
  • 6
  • 43
  • 87
-1
votes
1 answer

How do I disable the input cursor blink in a new X session?

I am running a some browser regression in a new X session using 'Xvfb' and 'x11vnc'. My window manager is Xfce 4.16 and the OS is Fedora 35. To launch these I am running the following; `which Xfvb` :1 -screen 0 1920x1080x24 xfwm4 --replace x11vnc…
nkcs
  • 1
  • 2
-1
votes
1 answer

Feeding content of an X-Window to a virtual camera

I want to feed a virtual webcam device from an application window (under Linux/Xorg). I have so far just maximised the window and then used ffmpeg to grab the whole screen like this: ffmpeg \ -f x11grab -framerate 15 -video_size 1280x1024 -i…
Ingo
  • 1,103
  • 8
  • 17
-1
votes
1 answer

RemoteWebDriver causing stackoverflow error when calling switchTo() method

Selenium Version: 3.7.1 I am automating a java swing application and making use of remote web driver as follows: DesiredCapabilities dc = new DesiredCapabilities(); dc.setBrowserName("java"); dc.setVersion("…
Larry
  • 226
  • 1
  • 2
  • 17
-1
votes
1 answer

Getting too many result on python browser

Friends i want to extract live scores on espncricinfo i try with dryscrape :- Import dryscrape as d d.start_xvfb() br = d.Session() br.visit('http://www.espncricinfo.com/ci/engine/match/index.html?view=live') for x in br.xpath('//*[@class =…
Harry1992
  • 453
  • 1
  • 5
  • 12
-1
votes
1 answer

Unable to install Xvfb on Suse Linux

I am trying to run the selenium-webdriver using the python library on Suse 11.4 (64-bit) For it to run headlessly, it requires another python package "pyvirtualdisplay" to run. I have been able to install both perfectly. The problem now is that…
iceman
  • 41
  • 6
-1
votes
1 answer

python: monitor hanging script?

I have a python script that starts Xvfb display and runs selenium tests. sometimes the script seems to hang for no apparent reason and I need to stop it and start it again. This happens when the tests have been running for several hours. How can I…
user299709
  • 4,922
  • 10
  • 56
  • 88
1 2 3
36
37