From 308f8317f5f5497bfb23bf7d420297a244e79fd1 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Sat, 6 Dec 2025 20:47:53 +0000 Subject: [PATCH] faq: mention that sudo -E can be used for gparted Fixes: #80 --- src/faq.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/faq.md b/src/faq.md index 63662b9..9c818e8 100644 --- a/src/faq.md +++ b/src/faq.md @@ -327,6 +327,8 @@ HandleLidSwitchExternalPower=ignore ### Q: I'm having some trouble starting gparted +> Note: It is not recommended to run GUI clients as root. + ``` $ pkexec --disable-internal-agent /usr/sbin/gparted Invalid MIT-MAGIC-COOKIE-1 key @@ -336,3 +338,6 @@ Invalid MIT-MAGIC-COOKIE-1 key Either install `xauth` or run `xhost +si:localuser:root` as the user who started labwc (not root) to fix this. +If `xauth` and/or `xhost` are not installed, it is possible to run with +`sudo -E gparted`. +