Skip to main content

Questions tagged [xvfb]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
429 views

Xvfb does not start second screen

I need a docker test-bed with multiple fake screens in an X server, according to the man page xvfb can launch multiple screens with multiple resolutions, but I only ever get screen 0. An example ...
leitning's user avatar
  • 101
1 vote
0 answers
235 views

How to use pipewire with puppeter

I was using PulseAudio to redirect Puppeteer audio to a virtual audio sink, but I have encountered some issues. Now I want to switch to PipeWire instead.
Matrix 404's user avatar
3 votes
1 answer
5k views

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: [email protected] test cypress run It looks like this is your first time using ...
nicku's user avatar
  • 153
1 vote
1 answer
838 views

xvfb-run redirects STDOUT and STDERR to STDOUT only

I'm trying to run an application via xvfb-run. I need to access this application's STDOUT stream independently from STDERR. Normally, I'd do something like this: node script.js > output.txt I ...
Brad's user avatar
  • 6,312
1 vote
0 answers
206 views

X forwarding broken after using Xvfb

I used Xvfb to create a fake desktop to run programs with graphical interface on a Debian pc without display for testing purposes. After completing these tests, I wanted to revert back to the "...
eesopee's user avatar
  • 11
1 vote
0 answers
234 views

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 ...
Nghiem Tien Vien's user avatar
0 votes
1 answer
1k views

How do you disable the "sharing this tab" message in Chrome

I'm using selenium to record chrome screen. And I also want to share this screen throw webrtc. When I start share a tab screen. Chrome will show this message : https://storage.googleapis.com/support-...
Nghiem Tien Vien's user avatar
0 votes
1 answer
15k views

qt.qpa.screen: QXcbConnection: Could not connect to display

Cannot get CutyCapt to work. I am running this on a CentOS 7 VM. I am running this directly on the command line and not using a script yet. # echo $DISPLAY :0 # CutyCapt --url=https://hostname/abc --...
Anand's user avatar
  • 11
0 votes
0 answers
159 views

Google Chrome Extension not starting on cloned Linux Ubuntu 20.04 Virtual Machines

My own Google Chrome Extension should start when the Google Chrome browser is opened (via crontab xvfb-run), but it does not. The Extension is used via Developer mode and is not published in the ...
aj93's user avatar
  • 1
1 vote
0 answers
1k views

xvfb XIO: fatal IO error 11 (Resource temporarily unavailable) on X server

I'm running a Windows application in Linux using wine and xvfb, this combination works most of the time, I can see these errors messages many times (but not all the time) I have googled this errors ...
juanp_1982's user avatar
2 votes
0 answers
1k views

Selenium + ChromeDriver stuck for exactly 4 minutes

I'm trying to webscrap a web page with CloudFlare protection from remote server: #!/usr/bin/env python3 from xvfbwrapper import Xvfb from selenium import webdriver from selenium.webdriver.chrome....
Edvard Davtyan's user avatar
0 votes
0 answers
689 views

Selenium/Xvfb Issues with Jenkins

I'm struggling to get Jenkins to run Selenium/Xvfb for some functional tests on a project. Either Jenkins will hang and the job never finishes or ends up terminating with errors. This is using the ...
Sandwich Heat's user avatar
1 vote
0 answers
1k views

Enable GLX extension in Xvfb in Xquartz

The version of Xvfb included in Xquartz on MacOS doesn't support GLX: $ Xvfb +extension GLX [mi] Extension "GLX" is not recognized [mi] Only the following extensions can be run-time enabled: [mi] ...
user2554330's user avatar
1 vote
0 answers
1k views

Xvfb: connection refused when running test script via browser on Fedora

I have a python script which will only be triggered by calling my.ip.address/test. It works fine if I run the PHP code via command line. However,if I access the test automation via browser using the ...
codekaizer's user avatar
10 votes
1 answer
3k views

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-...
Brad's user avatar
  • 6,312
3 votes
1 answer
2k views

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, ...
Brad's user avatar
  • 6,312
2 votes
3 answers
4k views

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 ...
user19291's user avatar
  • 133
