Questions tagged [xvfb]

Xvfb stands for X virtual frame buffer, and implements the X11 display protocol without actually showing any screen output.

Xvfb stands for X virtual frame buffer, and implements the X11 display protocol without actually showing any screen output, as all operations are performed in memory. The system on which it is running doesn't need to have a screen or an input device of any sort.

39 questions
11
votes
5 answers

Proper way to start xvfb on startup on centos?

I'm following this tutorial, and I want to know the equivalent centos-version of this ubuntu-specific step: You may receive a few warnings regarding fonts and such, but it’ll still work despite these. If you want the framebuffer to start…
Stefan Kendall
  • 746
  • 2
  • 9
  • 22
10
votes
1 answer

Xvfb with -nocursor shows cursor anyway

I'm using xvfb-run to execute Xvfb: xvfb-run \ --server-num 44 \ -s "-nocursor -ac -screen 0 1280x720x24" \ chromium-browser \ --temp-profile \ --window-size=1280,720 \ --disable-gpu \ --window-position=0,0 \ …
Brad
  • 5,686
  • 8
  • 52
  • 83
8
votes
5 answers

Got black screen when recording screen from xvfb by ffmpeg x11grab device

I'm trying to record video from a firefox run by xvfb-run but it always output nothing in the video file except black screen. Here's what I did: start a firefox, open google.com: $ xvfb-run firefox https://google.com Then it will use the default…
shawnzhu
  • 338
  • 1
  • 4
  • 9
6
votes
1 answer

xvfb-run on Mac OSX

I'm trying to run SlimerJS in headless mode so that it does not open a visible browser window on Mac OSX. According to the SlimerJS docs, this can be done using xvfb which is "available on Linux and MacOS", using the command: >> xvfb-run…
Adi Shavit
  • 477
  • 3
  • 6
  • 17
5
votes
1 answer

AWS EC2 Linux headless Firefox issue: Xvfb: undefined symbol: pixman_glyph_cache_create

I have been using AWS EC2 Linux for a while for a headless Firefox/Selenium task. I built it using the instructions from http://itsallabtamil.blogspot.com/2013/02/setting-up-chrome-firefox-ec2-selenium-java.html which in turn uses this script to get…
ozhogin
  • 53
  • 1
  • 4
5
votes
1 answer

How can I run lightdm on Xvfb on a Raspberry Pi?

I've got a Raspberry Pi and I'm using it as a headless server. But I want to run X on it. It comes with lightdm, and if you run it using the included HDMI or video out it works, and I can use that and x11vnc to that, but without a monitor attached,…
Stu
  • 1,216
  • 5
  • 15
  • 27
4
votes
4 answers

Redirecting X output

I have a small program that checks some elements of a web service. The program shows graphics output and displays commmand-line results as well. I have been trying to automate this program to run periodically on a server in my office. Problem is, It…
Adam Matan
  • 8,090
  • 17
  • 59
  • 84
3
votes
2 answers

Piping xpra to ffmpeg

I'm trying to record a headless, xpra display. (I've attempted both the xvfb and Xdummy options). The issue is with ffmpeg's "x11grab". The command being used is: /usr/bin/ffmpeg -y -framerate 2 -video_size 1920x1080 -f x11grab -i :102 -vcodec…
sam-6174
  • 259
  • 4
  • 9
3
votes
1 answer

Reinit xvfb resources

I user xvfb on my Ubuntu servers mostly to run browsers in Selenium QA automation. I user this servers to test web applications, so I run A LOT of browsers. But after some time errors appears like xvfb-run firefox xvfb-run: error: Xvfb failed to…
ShockwaveNN
  • 293
  • 2
  • 10
3
votes
1 answer

How do I figure out what to set my DISPLAY variable to for a virtual display?

Here's my uname -a info ... Linux qa3398c 2.6.18-194.8.1.el5 #1 SMP Wed Jun 23 10:52:51 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I'm running some Google Web toolkit tests that require access to a virtual display. I don't know what to set my DISPLAY…
Dave
  • 31
  • 2
3
votes
1 answer

Getting the server number when using --auto-servernum with xvfb-run

When I execute an application with xvfb-run, I can either explicitly specify an X11 server number (i.e. 44), or I can use --auto-servernum, which will assign one for me. If I use --auto-servernum, how do I know what number it picked? I'm trying to…
Brad
  • 5,686
  • 8
  • 52
  • 83
2
votes
1 answer

Different behavior under Xvfb and under a real X server / Xvfb alternatives?

I am trying to run a program (Ansys 13 Workbench) that requires a display in batch on a torque managed linux cluster. Running it as an interactive job with X forawrding to my local linux machine works perfectly. Running the same program on the…
2
votes
3 answers

Linux headless and mega.nz sync

I have a server with Ubuntu 14.04 and I need to sync (real-time sync, not push-pull via cronjob) with a mega.nz account. Right now my solution was to install Mate and megasync gui app, but I want remove the desktop environment. Is there way to use…
user19291
  • 133
  • 1
  • 5
2
votes
1 answer

Use xvfb to automate X program

I sadly have to use this proprietary program that bundles a camera driver. I want to perform a specific action with it, which involves clicking a few buttons. And there is no CLI. So, what is the easiest way to automate this? I though of using xvfb…
Luan Nico
  • 259
  • 1
  • 5
  • 14
2
votes
0 answers

1 xvfb, multiple applications

According to a previous question, Multiple clients on a single Xvfb server/process?, I can run multiple clients on a single xvfb process. If this is true, then how can this be done? Example: xvfb app1 xvfb app2 app2 needs to take a screenshot of…
ms1013
  • 29
  • 2
1
2 3