How To Install x11trace on Fedora 36

In this tutorial we learn how to install x11trace in Fedora 36. x11trace is A program for X11 protocol tracing

Introduction

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

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 36. In this tutorial we discuss both methods but you only need to choose one of method to install x11trace.

Install x11trace on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install x11trace

Install x11trace on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove x11trace

x11trace Package Contents on Fedora 36

/usr/bin/x11trace
/usr/lib/.build-id
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/f76238aa9ef49754fd01c16635bd5b2e215dbb
/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 36 using yum and [dnf]((/fedora/36/dnf/).