Questions tagged [xvfb]

The tag has no usage guidance.

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

Configure Singularity to do headless rendering / use OpenGL / glxgears / glxinfo

I want to do headless rendering on a server where I do not have root permissions. Therefore, I created a Singularity container like this: Bootstrap: docker From: nvidia/cuda:9.0-runtime-ubuntu16.04 %...
thigi's user avatar
  • 101
0 votes
1 answer
1k views

Unable to run X server on a remote VPS server using xvfb

My app uses the library https://github.com/wkhtmltopdf/wkhtmltopdf which requires X server. Here's a workaround: echo -e '#!/bin/bash\nxvfb-run -a --server-args="-screen 0, 1024x768x24" /usr/bin/...
jerry's user avatar
  • 111
0 votes
1 answer
5k views

How to install Xvfb without root access (tried with linuxbrew)

I have non-root access to a headless Debian server that runs Jenkins. I want to build Unity3D on that Jenkins, which requires me to install Xvfb. Because it is a headless server, X11 is not installed, ...
Amedee Van Gasse's user avatar
0 votes
0 answers
395 views

How to handle error: service xvfb does not support chkconfig?

When I followed the installation instructions below to install xvfb, I get the following error: service xvfb does not support chkconfig Installation Instructions Install Xvfb (via the RHEL ...
Chris Hansen's user avatar
1 vote
2 answers
4k views

How to start headless X upon boot for non-root users in Debian

My requirement is a little different from this one in that I would like to launch a window manager for each of two non-root users upon boot. For testing, first I prepare the following lines in ....
Masa O's user avatar
  • 41
2 votes
0 answers
570 views

Issue with Headless selenium on CentOS 7 Minimal

Required: I'm trying to run headless selenium (using PHPUnit) on fresh CentOS 7 minimal. Problem: It seems I installed everything correctly but firefox is not launching and my selenium web driver ...
Kapil Sharma's user avatar
0 votes
0 answers
551 views

Xvfb crashes and my server reboots

I'm trying to use Xvfb on one of my server with the following configuration : Server : proxmox-ve-2.6.32: 3.4-165 (running kernel: 2.6.32-20-pve OpenVZ Container : Ubuntu 14.04.3 LTS When launching ...
Kevin's user avatar
  • 59
1 vote
0 answers
876 views

How to watch firefox/chrome running headlessly [under xvfb] on remote headless machine?

I have my selenium tests running on a jenkins server installed on a ubuntu headless machine [remote on AWS] using xvfb buffer, there are times when the tests gives false failures may be because of ...
Pooja's user avatar
  • 11
3 votes
1 answer
4k views

simulate keystrokes in headless environment

I need to simulate keystrokes in headless environment. All xte, xdotool and many C++ designed to work with X11 window I've tried xdotool, which it throw some error: xdotool type "aaaaa" Error: Can'...
apasajja's user avatar
  • 167
-1 votes
2 answers
2k views

Why cron job is not able to open X display connection [closed]

I have a java app rendering some sprites using LWJGL and OpenGL. It works fine until I move it to remote virtual machine with no phisical graphic card, Mesa 3d with related stuff is used to emulate it ...
Viktor Stolbin's user avatar
3 votes
1 answer
1k views

How to disable Xvfb using TCP ports when using pyvirtualdisplay (Python)?

Trying to use pyvirtualdisplay for Python to start some applications with a virtual Xvfb X terminal. However, we've seen port clashes and would like to disable Xvfb from using TCP ports. I have ...
Juan Carlos Coto's user avatar
0 votes
1 answer
1k views

Server-side print to PDF of HTML file in /tmp?

I'm working on a project where we need consistent printing of certain pages, and PDFs are made for that. The customers also like to have some local copies, so this would be a two-fold win. Things get ...
kavisiegel's user avatar
7 votes
2 answers
4k views

How do I enable XRandR in Xvfb or disable it in firefox when running firefox headless?

I am trying to start firefox headless. The following is the beginning of the shell script that starts it: #!/bin/sh Xvfb :99 >/dev/null 2>&1 & XVFB=$! sleep 3 firefox --display=:99 >...
Utkonos's user avatar
  • 426
4 votes
2 answers
9k views

Xvfb on debian not installing properly from apt-get

I try to install xfvb for headless firefox and selenium tests, but after installing by: apt-get install xvfb I got only those files on server (search by xvfb): /usr/bin/xvfb-run /usr/share/doc/xvfb ...
Piotr Müller's user avatar