Questions tagged [xvfb]

Xvfb is an X server for X11, but one that uses virtual memory to create a virtual frame buffer so that it can run on machines with no hardware display devices. Screens with various resolutions and bit depths can be created for the user's particular purposes.

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

Popping sounds when recording screen with FFmpeg

I am using FFmpeg (X11Grab and Alsa) to record a virtual screen. I have an Ubuntu server, and I am using xvfb as virtual frame buffer. I launch a browser process using Puppeteer, and record it using ...
Hammad Fida's user avatar
0 votes
0 answers
225 views

Capture xvfb stream from docker container using webRTC

I have a Windows game .exe file and running the game inside a docker container (In EC2 Linux VM) using xvfb version of the X server. Now I want to Capture X server stream from the docker container to ...
HIMANSHU SAHU's user avatar
0 votes
0 answers
380 views

Run wine headless on a docker to run a windows application

I want to run a windows application(pyinstaller.exe) on a dockerized Linux (on Linux host), using wine, but I do not have a display connected. I just have an SSH terminal to the host Linux. I am aware ...
A Sree's user avatar
  • 1
1 vote
0 answers
487 views

Permission issues running Firefox via xvfb - seems to be referencing root

I'm trying to run Firefox via xvfb on a remote VPS. However I'm running into some permission issues, and it sounds like when using xvfb it's running as root (as it's referencing user with id 0). How ...
Chris Stryczynski's user avatar
0 votes
0 answers
2k views

Error while I try to install xvfb

I am trying to install the xvfb package and I get the following error: sudo apt install xvfb [sudo] password for d1-user: Reading package lists... Done Building dependency tree Reading state ...
emax's user avatar
  • 171
3 votes
0 answers
567 views

Start Ubuntu GUI from CLI

