Skip to main content

Questions tagged [xvfb]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

SWTError: No more handles [gtk_init_check() failed running web-app in Tomcat9 on RHEL9.4 with Xvfb

We are running a third-party Java web application in Tomcat 9.0.87 on RHEL9.4. When the web app starts it raises the following exception that we (working with vendor support team) can't seem to get ...
Chris Pudney's user avatar
0 votes
0 answers
118 views

Could not open display using Kubernetes service URL

I'm working on launching graphical applications on a k8s cluster. My configuration is the following : In a 1st pod, I running a X-server & a VNC Server spec: containers: - name: test-x-...
Ptiseb's user avatar
  • 101
0 votes
1 answer
178 views

How to debug (gdb) a binary that is invoked with xvfb-run?

I have a binary that I usually run as follows: $ xvfb-run ./bin --param1 foo However, now that I need to debug it using GDB, I'm not able to do: $ gdb --args xvfb-run ./bin --param1 foo because &...
albertoperdomo2's user avatar
0 votes
0 answers
98 views

zoom meeting with cron

My zoom class teacher doesn't give us a link with a hashed password and I am using this to open zoom from command line. (EDIT: Later I knew that normal zoom command open a link with non-hashed ...
Taro's user avatar
  • 101
4 votes
0 answers
2k views

Puppeteer/Chromium on Debian Docker K8s: "Failed to open an X11 connection"

This is driving me crazy, did not think it would be this hard to get a headless chromium instance running with puppeteer launch config. Here's the error: # launching puppeteer with config {"args&...
AlxVallejo's user avatar
5 votes
1 answer
851 views

What is the "native" frame rate of an Xvfb screen?

I am emulating a screen with Xvfb, and I want to capture it with ffmpeg. In order to prevent frame dropping or duplication, I would like to capture at the exact refresh rate of the screen, but it ...
slhck's user avatar
  • 485
2 votes
0 answers
2k views

How to pass display number to xvfb-run?

I tried to start chrome with xvfb-run: Ubuntu 18.04.5 LTS Chromium 105.0.5173.0 If I specified display number as 76, xvfb-run failed to start: $ xvfb-run --error-file=/tmp/Xvfb-errors.log -s ":...
Jingguo Yao's user avatar
1 vote
0 answers
257 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 ...
Luke Hamilton's user avatar
1 vote
0 answers
587 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 ...
hypnomaki's user avatar
  • 111
0 votes
2 answers
388 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 ...
Lars Kuur's user avatar
2 votes
2 answers
3k 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: ...
eagr's user avatar
  • 131
1 vote
1 answer
513 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: ...
Bintr's user avatar
  • 31
0 votes
0 answers
494 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 ...
Olamilekan Ibrahim's user avatar
0 votes
1 answer
751 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 ...
user2679290's user avatar
1 vote
0 answers
9k 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 ...
zkytony's user avatar
  • 111
2 votes
0 answers
441 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 ...
Az ayd's user avatar
  • 21
1 vote
1 answer
92 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 ...
ajust93's user avatar
  • 11
2 votes
1 answer
2k 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 ...
John Smith's user avatar
3 votes
0 answers
184 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 ...
Anymene's user avatar
  • 31
3 votes
1 answer
3k 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
5 votes
1 answer
3k 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 ...
Wendelin's user avatar
  • 181
2 votes
0 answers
388 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 ...
Tapan Halani's user avatar
0 votes
1 answer
524 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" ...
direxit's user avatar
  • 101
0 votes
1 answer
2k 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 ...
Aditi Apte's user avatar
5 votes
1 answer
4k 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 ...
Ned64's user avatar
  • 8,984
1 vote
1 answer
555 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 ...
xenoid's user avatar
  • 9,068
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 ...
nullifiedcat's user avatar
0 votes
1 answer
1k 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 ...
Dave's user avatar
  • 2,648
2 votes
1 answer
14k 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 ...
Alexander Mills's 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 ...
StephanM's user avatar
  • 163
0 votes
1 answer
1k 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 ...
Sardathrion - against SE abuse's user avatar
26 votes
1 answer
13k 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 ...
Dave's user avatar
  • 2,648
2 votes
0 answers
750 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 ...
Jyothi's user avatar
  • 21
4 votes
3 answers
6k 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 ...
Alex028502's user avatar
1 vote
1 answer
4k 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 ...
ThatsMe's user avatar
  • 1,005
1 vote
1 answer
1k 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. ...
ThatsMe's user avatar
  • 1,005
0 votes
1 answer
607 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 ...
Redsandro's user avatar
  • 921
3 votes
1 answer
8k 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 ...
kenorb's user avatar
  • 21.5k
2 votes
1 answer
4k 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....
kenorb's user avatar
  • 21.5k
2 votes
1 answer
4k 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 ...
Sebien's user avatar
  • 131
2 votes
1 answer
17k 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
9 votes
3 answers
14k 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 ...
Drakes's user avatar
  • 607
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 -...
noname's user avatar
  • 274
15 votes
2 answers
3k 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 ...
l0b0's user avatar
  • 52.1k
3 votes
0 answers
321 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 ...
Crisjaira V.'s 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 ...
fpf3's user avatar
  • 364
4 votes
2 answers
7k 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 ...
Jezor's user avatar
  • 155
2 votes
0 answers
897 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. ...
Romain's user avatar
  • 121
8 votes
3 answers
26k 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 ...
dpr's user avatar
  • 423
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 ...
kenorb's user avatar
  • 21.5k