website/content/blog/xvfb.md

23 lines
671 B
Markdown
Raw Permalink Normal View History

2020-09-07 21:47:59 -04:00
---
2023-01-18 11:50:40 -05:00
title: "Ignore graphical applications with Xvfb"
2020-09-07 21:47:59 -04:00
date: 2020-09-07T20:49:54-04:00
draft: false
2022-01-02 14:24:29 -05:00
tags: ["X11"]
2023-01-05 14:04:45 -05:00
medium_enabled: true
2020-09-07 21:47:59 -04:00
---
X Virtual Framebuffer (Xvfb) is a great quick application to run applications that expect a `X11` server, but you don't care to see the visual output.
To install:
```bash
sudo apt install xvfb
```
To run:
```bash
xvfb-run application
```
2022-12-05 12:07:22 -05:00
For more customization, I hear that it's better to use [xpra with Xdummy](https://web.archive.org/web/20200926082251/https://xpra.org/trac/wiki/Xdummy). I haven't tried this myself yet, but if you experience issues with the application expecting `randr` or `glx` extensions, give it a shot.