Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xvfb]

The tag has no usage guidance.

0
votes
0answers
18 views

How to run puppeteer in Docker on VPS and connect to display server to local machine?

I am running a puppeteer-controlled chromium instance inside of docker on a remote server. For a specific operation, I need to be able to interact with the page that is opened by puppeteer. This ...
0
votes
0answers
32 views

Fix Nvidia Breaking Xvfb?

I was using Xvfb again after having swapped my AMD gpu with a NVIDIA one, the result was rather annoying, i can no longer use Xvfb as it just crashes as soon as i launch it, Resolution doesn't seem to ...
0
votes
0answers
33 views

Increase FPS in new X display

I am trying to run an application in a different 'fake' X display, but I noticed that the performance (FPS) of the application if much smaller than in my original X display. I tried to use Xephyr, ...
0
votes
1answer
49 views

Can't Run xvfb @ 16:9 on MATROX MGA-G200

Capturing server screen configured as follow, the screen capture occurs but the ratio captured is not 16:9, is that due to video card ? Did : cvt 1920 1080 60 xrandr --newmode "1920x1080_60.00" ...
0
votes
1answer
303 views

Xvfb: export display permanently

I have recently set up Xvfb on Centos 7 machine. It is working absolutely fine. Only problem is that if I quit putty session (remote access) it would keep running Xvfb in background but display ...
4
votes
1answer
417 views

How to display an X11 screen from a remote machine? (Alternative to ssh -X)

I am locally on a machine without root rights. X forwarding is disabled. Remotely I am running a process on a machine without a screen, using the Xvfb virtual framebuffer which simulates an X server ...
1
vote
1answer
105 views

Looking for a simple smoke-test for xvfb

I have a server (Tomcat) that uses xvfb for headless rendering with libwebkit. I have a very short Java sample code to test that the whole setup (xvfb+libwekit, called from Java) works. It works on ...
3
votes
1answer
703 views

Xvfb + glxgears fails

I'm trying to use Xvfb, but it can't even run glxgears for some reason, and I don't know how to debug that, maybe I'm missing something. Here's the commands I'm using: Xvfb :99 +extension GLX -screen ...
0
votes
1answer
338 views

How can I prevent running “Xvfb :10 -ac” if it has already been run before?

I'm using Amazon Linux. I'm running an automated script through Jenkins with this command Xvfb :10 -ac However, if this command has already been run before, I get the error ... (EE) Fatal server ...
1
vote
1answer
3k views

Installing xvfb on Debian

I am trying to install xvfb on Debian in a Docker container. The base image for the Docker container is node:8 install instructions => How to install xvfb on Debian 8 (Jessie) | howtoinstall.co So ...
1
vote
1answer
640 views

Debian: Start Xvfb with systemd script and send to background

Im trying to write a systemd script which starts Xvfb in the background. Doing this in the console is no problem of course with appended "&". But i tried to write a systemd script and when im ...
0
votes
1answer
311 views

Xvfb in Python virtual environment

I have some code that uses gtk so unless there is an active DISPLAY, the code raises an RuntimeError: could not open display… This happens when I run tox. Is there a way to run a Xvfb server from ...
11
votes
0answers
3k views

How do I take a screen shot of my Xvfb buffer?

I'm using Amazon Linux. I want to run a headless chromium browser to use on my node.js Selnium tests. So I fire up my Xvfb server like so ... if ! pidof /usr/bin/Xvfb; then Xvfb :0 -screen 5 ...
1
vote
0answers
620 views

WebDriverError: unknown error: Chrome failed to start: crashed

I am trying to execute test scripts using Protractor, Google Chrome headless browser testing facility and xvfb on a Virtual Machine. I am running the command "npm run test:xvfb" to achieve this. But ...
2
votes
3answers
2k views

trying to get --listen-tcp on xvfb-run

I am trying to following these instructions http://afterdesign.net/2016/02/07/recording-headless-selenium-tests-to-mp4.html for recording selenium tests. However, when I try to connect to xvfb with ...
1
vote
1answer
802 views

XServer: how to check who/what uses display:N

I have a strange situation. These are my commands and their outputs: user@machine:~/Temp$ Xvfb :10 -screen 0 1024x768x16 _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed ...
1
vote
1answer
291 views

Xvfb: is some delay required running some program in new session?

I have a script.sh which I start in Xvfb new session this way: Xvfb :10 -screen 0 1000x200x24 & export DISPLAY=":10" && script.sh In script.sh I run one c++ program and one java program. ...
0
votes
1answer
397 views

