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

how to add rhel-beta repo on centos 6.2?

I want to install Xvfb on CentOS 6.2 and I added the repo refered in https://serverfault.com/questions/344793/install-xvfb-via-yum-yum-repository-for-xvfb/361304#361304. I found…
magicyang
  • 53
  • 6
0
votes
1 answer

Forwarding display in batch context

I have Linux compute server A on which I would like to execute an application, say HV (I use this HV application to render a CAE model and capture the image). Eventhough I run this HV in batch mode, from putty terminal, it requires X windows. That…
Karthik
  • 33
  • 4
0
votes
1 answer

Running Selenium Webdriver headlessly using Cron

I am trying to execute my Selenium Scripts through cron headlessly using Xvfb. The code of shell script looks something like this export PATH=$PATH Xvfb :10 -ac & gnome-terminal -e export DISPLAY=:10 & gnome-terminal -e firefox & gnome-terminal -e…
Saheb
  • 1,666
  • 3
  • 18
  • 24
0
votes
1 answer

Configuration of selenium webdriver with xorg-x11-server-Xvfb

We have developed selenium webdriver script with junit+java using eclipse on window 7. All the scripts are working as expected now we are using this script for load testing using Jmeter. However, while running script system open multiple browser…
Karim Narsindani
  • 434
  • 3
  • 14
  • 38
0
votes
2 answers

How to run the selenium webdriver test case project(done in java) into Linux

i have done a testcase on my windows system, now i need to run the same test case file into Ubuntu Linux server(without desktop). From this Link tutorials, i supposed to install xvfb. Which i installed & tested. Its running successfully in my…
Dan
  • 2,086
  • 11
  • 71
  • 137
0
votes
1 answer

Linux: read xwd output with Java?

I would like to execute a program in the Xvfb virtual frame buffer and then take a look at it within runtime. From wikipedia I know it is possible to get a screenshot-file like this: Xvfb :1 & xv -display :1 & xwd -display :1 -root -out…
Theo H.
  • 141
  • 1
  • 3
  • 8
0
votes
1 answer

what's the relationship between selenium2 and vncserver or xvfb

I have got the solutions which is using xvfb to specified a display to selenium, when I test my web program. Envviroments: CentOS6, Selenium2, robotframwork, Firefox. And My steps are: startup vncserver specified displaynumber. vncserver :6 …
Nick Dong
  • 3,638
  • 8
  • 47
  • 84
0
votes
1 answer

Running Flash Player on Headless Linux Server

Warning: I'm not that good at using Linux, so be easy on me. I'm running a CentOS 6 x64 Server. I have a swf designed to generate complex images on command. I did a lot of searching, and the best answer I could find is install Xvfb and Flash Player…
Air In
  • 945
  • 1
  • 6
  • 11
0
votes
0 answers

X11: Start desktop manager inside daemon

What I'm trying to do: Make screenshots of desktop and running program (Firefox Webdriver with Selenium, if it's important) in daemon (celeryd) in auto mode. And I need desktop manager to be running, this is mandatory requirement. Currently I'm…
0
votes
1 answer

Testing Oracle OutsideIn ImageExport on Solaris with Xvfb

Has anyone had success testing Oracle Outside in on solaris using Xvfb? The error messages are a pecious few and I'm not sure what configuration is the problem. Process Edit /usr/openwin/server/etc/OWconfig class="XDISPLAY"…
Peter Kahn
  • 12,364
  • 20
  • 77
  • 135
0
votes
0 answers

Xvfb memory grows unlimited for SWT image generation

I make an introduction of the scenario: A web service (SpringMVC) through an action with parameters dynamically generate images with text and returns the response to the client. This service processes about 500 images per minute. The images are…
0
votes
1 answer

Java/Webdriver - opening a Firefox instance - firefoxbinary and setenvironmentproperty

Im trying to launch a Firefox instance with webdriver, but I want to instruct it to use certain xvfb display. I think something is wrong with my code, though FirefoxBinary ffox = new FirefoxBinary(); ffox.setEnvironmentProperty("DISPLAY",…
Kaloyan Roussev
  • 14,515
  • 21
  • 98
  • 180
0
votes
1 answer

Including xvfb plugin in Maven Pom.xml, nod error

Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:selenium-maven-plugin:2.3:xvfb (execution: xvfb, phase: test-compile) I tried this: Plugin execution not covered by lifecycle configuration maven error but it didnt help…
Kaloyan Roussev
  • 14,515
  • 21
  • 98
  • 180
0
votes
2 answers

Xvfb server does not work under different user

I'm trying to run an Xvfb server on an Amazon EC2 instance and then have a selenium Firefox driver use the virtual display to save screenshots of websites. I was formerly using PhantomJS, but it can not load all of the types of pages that I need it…
zalpha314
  • 1,444
  • 4
  • 19
  • 34
0
votes
1 answer

sh.py not executing xvfb-run

I'm trying to execute xvfb-run via py.sh but I'm getting sh.ErrorReturnCode_1 and no resulting pdf being created. I created a small html file: $ echo '

Hello, World.

' > test.html And I then ran xvfb_run via sh.py in Python: $ python Python…
Mark L
  • 12,405
  • 4
  • 28
  • 41