Questions tagged [xvfb]
Xvfb stands for X virtual frame buffer, and implements the X11 display protocol without actually showing any screen output.
37
questions
1
vote
0
answers
2k
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:
account-management-fullstack-level-2@1.0.0 test
cypress run
It looks like this is your first time using ...
0
votes
1
answer
422
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 ...
1
vote
0
answers
118
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 "...
1
vote
0
answers
155
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 ...
0
votes
1
answer
781
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-...
0
votes
1
answer
12k
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 --...
0
votes
0
answers
110
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 ...
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 ...
1
vote
0
answers
768
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....
0
votes
0
answers
653
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 ...
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] ...
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 ...
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-...
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, ...
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 ...
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 ...
2
votes
0
answers
433
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 ...
6
votes
1
answer
16k
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 ...
1
vote
1
answer
464
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" ...
0
votes
1
answer
392
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 &
...
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-...
1
vote
1
answer
3k
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 ...
3
votes
2
answers
876
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 -...
-1
votes
1
answer
304
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 ...
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
...
8
votes
4
answers
14k
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 ...
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):
...
5
votes
1
answer
19k
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 ...
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 ...
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 ...
11
votes
5
answers
26k
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....
1
vote
1
answer
3k
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 ...
1
vote
1
answer
1k
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 ...
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 ...
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?
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=...
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 ...