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…
11
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
  • 6,629
9
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
  • 358
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…
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
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,296
5
votes
2 answers

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
  • 6,629
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,740
4
votes
0 answers

Cursor is not captured on xvfb session screenshots

I cannot see cursor on xwd screenshots I take on xvfb session. This is how I run my xvfb session: Xvfb :99 -screen 0 1920x1080x24 -ac Also I tried to use import too, no diff: xwd -display :99 -root -silent | convert xwd:-…
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…
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…
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
3
votes
1 answer

Dependency Xvfb missing error on npm run

On running the command npm run test on ubuntu WSL-2 Windows 11. I get the following error: account-management-fullstack-level-2@1.0.0 test cypress run It looks like this is your first time using Cypress: 9.7.0 Your system is missing the dependency:…
nicku
  • 153
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
0 answers

How to make chrome run with GPU on ec2 instance

I'm running an ec2 instance with GPU ( g4dn.xlarge ) with image "Deep Learning Base AMI (Amazon Linux 2) Version 43.0" installed. I tried to run chrome with webgl support but no luck. I start a Xvfb window and run chrome inside it with…
1
2 3