From owner-freebsd-questions@FreeBSD.ORG Mon Apr 13 00:58:43 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8607ADB2 for ; Mon, 13 Apr 2015 00:58:43 +0000 (UTC) Received: from nm10-vm3.bullet.mail.ne1.yahoo.com (nm10-vm3.bullet.mail.ne1.yahoo.com [98.138.91.140]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 29B05FC8 for ; Mon, 13 Apr 2015 00:58:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1428886716; bh=QBFju4DF9dJCTV3ZrLJA3BZjhYoqQaXuPELQO4cAwuA=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=JV4pZvWexriwgOmRw+ZuQYiiU2V0IOjNHIjQv7WMxQyeIZmaMYTuPSarICOLigZZcUJ9tPWUqIfAv67M0APJCptcVmUfeLNCE3tWGPfi4lmL3Lw50KzihbYUed+Sm+JAG4Dijrq8OndKIfj4L4A8nS5q9KPwJR5jbXVCdkhFglgM+7ybbQKGSriAtNbrwu1gbOL3GrQBDOLdjyti+Hqvg7MlqQDrjgQWUX5cyTggHTrTSBHZdjeSDpFdhPqr1fmdIJBUXghFuJVsXvHo/kpneJVVjhN5bHT7vz73TQtwCn94f6xCaUCKAeWC9strFDogZWJBAkIGQ7WGtSy6yMBY7Q== Received: from [98.138.101.132] by nm10.bullet.mail.ne1.yahoo.com with NNFMP; 13 Apr 2015 00:58:36 -0000 Received: from [46.228.39.83] by tm20.bullet.mail.ne1.yahoo.com with NNFMP; 13 Apr 2015 00:58:36 -0000 Received: from [127.0.0.1] by smtp120.mail.ir2.yahoo.com with NNFMP; 13 Apr 2015 00:58:36 -0000 X-Yahoo-Newman-Id: 667047.61694.bm@smtp120.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: BnWcdpIVM1m4rYK73RpBUMKpoV2BaOTcY1XOKRWuY45EKD. iEzr9AN720Mt1Ud2viJJ7GCew3SDmvbC9xbv7BdQvLI0FLEU.UamBbOps56i FoviMxQtzv6lHK9YE1TfU253AFTK7PCD2ZYqAFfuJOfQZc4Rl2spAJZAfrnP PHf3xzqUGiKlVRJIdmSsacbDA0Zpg5BEJbVwaX6P5aQfwYDbHv2gHs_nP2fm tzhNzDd5pJ5lE9AWifSVZc2RO9aTzaUtOzV04olD6zcaU6DBH8jN5VCaPGsb jH1AwTFV0QDSAf2XPxisLUI48yW.uJ3oIjCqsjyKrlZgBmei98RJmtDl4oWa rvHOuHyx1lzWYzeANQENFmoLUjJGaLAKw3295ZWHq03s2eXfVCVhjwYov6Rg abRh6m9S8q2EtG5j5jGk.zH4wjwJ0rZwyZsRdtWu8B3VPCcTH5t_0w4_IT24 6IQB7f9q0EinjM3MwnOx1V2XSBDtwafS18PZfFV0i0b5ksZDcVAyMgqYrwrT CdWKUEWGGjAasTmvOCKFSAxrf.lMGc4DPIQl07IpHDVpNPsxSXhrrYXCSbBo VPLeXfPY- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Date: Mon, 13 Apr 2015 02:58:36 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: Use "kdesu" in KDE Message-ID: <20150413025836.14a7d43c@archlinux> In-Reply-To: <1846362.0RNNXTKooT@curlew.lan> References: <4358779.WdKTPnpt2K@curlew.lan> <20150412072053.49a74007@archlinux> <1846362.0RNNXTKooT@curlew.lan> X-Mailer: Claws Mail 3.11.1-79-gde6f188 (GTK+ 2.24.27; x86_64-arch-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2015 00:58:43 -0000 On Sun, 12 Apr 2015 11:47:51 +0100, Mike Clarke wrote: >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 ? I'm not using pkexec myself, but I'm using xhost like a sledgehammer on my Linux, since there it's needed even when using kdesu or gksudo. xhost + gksudo -u chuser "$*" xhost - Don't try this at home! On my machine it's ok to use xhost that way. I don't want to boot FreeBSD now. Are you sure that xhost isn't needed for kdesu on FreeBSD, if you run something as another user, excepted root?