Questions tagged [xvfb]

The tag has no usage guidance.

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

Selenium XVFB - Unable to receive message from renderer

Overview: Selenium scraper works perfectly in headless mode. Spawning a virtual display shows no errors via XVFB: from xvfbwrapper import Xvfb vdisplay = Xvfb() vdisplay.start() vdisplay.stop() But ...
user avatar
0 votes
0 answers
46 views

Virtual Display but with GPU/Hardware Acceleration

To do some automated screen recordings for promo videos of web applications I'm using chromium/selenium inside of xvfb to run the web application and ffmpeg to record the video. Even tough this looks ...
user avatar
  • 101
0 votes
2 answers
78 views

Raspbian running headless doing scripted procedures on a internet page using text browser

I am somewhere between a new and intermediate linux user. I am setting up a local network for a small group, and I need to configure an automatic sign-in to a webportal when internet connectivity is ...
user avatar
3 votes
2 answers
438 views

Multiple monitors with xfreerdp and Xvfb

I am trying to start an X server with multiple screens on a single Xvfb like this: Xvfb :50 -screen 0 1792x1120x24 -screen 1 1792x1120x24 and start an RDP connection which will use those two screens: ...
user avatar
  • 141
0 votes
1 answer
87 views

Problem with XServer - _XSERVTransSocketUNIXAccept: accept() failed

I run a headless Manjaro server with Xhost and Xvfb (for a display) and after about 236 instances of a program running, the server starts lagging a lot and the error _XSERVTransSocketUNIXAccept: ...
user avatar
  • 9
0 votes
0 answers
154 views

How to improve XVFB display quality

I am currently running chrome on AWS Linux servers with this Puppeteer and XVFB setup. I also built a little chrome extension that handles the recording with MediaRecorder and chrome.tabCapture. It's ...
user avatar
0 votes
1 answer
144 views

Mouse doesn't work on xvfb

I am on ubuntu 18.04 (sadly, because of external considerations - EC2). I run the following lines: sudo /usr/bin/Xvfb :0 -ac -screen 0 1024x768x24 & /usr/local/bin/x11vnc -dp -noxdamage -geometry ...
user avatar
1 vote
0 answers
1k views

Is X server running? xdpyinfo: unable to open display "" on Ubuntu 18.04 server

I'm attempting to start a program that requires rendering a window (Unity Game) on a remote server that doesn't have a display attached to it. I wouldn't want to use ssh -X to forward rendering ...
user avatar
  • 111
2 votes
0 answers
170 views

Unable to send keypress to Xvfb display using XTestFakeKeyEvent in C

Using this short snipped of code I am able to capture events from the keyboard (/dev/input/event1) and print them properly. However, sending them to the Xvfb display using XTestFakeKeyEvent does not ...
user avatar
  • 21
1 vote
1 answer
70 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 ...
user avatar
  • 11
2 votes
1 answer
647 views

Why are my Xvfb screenshots black with traces of color (Ubuntu 16.04 LTS)

I am running a headless Ubuntu 16.04 LTS in the Google Cloud. There is an application I need to run in the background that requires a GUI. I am trying to use Xvfb to allow the program to run, but as ...
user avatar
3 votes
0 answers
55 views

Can we share an application window among different users/X servers?

We have a family machine with KDE, where each member has a different account. Mom, dad and children. There are a few applications we'd like to be shared in such a way that they be available to all ...
user avatar
  • 31
2 votes
1 answer
1k views

Display xvfb output in remote PC

I have a Windows pc that I use to connect to my Ubuntu PC over ssh that I use as a server (18.04) that is connected only to the internet and power (No monitor). When I run glxgears -info I only get 8-...
user avatar
4 votes
1 answer
1k views

Running GLFW in Docker

I have a simple program written in Go that opens a blank window using GLFW. I'd like to automatically run tests, therefore I have been trying to get GLFW running in docker. So far I've already managed ...
user avatar
  • 171
2 votes
0 answers
215 views

2 x11vnc servers with separate displays showing different windows, overlapping

I am running a python (includes pygame) program on debian-jessie system with x11vnc and xvfb installed. I want to display terminal window and pygame window separately using xvfb and x11vnc. My ...
user avatar
0 votes
1 answer
327 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" ...
user avatar
  • 101
0 votes
1 answer
1k 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 ...
user avatar
4 votes
1 answer
2k 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 ...
user avatar
  • 7,627
1 vote
1 answer
321 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 ...
user avatar
  • 7,894
5 votes
2 answers
3k 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 ...
user avatar
0 votes
1 answer
837 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 ...
user avatar
  • 1,860
2 votes
1 answer
9k 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
  • 133
0 votes
1 answer
808 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 ...
user avatar
21 votes
1 answer
9k 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 ...
user avatar
  • 1,860
2 votes
0 answers
708 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 ...
user avatar
  • 21
4 votes
3 answers
4k 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 ...
user avatar
1 vote
1 answer
3k 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 ...
user avatar
  • 279
1 vote
1 answer
740 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. ...
user avatar
  • 279
0 votes
1 answer
505 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 ...
user avatar
  • 811
3 votes
1 answer
6k 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 ...
user avatar
  • 18.3k
2 votes
1 answer
3k 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....
user avatar
  • 18.3k
2 votes
1 answer
3k 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 ...
user avatar
  • 131
2 votes
1 answer
12k 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 ...
user avatar
6 votes
3 answers
10k 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 ...
user avatar
  • 517
5 votes
1 answer
5k 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 -...
user avatar
  • 274
14 votes
2 answers
2k 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 ...
user avatar
  • 47.1k
3 votes
0 answers
320 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 ...
user avatar
3 votes
1 answer
2k 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 ...
user avatar
  • 255
4 votes
2 answers
5k 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 ...
user avatar
  • 133
2 votes
0 answers
783 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. ...
user avatar
  • 121
8 votes
3 answers
21k 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 ...
user avatar
  • 373
0 votes
2 answers
2k 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 ...
user avatar
  • 18.3k
6 votes
1 answer
16k 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 ...
user avatar
  • 73
1 vote
0 answers
733 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 ...
user avatar
  • 182
5 votes
1 answer
4k 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 ...
user avatar
  • 219
3 votes
0 answers
527 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 ...
user avatar
  • 151
4 votes
2 answers
924 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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 61
2 votes
1 answer
5k 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 ...
user avatar
  • 141