xpra not working after upgrading debian

Once upon a time, I installed xpra and have been using it without problem. Then my harddrive crashed. I installed a new identical one, and restored a dd image of 6 months ago (before I had installed ...
3
votes
1answer
2k views

How to connect to X app via VNC which was by xvfb-run?

When I run Xvfb server directly, x11vnc can attach to the display fine as per Wikipedia page. However I'd like to achieve the same by running the X app using xvfb-run. Here is my attempt (to run ...
2
votes
1answer
882 views

X virtual framebuffer screen is 1024x9216 instead of 1024x768

I've run the X virtual framebuffer server on Ubuntu Linux which I'd like to access its screen via VNC. Here are my steps: Xvfb :1.0 -screen 0 1024x768x16 & Setup password by: x11vnc -storepasswd....
1
vote
1answer
1k views

Xvfb with 2 screens and Two x11vnc servers (one for each screen): only the first one work

I'm using CentOS 7 and x11vnc version 0.9.13 (release 11.el7) for arch x86_64. I create Xvfb with two screens (:10.0 and :10.1) like this: sudo Xvfb :10 -screen 0 1366x768x24+32 -screen 1 ...
2
votes
1answer
6k views

Xvfb -screen --> (EE) Cannot establish any listening sockets

I'm trying to run a gameserver for the game "Insurgency: Modern Infantry Combat" on a VPS rented from Kimsufi running Ubuntu 15.10. I've had prior experience messing around with Wine and Xvfb but ...
5
votes
3answers
4k views

How to run Xvfb without root?

Desired result on a server without root: 1) Run Xvfb without input devices, or 2) Just get Xvfb to run Background: I have two machines both having nearly identical builds of CentOS. One machine ...
4
votes
1answer
3k views

GLX doesn't work using xvfb-run

I'm on Ubuntu 14.04, and using it through ssh, which means I don't have local GUI for it. I need to run some command that requires GLX, but things aren't going well. Xvfb :80 -screen 0 1400x900x24 -...
11
votes
2answers
573 views

How to poll for Xvfb to be ready?

The Travis CI documentation says to run sleep 3 after starting xvfb to "give [it] some time to start". I couldn't find any reference to this delay in the man page. Is this cargo cult programming? If ...
3
votes
0answers
89 views

Error encounterd while running Firefox in Xvfb: “Xlib: extension ”RANDR“ missing on display ”:99“.” [duplicate]

I'm trying to run Firefox in Headless mode in a CentOS Linux release 7.0.1406 (Core) I have already have firefox-45.3.0-1.el7.centos.x86_64 installed. I have run the following commands for the ...
3
votes
1answer
708 views

Strange rendering issues when using xvfb-run

I have an app running remotely on a beaglebone, written in wxPython. I want to run the app inside of a virtual frame buffer, using Xvfb, and access it remotely using a VNC. It may also be pertinent ...
3
votes
2answers
2k views

Changing Xvfb frame buffer resolution while it's running

I run Xvfb with command: Xvfb :1 -screen 0 100x100x16 -fbdir /tmp And it's working fine. I can connect via VNC, and now under /tmp directory I have Xvfb_screen0 binary file. I thought it will act ...
2
votes
0answers
570 views

Xvfb stuck at “built-in extension GLX” on Amazon Linux

I started to use AWS EC2 with Amazon Linux a few days ago. I am running java with selenium webdriver over firefox to get some data from websites, and it works well when running on my windows computer. ...
5
votes
2answers
10k views

Howto terminate xvfb-run properly

In order to perform some JavaScript unit tests with karma inside a docker container (based on ubuntu 14.04) I'm starting firefox in the container using a karma-script-launcher with xvfb-run. The start ...
0
votes
2answers
726 views

How to take a screenshot of the X virtual framebuffer display?

I would like to take a screenshot from Xvfb display server. I already tried: xwd -root -silent -out screen.xwd but I can't read this file and I couldn't find any software (via Homebrew) which can ...
6
votes
1answer
14k views

Extension “RANDR” missing on xvfb

My system: $lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty Xvfb: $ dpkg -s xvfb Package: xvfb ...
1
vote
0answers
696 views

wkhtmltopdf & debian - install

I have a question about the installation of wkhtmltopdf on Debian machines via the apt-get command. So far, I've tested three environments, with different results, and I'd like to better understand ...
4
votes
1answer
2k views

Use xvfb to automate X program

