testing on debian xfce desktop on arm64/aarch64

This commit is contained in:
Marco Cadetg
2025-04-25 11:47:38 +02:00
parent 7dd1aa55c2
commit bd9054d9df

View File

@@ -264,6 +264,26 @@ ### Troubleshooting Docker setup
xhost -local:docker
```
#### For ARM64/aarch64 systems (like Apple Silicon Macs or Raspberry Pi)
When running on ARM64 architecture, you may encounter X11 library errors such as:
- `OsError XNotSupported libraryopenerror libX11-xcb.so.1 cannot open shared object file no such file or directory`
- `libxkbcommon-x11.so could not be loaded`
To resolve these issues, mount the host system's ARM64 libraries into the container:
```sh
sudo docker run -d \
--net=host \
--cap-add=NET_ADMIN \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $HOME/.Xauthority:/root/.Xauthority \
-v /lib/aarch64-linux-gnu:/lib/aarch64-linux-gnu \
-e DISPLAY=$DISPLAY \
--name sniffnet \
ghcr.io/gyulyvgc/sniffnet:latest
</details>
## Features