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
1 vote
0 answers
58 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 ...
user avatar
0 votes
0 answers
287 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 ...
user avatar
  • 171
0 votes
0 answers
67 views

How can I start another startx within desktop?

I want to start another startx within user desktop. It should be possible via Xvfb, Xnest, Xvnc... But how? For example: xhost + Xvfb :1 -screen 0 1280x800x16 & x11vnc -display :1 -clip ...
user avatar
  • 4,844
0 votes
0 answers
45 views

Xvfb started using reboot always shows in use?

I am trying to run: /usr/bin/Xvfb :10 -ac -screen 0 1024x768x24 & Using cron: @reboot /usr/bin/Xvfb :10 -ac -screen 0 1024x768x24 & >> /home/ubuntu/xvfb.log 2>&1 When I reboot ...
user avatar
  • 143
3 votes
0 answers
230 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 ...
user avatar
  • 131
1 vote
0 answers
1k 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 ...
user avatar
  • 161
2 votes
0 answers
564 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 '...
user avatar
2 votes
1 answer
3k 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 ...
user avatar
1 vote
1 answer
544 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 ...
user avatar
  • 21
1 vote
0 answers
128 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 ...
user avatar
  • 111
1 vote
1 answer
276 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 ...
user avatar
  • 319
0 votes
0 answers
589 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 ...
user avatar
  • 103
1 vote
1 answer
94 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 ...
user avatar
  • 203
2 votes
1 answer
3k 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/...
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 ...
user avatar
  • 21
3 votes
0 answers
612 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 ...
user avatar
  • 31
0 votes
1 answer
945 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 ...
user avatar
  • 117
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 ...
user avatar
  • 355
0 votes
2 answers
5k 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
2k 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-...
user avatar
5 votes
1 answer
11k 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 ...
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 ...
user avatar
  • 4,343
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 ...
user avatar
  • 270
1 vote
1 answer
864 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 -...
user avatar
5 votes
2 answers
13k 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 ...
user avatar
  • 85
3 votes
1 answer
5k 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 ...
user avatar
2 votes
0 answers
228 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 ...
user avatar
  • 121
1 vote
1 answer
8k 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& ...
user avatar
2 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.
user avatar
  • 21
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 --...
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'...
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 ...
user avatar
1 vote
0 answers
742 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-...
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-...
user avatar
  • 31
2 votes
1 answer
1k 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-...
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 ...
user avatar
3 votes
2 answers
5k 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 ...
user avatar
  • 2,791
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 ...
user avatar
  • 20.2k
5 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 -...
user avatar
  • 12.7k