How To Install x11trace on Fedora 34

x11trace is A program for X11 protocol tracing

Introduction

In this tutorial we learn how to install x11trace on Fedora 34.

What is x11trace

What strace is for system calls, x11trace is for X11 connections you hook it between one or more X11 clients and an X server and it prints the requests going from client to server and the replies, events and errors going the other way.

We can use yum or dnf to install x11trace on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install x11trace.

Install x11trace on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install x11trace using dnf by running the following command:

sudo dnf -y install x11trace

Install x11trace on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install x11trace using yum by running the following command:

sudo yum -y install x11trace

How To Uninstall x11trace on Fedora 34

To uninstall only the x11trace package we can use the following command:

sudo dnf remove x11trace

x11trace Package Contents on Fedora 34

/usr/bin/x11trace
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/54c6ad7e4fc43025de7a01ebf42b059b1b24dd
/usr/share/doc/x11trace
/usr/share/doc/x11trace/AUTHORS
/usr/share/doc/x11trace/COPYING
/usr/share/doc/x11trace/NEWS
/usr/share/doc/x11trace/README
/usr/share/man/man1/x11trace.1.gz
/usr/share/x11trace
/usr/share/x11trace/all.proto
/usr/share/x11trace/bigfont.proto
/usr/share/x11trace/bigrequest.proto
/usr/share/x11trace/composite.proto
/usr/share/x11trace/damage.proto
/usr/share/x11trace/dga.proto
/usr/share/x11trace/dpms.proto
/usr/share/x11trace/dri2.proto
/usr/share/x11trace/errors.proto
/usr/share/x11trace/events.proto
/usr/share/x11trace/fixes.proto
/usr/share/x11trace/genericevents.proto
/usr/share/x11trace/glx.proto
/usr/share/x11trace/mitshm.proto
/usr/share/x11trace/randr.proto
/usr/share/x11trace/render.proto
/usr/share/x11trace/requests.proto
/usr/share/x11trace/saver.proto
/usr/share/x11trace/setup.proto
/usr/share/x11trace/shape.proto
/usr/share/x11trace/sync.proto
/usr/share/x11trace/vidmode.proto
/usr/share/x11trace/xinerama.proto
/usr/share/x11trace/xinput.proto
/usr/share/x11trace/xkb.proto
/usr/share/x11trace/xvideo.proto

References

Summary

In this tutorial we learn how to install x11trace on Fedora 34 using yum and dnf.