From b48b3fb87e447956eacfd3a897f19da033343e45 Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 16 Oct 2019 13:39:24 +0100 Subject: [PATCH] pkexec is not a reliably graphical sudo, don't use it --- qrenderdoc/Code/QRDUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/Code/QRDUtils.cpp b/qrenderdoc/Code/QRDUtils.cpp index a52466a3a..2130decf6 100644 --- a/qrenderdoc/Code/QRDUtils.cpp +++ b/qrenderdoc/Code/QRDUtils.cpp @@ -1792,7 +1792,7 @@ bool RunProcessAsAdmin(const QString &fullExecutablePath, const QStringList &par #else // try to find a way to run the application elevated. const QString graphicalSudo[] = { - lit("pkexec"), lit("kdesudo"), lit("gksudo"), lit("beesu"), + lit("kdesudo"), lit("gksudo"), lit("beesu"), }; // if none of the graphical options, then look for sudo and either