2 votes
1 answer
1k views

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 ...
Luan Nico's user avatar
  • 259
2 votes
0 answers
499 views

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 ...
ms1013's user avatar
  • 29
6 votes
1 answer
17k views

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 ...
Adi Shavit's user avatar
1 vote
1 answer
468 views

Xulrunner crash when running with underprivileged user

I use SlimerJs as an headless browser on a server. Because the server have no xserver I used xvfb to run it. The command goes something like this: xvfb-run --server-args="-screen 0, 1024x768x24" ...
Cyrbil's user avatar
  • 71
0 votes
1 answer
401 views

Google-chrome crashes on Ubuntu 12.04

I am running chrome inside Xvfb session. I am using Google Chrome 40.0.2214.91 version. I am using the following commands to run it: Xvfb $DISPLAY -screen 0 1920x1080x24 2> /tmp/xvfb.log & ...
dfordevy's user avatar
  • 147
5 votes
1 answer
5k views

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-...
ozhogin's user avatar
  • 53
1 vote
1 answer
4k views

make Xvfb listen only on local ip

to use graphical software even on my debian based systems without graphic cards (or in addition to its main graphic) i use the virtual frame buffer x server Xvfb. I am starting it with a little bash ...
treaki's user avatar
  • 52
3 votes
2 answers
944 views

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 -...
sam2426679's user avatar
-1 votes
1 answer
373 views

Can I use xvfb on a hpc system without effecting other users?

I'm trying to use some image processing software that requires a X server. And it seems that we can fake a x server using xvfb. So I asked our system administrator to install the xvfb for me. But they ...
xslittlegrass's user avatar
3 votes
1 answer
2k views

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 ...
ShockwaveNN's user avatar
8 votes
5 answers
16k views

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 ...
shawnzhu's user avatar
  • 338
1 vote
2 answers
3k views

X Error of failed request: BadCursor (invalid Cursor parameter) when recording Xvfb with ffmpeg/avconv

I am trying to record video output from Xvfb using ffmpeg or avconv. I start Xvfb with: $ Xvfb :29 -screen 0 1024x768x24 When I later try to record display :29 with avconv (same output for ffmpeg): ...
Tomasz Nurkiewicz's user avatar
5 votes
1 answer
20k views

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 ...
Stu's user avatar
  • 1,266
3 votes
1 answer
2k views

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 ...
Dave's user avatar
  • 31
2 votes
1 answer
2k views

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 ...
Dirk Gorissen's user avatar
11 votes
5 answers
27k views

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....
Stefan Kendall's user avatar
1 vote
1 answer
4k views

Multiple clients on a single Xvfb server/process?

Is is possible to use only one Xvfb process to serve multiple clients simultaneously? Or, phrasing it differently: A Xvfb process maps directly to one screen, i.e., multiple clients share the same ...
Tiago's user avatar
  • 113
1 vote
1 answer
2k views

How to run Firefox jailed without serious performance loss?

My Firefox configuration is tricky: Firefox runs at separate restricted user account which cannot connect to main X server. Firefox uses Xvfb (virtual "headless" X server) as X server. x11vnc is ...
Vi.'s user avatar
  • 17.3k
0 votes
1 answer
2k views

Xvfb with 32 bit color

For some machines this works, for some it doesn't. Xvfb :99 -screen 0 1280x1024x32 However, on most machines this works: Xvfb :99 -screen 0 1280x1024x24 What is the secret ingredient to getting ...
Conley Owens's user avatar
1 vote
2 answers
1k views

getting first non display number in use

I need to give a command like Xvfb :6 -screen 0 1024x768x24 Where 6 can be a display number. Now Xvfb can already be using that Display, so how do I get the first display number not in use?
uswaretech's user avatar
1 vote
3 answers
2k views

Unable to run openoffice in headless mode

I want to automoate some PPT -> PDF conversions, so I want to run openoffice in headless mode for scripting. On my machine with X running I can start opemoffice in headless mode via soffice -accept=...
uswaretech's user avatar
4 votes
4 answers
7k views

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 ...
Adam Matan's user avatar
  • 8,500