Use "kdesu" in KDE

Mike Clarke jmc-freebsd2 at
Sun Apr 12 10:48:07 UTC 2015

On Sunday 12 Apr 2015 07:20:53 Ralf Mardorf wrote:
> On Sat, 11 Apr 2015 21:55:16 +0100, Mike Clarke wrote:
> >It's still there - /usr/local/lib/kde4/libexec/kdesu
> Lot of folks prefer
> over kdesu.

Interesting, I wasn't aware of that.

But can it cope with opening a window on the desktop without needing to mess 
with xhost, .Xauthority and DISPLAY ?

curlew:/home/mike% pkexec xterm
Warning: This program is an suid-root program or is being run by the root 
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
/usr/local/bin/xterm: Xt error: Can't open display: %s
/usr/local/bin/xterm: DISPLAY is not set

Mike Clarke

More information about the freebsd-questions mailing list