How To Install xserver-xephyr on Ubuntu 20.04

In this tutorial we learn how to install xserver-xephyr on Ubuntu 20.04. xserver-xephyr is nested X server nested X server nested X server

Introduction

In this tutorial we learn how to install xserver-xephyr on Ubuntu 20.04.

What is xserver-xephyr

xserver-xephyr is:

Xephyr is an X server that can be run inside another X server, much like Xnest. It is based on the kdrive X server, and as a result it supports newer extensions than Xnest, including render and composite.

More information about X.Org can be found at: URL:https://www.x.org

This package is built from the X.org xserver module. Task: ubuntu-desktop-minimal, ubuntu-desktop

Package: xserver-xephyr Architecture: amd64 Version: 2:1.20.9-2ubuntu1.2~20.04.2 Priority: optional Section: x11 Source: xorg-server Origin: Ubuntu Maintainer: Ubuntu X-SWAT [email protected] Original-Maintainer: Debian X Strike Force [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2582 Provides: xserver Depends: xserver-common (>= 2:1.20.9-2ubuntu1.2~20.04.2), libaudit1 (>= 1:2.2.1), libbsd0 (>= 0.7.0), libc6 (>= 2.29), libepoxy0 (>= 1.0), libgcrypt20 (>= 1.8.0), libgl1, libpixman-1-0 (>= 0.30.0), libselinux1 (>= 2.0.82), libsystemd0, libudev1 (>= 183), libunwind8, libx11-6, libx11-xcb1 (>= 2:1.6.9), libxau6, libxcb-icccm4 (>= 0.4.1), libxcb-image0 (>= 0.2.1), libxcb-keysyms1 (>= 0.4.0), libxcb-randr0 (>= 1.1), libxcb-render-util0, libxcb-render0, libxcb-shape0, libxcb-shm0 (>= 1.10), libxcb-util1 (>= 0.4.0), libxcb-xkb1, libxcb-xv0 (>= 1.2), libxcb1 (>= 1.8), libxdmcp6, libxfont2 (>= 1:2.0.1), libxshmfence1 Recommends: libgl1-mesa-dri (>= 7.1~rc1) Filename: pool/main/x/xorg-server/xserver-xephyr_1.20.9-2ubuntu1.2~20.04.2_amd64.deb Size: 914792 MD5sum: 8f308113d9156dbe9ef705156c7ba9c9 SHA1: 372de5bf36fcbfc53a043e67f4f0b86ea6f6d632 SHA256: e6f952b38f241460a6bbe75c0a03705bdc5aef0ed23ce5d898f4e11861feab96 SHA512: 57a3e0ad3052d3b2014134870dcd776ae86ddbdd5071e10aa6b9c08ff045f2d8dbffa9c880b2222ac8c39f3d4198ea3ba0b74ed7b3e0e25334fe842843c7e7e4 Homepage: https://www.x.org/ Description-en: nested X server Xephyr is an X server that can be run inside another X server, much like Xnest. It is based on the kdrive X server, and as a result it supports newer extensions than Xnest, including render and composite.

More information about X.Org can be found at: URL:https://www.x.org

This package is built from the X.org xserver module. Task: ubuntu-desktop-minimal, ubuntu-desktop

Package: xserver-xephyr Architecture: amd64 Version: 2:1.20.8-2ubuntu2 Priority: optional Section: x11 Source: xorg-server Origin: Ubuntu Maintainer: Ubuntu X-SWAT [email protected] Original-Maintainer: Debian X Strike Force [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2577 Provides: xserver Depends: xserver-common (>= 2:1.20.8-2ubuntu2), libaudit1 (>= 1:2.2.1), libbsd0 (>= 0.7.0), libc6 (>= 2.29), libepoxy0 (>= 1.0), libgcrypt20 (>= 1.8.0), libgl1, libpixman-1-0 (>= 0.30.0), libselinux1 (>= 2.0.82), libsystemd0, libudev1 (>= 183), libunwind8, libx11-6, libx11-xcb1 (>= 2:1.6.9), libxau6, libxcb-icccm4 (>= 0.4.1), libxcb-image0 (>= 0.2.1), libxcb-keysyms1 (>= 0.4.0), libxcb-randr0 (>= 1.1), libxcb-render-util0, libxcb-render0, libxcb-shape0, libxcb-shm0 (>= 1.10), libxcb-util1 (>= 0.4.0), libxcb-xkb1, libxcb-xv0 (>= 1.2), libxcb1 (>= 1.8), libxdmcp6, libxfont2 (>= 1:2.0.1), libxshmfence1 Recommends: libgl1-mesa-dri (>= 7.1~rc1) Filename: pool/main/x/xorg-server/xserver-xephyr_1.20.8-2ubuntu2_amd64.deb Size: 912928 MD5sum: 8fe990b933b58516809cc4dfa0c60a27 SHA1: 165b0810911e1db839412c3623a8f7b9c6a338e1 SHA256: 42946442eb0af97df9e1a91a13e435afb076021386694cd0a33efd15eb748441 Homepage: https://www.x.org/ Description-en: nested X server Xephyr is an X server that can be run inside another X server, much like Xnest. It is based on the kdrive X server, and as a result it supports newer extensions than Xnest, including render and composite.

More information about X.Org can be found at: URL:https://www.x.org

This package is built from the X.org xserver module. Task: ubuntu-desktop-minimal, ubuntu-desktop

There are three methods to install xserver-xephyr on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install xserver-xephyr Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install xserver-xephyr using apt-get by running the following command:

sudo apt-get -y install xserver-xephyr

Install xserver-xephyr Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xserver-xephyr using apt by running the following command:

sudo apt -y install xserver-xephyr

Install xserver-xephyr Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install xserver-xephyr using aptitude by running the following command:

sudo aptitude -y install xserver-xephyr

How To Uninstall xserver-xephyr on Ubuntu 20.04

To uninstall only the xserver-xephyr package we can use the following command:

sudo apt-get remove xserver-xephyr

Uninstall xserver-xephyr And Its Dependencies

To uninstall xserver-xephyr and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove xserver-xephyr

Remove xserver-xephyr Configurations and Data

To remove xserver-xephyr configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge xserver-xephyr

Remove xserver-xephyr configuration, data, and all of its dependencies

We can use the following command to remove xserver-xephyr configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge xserver-xephyr

References

Summary

In this tutorial we learn how to install xserver-xephyr package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.