WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit de69c6d

Browse files
committed
faq: mention that sudo -E can be used for gparted
Fixes: #80
1 parent 8701f8a commit de69c6d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/faq.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,8 @@ HandleLidSwitchExternalPower=ignore
327327

328328
### Q: I'm having some trouble starting gparted
329329

330+
> Note: It is not recommended to run GUI clients as root.
331+
330332
```
331333
$ pkexec --disable-internal-agent /usr/sbin/gparted
332334
Invalid MIT-MAGIC-COOKIE-1 key
@@ -336,3 +338,6 @@ Invalid MIT-MAGIC-COOKIE-1 key
336338
Either install `xauth` or run `xhost +si:localuser:root` as the user who
337339
started labwc (not root) to fix this.
338340

341+
If `xauth` and/or `xhost` are not installed, it is possible to run with
342+
`sudo -E gparted`.
343+

0 commit comments

Comments
 (0)