I am having trouble starting the Ubuntu GUI from CLI. I currently have a fresh install of Ubuntu 20.04 desktop. I ran the following command to disable the GUI to start on boot (this is a headless ...
ktb92677's user avatar
  • 131
1 vote
0 answers
2k views

X11VNC Timed out waiting for a response from the computer

My objective is to view chrome browser UI on an AWS-EC2-Ubuntu machine. I logged into AWS-Ubuntu server via my MAC Terminal, installed X11vnc on Ubuntu server and started X11vnc using the below ...
Afsal's user avatar
  • 161
2 votes
0 answers
819 views

How to run GTK application on text mode of ubuntu and rotate to portrait view without x-server?

I am using ubuntu on text only with terminal in portrait mode to run the GTK application. I have removed GUI/Desktop mode. I tried to run it on ubuntu and other Linux operating systems. I used '...
Mudit Shrivastava's user avatar
3 votes
1 answer
6k views

Can't Install Go [duplicate]

sudo apt-get update sudo apt-get -y upgrade wget https://dl.google.com/go/go1.12.6.linux-amd64.tar.gz using this command I download Go to my device after that I try to extract the downloaded archive ...
Dinushi Dhananjani's user avatar
1 vote
1 answer
674 views

How to fake an audio card Ubuntu 18.04?

I am trying to create a minimum required setup to run an app with GUI that uses Java (already included in the install) on 18.04 cloud server. I installed Xvfb + X11vnc and launch the app without ...
Quant's user avatar
  • 21
1 vote
0 answers
185 views

ubuntu server 14.04 xvfb japanese characters as squares after release upgrade

Why did Japanese fonts suddenly stop displaying correctly? Very difficult tough complex situation, at one time this gaggle was working, broke after a platform upgrade that coincided with a new code ...
ken's user avatar
  • 111
1 vote
1 answer
341 views

Dependency Loop When Trying to Install Firefox Xvfb

I am installing firefox xvfb on 16.04.4 (server) so that I can use the Firefox driver with Selenium in order to do screen grabs of our websites using Python. Unfortunately, I am in some sort of ...
Lexicon's user avatar
  • 339
0 votes
0 answers
595 views

Can't upgrade WSL Ubuntu - how do I get xvfb-run? [duplicate]

I am running Xenial Ubuntu in Windows 10 subsystem linux system. I need to install xvfb-run but I can not because it is not in the repo. I guess I need to upgrade Ubuntu, but do-release-upgrade finds ...
dman's user avatar
  • 103
1 vote
1 answer
114 views

Install a program automatically with terminal (which has menus)

Is it possible to install a program automatically, which when extracted and run, it opens up a menu installer? (doesn't look like the installer has any options which I can pass in either). Is there a ...
Rekovni's user avatar
  • 223
2 votes
1 answer
4k views

How to install Firefox (to be ran in headless mode) on a Ubuntu non-desktop server with minimal dependencies? [closed]

I am using Ubuntu16 to host a Jenkins continuous integration server environment. I need to host Firefox Headless mode which unfortunately still requires GTK3 to run. See https://bugzilla.mozilla.org/...
Nicholas DiPiazza's user avatar
2 votes
0 answers
2k views

xrandr: randr is missing after installing xorg

I am attempting to run xrandr because online it says you need xrandr to run lwjgl. However, whenever I try running xrandr it gives me the following error: RandR extension missing I tried running the ...
noone's user avatar
  • 21
3 votes
0 answers
875 views

SDL cannot find video device within an Xvfb

I want to run a program that is dependent on SDL 1.2 as a graphics backend within an X virtual frame buffer. I'm using the xvfb-run command like so: xvfb-run --auto-servernum --server-num=1 -s 'fbdir ...
brucei's user avatar
  • 31
0 votes
1 answer
1k views

Make mesa drivers become independent of previous nvidia installation

I had nvidia driver installed on my Ubuntu Server 16.04. I need to run some app which needs OpenGL, but since machine is "headless" a virtual screen must be created. I tried to do it with Xvfb, but ...
Slaus's user avatar
  • 137
8 votes
0 answers
6k views

libGl, fbConfigs, swrast error in ubuntu 16.04

Recently installed Ubuntu 16.04 64-bit desktop. Graphics: Gallium 0.4 on AMD OLAND (DRM 2.43.0, LLVM 3.8.0) When I have seen other link where they provide solution for Ubuntu with Nvidia not sure ...
kumar's user avatar
  • 455
0 votes
2 answers
6k views

how do you permanently disable the screen saver in Xvfb?

I tried disabling extension MIT-SCREEN-SAVER but the screensaver is activated after a little while anyway. The list of loaded extensions is this xdpyinfo -display :88|grep 'number of exte' -A 23 ...
user avatar
5 votes
1 answer
3k views

Unable to get Virtual Frame Buffer / Display (Xvfb) Information with xdpyinfo

Ubuntu Server 16.04 running in VirtualBox Setup sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' sudo apt-get update sudo apt-...
TomSchober's user avatar
5 votes
1 answer
12k views

Extension “RANDR” missing on xvfb

Ubuntu: $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 ...
kekit's user avatar
  • 51
0 votes
1 answer
1k views

how to run "gradle run" through xvfb?

What are the equivalent directions for Ubuntu? On your CentOS 6.3 host Follow these steps to set up a CentOS 6.3 host to run headless Selenium tests with Firefox. sudo yum -y install ...
Thufir's user avatar
  • 4,551
7 votes
0 answers
2k views

Xvfb: GLX error when using nvidia driver

I would like to run some headless unit tests, my problem can be recreated with just glxinfo. I try to run: xvfb-run glxinfo It prints multiple lines about GLX: Xlib: extension "GLX" missing on ...
Dorian's user avatar
  • 270
1 vote
1 answer
965 views

xvfb-run hangs on trap/wait in Elastic Bamboo's Ubuntu 15.04 AMI on AWS

I'm trying to run some headless robot/Selenium tests via Elastic Bamboo using Xvfb, on Ubuntu 15.04 in AWS EC2. It works if I run Xvfb manually and then run the test... export display=:99 Xvfb :99 -...
Ernest Mueller's user avatar
5 votes
2 answers
14k views

Running Xvfb with firefox

I´m trying to run headlesless firefox with this command sudo xvfb-run -a firefox http://google.com so i get this error (process:9000): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size ...
Bessa's user avatar
  • 85
3 votes
1 answer
6k views

Configure xvfb for Vivid (15.04) as a service using systemd

Vivid switched from upstart to systemd. I used to have xfvb configured to run as a service under updstart. That has now broken. Under upstart, I had /etc/init/xvfb.conf: description "Xvfb X ...
Stephen Ostermiller's user avatar
2 votes
0 answers
245 views

Xvfb and scripts on Ubuntu Touch/Phone

Will I be able to run "xvfb" on Ubuntu Touch/Phone? I've read that you can use apt-get and use bash. So will I also be able to run Python scripts which use "Selenium" and "Xvfb" for headless Firefox ...
plocks's user avatar
  • 121
1 vote
1 answer
9k views

Openbox VNC on startup

I'm trying to get a openbox based VNC to run on start up, I have added the following to rc.local Xvfb :1 -extension GLX -screen 0 800x600x16& DISPLAY=:1 /usr/bin/openbox-session& ...
UserNameHere's user avatar
3 votes
1 answer
4k views

Is XVFB (X virtual framebuffer) Open Source?

Please tell me if XVFB is open source or not. If it is open source, please send me link for XVFB source package for Unix like operating systems.
prathap's user avatar
  • 31
3 votes
1 answer
2k views

Install MS Fonts for xvfb-run in Ubuntu 14.04 server

I have a cron which runs and takes a screenshot of a specific url. The job is: xvfb-run --server-args="-screen 0, 1024x768x24" /usr/bin/cutycapt --min-width=1200 --min-height=1200 --delay=1000 --...
CᴴᵁᴮᴮʸNᴵᴺᴶᴬ's user avatar
8 votes
1 answer
22k views

How to use Xvfb in Ubuntu 14.04 with/without RandR?

I try to run Unit-Tests with Selenium running Firefox on my Ubuntu 14.04 Server. And I'm using Xvfb as described in this blog to simulate a virtual display to show Firefox in. But Xvfg somehow doesn'...
Itchy's user avatar
  • 271
1 vote
1 answer
1k views

Which packages should be installed on Ubuntu server so it will be able to play video?

I have a server where Ubuntu Server 12.04 is installed. It's used for running automated browser tests. The tests use Firefox that is run in Xvfb. One of tests clicks button that usually invokes ...
Andrei Botalov's user avatar
1 vote
0 answers
759 views

Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!

I am trying to install xvfb on my ubuntu server(without desktop) in order to run a selenium test case. I followed this tutorial but while running the below code it showed me error like: root@test-...
ashutosh's user avatar
  • 123
3 votes
2 answers
12k views

Missing fonts in Xvfb

I've installed Ubuntu 12.04.3 64-bit as a guest under VMplayer running on my Win7 host. After Ubuntu installs, I launch and open a terminal. I then enter the following: sudo apt-get update sudo apt-...
gdaemon's user avatar
  • 31
2 votes
1 answer
2k views

xvfb-run with melt hangs

I am using melt utility to flatten vidoes. in it there is a plugin called kdenlivetitle. this plugin imposes title text on video but it requires X server. for that i am using xvfb-run but it hangs in-...
bitkot's user avatar
  • 213
4 votes
2 answers
4k views

install Chinese(and other utf-8) fonts for Xvfb?

I have installed these packages: apt-get install xvfb xfonts-base xfonts-75dpi xfonts-100dpi firefox But in my Firefox in Xvfb on Ubuntu Server, the Chinese characters look like: How to install ...
Lai Yu-Hsuan's user avatar
3 votes
2 answers
6k views

Can't get firefox to render the right size in a headless xvfb instance

I can start the xvfb instance just fine Xvfb :1 -screen 0 800x600x24 I can then launch firefox and have it load correctly but the window is always smaller than the resolution I set during the xvfb ...
Ryan Detzel's user avatar
  • 3,081
3 votes
1 answer
2k views

How do I get an application to display on a "dummy monitor"?

I have a GTK program which I would like to run from a console in one of the virtual terminals (over SSH, and locally). Is there a way to get this application(or any other GTK application, for future ...
nanofarad's user avatar
  • 20.7k
6 votes
2 answers
2k views

Vertical resolution over VNC multiplied by 12

I run Ubuntu 11.10 with 2 monitors at a resolution of 3840x1080. This is done via NVIDIA's TwinView mode. When I run the following command: x11vnc -safer -localhost -once -display :0 -ncache 10 -...
dpendolino's user avatar
  • 13.2k