Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2015 11:47:51 +0100
From:      Mike Clarke <jmc-freebsd2@milibyte.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Use "kdesu" in KDE
Message-ID:  <1846362.0RNNXTKooT@curlew.lan>
In-Reply-To: <20150412072053.49a74007@archlinux>
References:  <CAGk=YH45E5S7S-9P53eoKJbYce82iVD1950gDfNMvDqab1D4xA@mail.gmail.com> <4358779.WdKTPnpt2K@curlew.lan> <20150412072053.49a74007@archlinux>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> 
> http://www.freedesktop.org/software/polkit/docs/0.105/pkexec.1.html
> 
> 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 
user.
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1846362.0RNNXTKooT>