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
4
votes
2 answers

xvfb failed to start in ubuntu

I trying to get a screen shot by using the following two tools (something relative to qt, webkit and etc. maybe) https://github.com/adamn/python-webkit2png http://cutycapt.sourceforge.net/ when run it on server using xvfb-run following the guide…
Wei Lin
  • 749
  • 2
  • 6
  • 9
4
votes
4 answers

Selenium Firefox Webdriver in Java (run parameters)

I've developed a testing unit with Selenium 2 in Java that uses Firefox engine. The deploy machine has no display so I'm using Xvfb to create it. Unfortunatly that forces me to start java using DISPLAY=:0 java -jar xxx.jar. I've searched selenium…
Ciro
  • 662
  • 7
  • 19
3
votes
1 answer

Cutycapt, wkhtmltopdf, wkhtmltoimage, phantomjs not displaying characters properly

The only characters they are displaying are the English ones. The layout of the printed page is as it should be, but the only thing that is wrong is the characters in any script other than english (roman) being replaced with boxes. I have already…
Vish
  • 4,508
  • 10
  • 42
  • 74
3
votes
0 answers

How to get multiple xvfb GraphicsDevice from java

I want to get a lot of screenshots from java in headless server. To do this, my plan is below. Use Xvfb for virtual screen. To reduce tasks in queue fast, open multiple xvfb. To get screenshots from java, use java.awt.Robot#createScreenCapture. (A…
Takahiro Hozumi
  • 701
  • 5
  • 11
3
votes
2 answers

SetEnvironmentProperty to ChromeDriver programmatically

I am running tests with SE2 and firefoxDriver in a headless enviroment(Xvfb). With FirefoxDriver I can set the DISPLAY environment property very easily: FirefoxBinary firefox = new FirefoxBinary(); …
ArisRe82
  • 535
  • 1
  • 7
  • 16
3
votes
1 answer

FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing

I tried to run Xvfb in my Centos 5.7 machine to get thumbnails of websites. I follow this Xvfb + Firefox site and install Xvfb, firefox on my Gnome Centos 5.7. No problem at all for installation, yet when I try to run DISPLAY=:1 firefox-remote…
Patrick Wang
  • 51
  • 2
  • 4
3
votes
0 answers

ScreenRecording a headless browser using xvfb with ffmpeg or jmf jar(java) shows distorted video in container, if the resolution greaterthan 1024x768

I am getting a proper video output, if i used to record a screen resolution for about 1024x768(max) or lesser. but whenever i used to increase the resolution like "1600x900 or 1920x1080 or greater than 1024x768 (approx.)", i am getting distorted…
3
votes
3 answers

Capybara-webkit, rspec integration specs, and xvfb: webkit_server: Fatal IO error: client killed

I'm trying to get a suite of integration specs running on a ubuntu server CI box using the headless gem, xvfb, and capybara-webkit for headless testing. Everything works beautifully on a local dev box, but things get interesting once moved over to…
Chelsea
  • 6,751
  • 5
  • 29
  • 31
3
votes
2 answers

xvfb - where do I download the xvfb standalone package?

I want to use xvfb to automate the process to create thumbnails images on urls from my site. It is not clear where I should download a standalone xvfb application. Where do I download the package? How do I build the package? Are there any other…
Ken
  • 2,849
  • 8
  • 24
  • 23
3
votes
1 answer

Subprocess is not invoking my command(or is doing it wrong)

Overview: I have an application that sometimes must make something with celery- and if it is simple task such as count something- everything is ok. I' ve got one task which must convert existing file to another file using MS Windows program. So- I…
mrbox
  • 814
  • 1
  • 6
  • 18
3
votes
1 answer

Starting google-chrome via Selenium on headless debian system

I'm trying to start the google-chrome browser in disabled web security mode. The selenium log says: 15:36:33.526 INFO - Command request: getNewBrowserSession[*googlechrome, http://www.myurl.de, , commandLineFlags=--disable-web-security] on session…
3
votes
2 answers

wkhtmltopdf extremely slow on Debian without X-server

Converting a pretty small HTML-file to PDF takes 2 seconds for my test enviroment (Windows 7). On the production web server the same file (Debian) needs 193 seconds. The web server is being run with a managed hosting solution. They installed…
Vilhelm
  • 148
  • 1
  • 7
3
votes
1 answer

Does using Xvfb to run OpenGL effects version?

I'm trying to run OpenGL on headless ubuntu server. GPU / Driver : NVIDIA Geforce GTX 1080Ti / version 418.67 Using freeglut (installed by running apt install freeglut3-dev) Using Xvfb (Since it is a headless server.) When I run glxinfo | grep…
tink
  • 39
  • 1
  • 6
3
votes
1 answer

what's the max resolution that I can achieve using xvfb?

xvfb :1 -screen 0 1600x1200x24 Using this command I can get a 1600x1200 screen. But what keeps me from setting it to xvfb :1 -screen 0 160000x120000x32? Are there any limitations on the screen size that I can use? Is it limited by amount of CPU and…
Vikram Tiwari
  • 3,615
  • 1
  • 29
  • 39
3
votes
0 answers

Using virtual frame buffer fails when spawning child processes

I'm trying to use Google Compute Engine for a machine learning project using python game that requires a GUI. Up to now, I've been using XVFB to make up for the fact that there's no GUI. I started it up using the commands Xvfb :99 & export…
master565
  • 805
  • 1
  • 11
  • 27