From e0253d71c0e3ff52db465567d6654dcd88d1b293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Sun, 22 Dec 2024 20:45:51 +0800 Subject: [PATCH] Doc: add comments for running fastfetch in root --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 01f9d44bf..3563d39f8 100644 --- a/README.md +++ b/README.md @@ -199,6 +199,10 @@ Try upgrading `pci.ids`: Download and over Alternatively, you may try to use `fastfetch --gpu-driver-specific`, so that `fastfetch` will try to ask the driver for GPU name if supported. +### Q: I get error `Authorization required, but no authorization protocol specified` when running fastfetch in root + +Try `export XAUTHORITY=$HOME/.Xauthority` + ### Q: Fastfetch cannot detect my awesome 3rd-party macOS window manager! Try `fastfetch --wm-detect-plugin`. See also [#984](https://github.com/fastfetch-cli/fastfetch/issues/984)