I originally posted this question here, but upon second thoughts I decided here was a better place for this. I sadly have to use this proprietary program that bundles a camera driver. I want to ...
3
votes
0answers
397 views

Run OpenGl program on remote server

I often use X11 forwarding (occasionally VNC) to work on a remote machine, and this has worked great. But now I need to run a program that uses a specific version of OpenGL that means it doesn't work ...
2
votes
2answers
529 views

Xvfb not sending SIGUSR1, breaking xvfb-run

I've been working a knotty problem trying to run headless tests using the xvfb-run script provided with Xvfb. It works on my own Ubuntu images running in VirtualBox, but on the Ubuntu 15.04 AMI that ...
1
vote
1answer
759 views

Trying to run program that requires X11 server on headless Raspbian install

I'm trying to run a program in mono that requires a graphical server. The Raspberry Pi it will run on is headless. When I log in with X forwarding enabled from my local computer, I can run the ...
1
vote
1answer
4k views

How to take higher resolution screenshots with CutyCapt

Assume i take a screenshot via xvfb-run -s "-screen 0 1920x1080x16" cutycapt --url ... --out ... then i have learned that cutycapt will not use the X sessions parameters. How would i generate an ...
2
votes
2answers
4k views

Running Firefox in Xvfb: extension “RANDR” missing on display

I'm trying run Firefox headless with Xvfb in Debian 7.8. I run Xvfb (I tried with +extension RANDR and -extension RANDR) $ sudo Xvfb :10 -ac [dix] Could not init font path element /usr/share/fonts/...
1
vote
0answers
680 views

Xvfb: keyboard error

We have some GUI tests (selenium) that are run on a virtualized CentOS6.6 environment and when the Xvfb process is started, we get the following error: The XKEYBOARD keymap compiler (xkbcomp) reports:...
3
votes
1answer
1k views

Problems while executing slimerjs on linux (Centos 6.5 32bit)

I'm not used to work with Linux yet I wanted to try to use slimerjs on a Linux vps in order to have access to php exec function since most hosting companies disable that function. I did manage to ...
1
vote
0answers
606 views

xvfb-run aborting on cluster

I'm trying to run a python script with xvfb-run on a cluster using SLURM; when I use an interactive session (srun) it works fine, but when submitting to a queue (sbatch) it aborts/fails without much ...
15
votes
3answers
10k views

GLX extension not working properly with xvfb

I have an Ubuntu 14.04 system with the following packages installed: libegl1-mesa:amd64 libegl1-mesa-drivers:amd64 libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386 libgl1-mesa-glx:amd64 libgl1-mesa-glx:...
2
votes
1answer
481 views

Is there difference between Xvfb option `-extension` and `+extension`?

I'm facing RANDR missing problem with Xvfb and firefox. Some people suggested Xvfb :1 -extension RANDR can solve the problem. But I found a also +extension option. In my environment(CentOS6.5), the ...
12
votes
1answer
3k views

Why does `xvfb-run glxgears` fail with an swrast error?

xvfb is supposed to let me run X programs in a headless environment. But when I run xvfb-run glxgears, I get: libGL error: failed to load driver: swrast libGL error: Try again with LIBGL_DEBUG=...
1
vote
1answer
740 views

Can I run xvfb on a console-only debian system?

I need to be able to run firefox on a console-only debian system, and I want to run it using xvfb. The command I have been using to run it on my regular debian system is: $ xvfb-run firefox & ...
9
votes
1answer
8k views

Xvfb or Firefox throwing errors & gratuitously logging

per the answer to this question, I'm running Xvfb to make a virtual display so firefox will run on my CentOS server. (I don't need to see firefox or do any actual key or screen input/output with ...
2
votes
2answers
2k views

Xvfb does not release memory

We want to create screenshots of websites for our software, and we are doing this by using CutyCapt with Xvfb. Unfortunatly every time CutyCapt takes a screenshot, the memory of Xvfb increases .. ...
0
votes
1answer
4k views

unable to open X server

I am trying to generate a screenshot of a firefox window in my terminal, but I keep getting an error: root@host [~]# DISPLAY=:1 firefox http://www.cnn.com & sleep 5 && DISPLAY=:1 import -...
3
votes
1answer
2k views

CutyCapt seems to ignore the Xvfb screen size parameters

I have a problem using CutyCapt to create images rendered for a particular screen size. For example, if I do these: xvfb-run --server-args="-screen 0, 800x600x24" \ ~/bin/CutyCapt/CutyCapt --url='...