From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OzQll-0003cD-Nl for garchives@archives.gentoo.org; Sat, 25 Sep 2010 09:10:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24B63E085B; Sat, 25 Sep 2010 09:09:36 +0000 (UTC) Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53]) by pigeon.gentoo.org (Postfix) with ESMTP id F3A5BE085B for ; Sat, 25 Sep 2010 09:09:35 +0000 (UTC) Received: by ywf7 with SMTP id 7so2277768ywf.40 for ; Sat, 25 Sep 2010 02:09:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=h8k6FX5bOEwhemf7D3LWrU1y51QnyRGn4Rbh3lBG/7s=; b=EczRcP/HTLFeZk0S/a/fKsWTi2id367vfK70OXw3rw+KvGt03IoZfNH1qy0JUkP9u0 QNRxjxIRsnOngj/jueFTWRH2fgpndpDMU5r2ipZq3lxS13R9wJ86lqtlAY4KtgZNxSpx 4r3lB+5myol8YpsSyQdVFaxnkJRy57320OomM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=sXwh/tWt9pci27DcWYYjGstQ38hGFOd1j3K+D88eL5mi4bdhZ0Cj1aYza6LWVAqVH8 2VwqwJDgSnPvOqvcAj4Ro2+VBVgptc3Hf4GgKvNyo/5MVPhsz/y3BZ6+T8ve+KbE1IRS dUFo4ua+izEpRRMvzz/SP323bueSHAyuP9lVo= Received: by 10.101.149.5 with SMTP id b5mr5305653ano.32.1285405775558; Sat, 25 Sep 2010 02:09:35 -0700 (PDT) Received: from [192.168.1.2] (adsl-0-124-136.jan.bellsouth.net [65.0.124.136]) by mx.google.com with ESMTPS id c19sm5060158ana.2.2010.09.25.02.09.33 (version=SSLv3 cipher=RC4-MD5); Sat, 25 Sep 2010 02:09:34 -0700 (PDT) Message-ID: <4C9DBC4C.5090106@gmail.com> Date: Sat, 25 Sep 2010 04:09:32 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.13) Gecko/20100920 Gentoo/2.0.8-r1 SeaMonkey/2.0.8 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: X programs as root References: <4C9D666D.7090509@gmail.com> <201009250943.14700.volkerarmin@googlemail.com> In-Reply-To: <201009250943.14700.volkerarmin@googlemail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: abcbedde-a3fc-403f-9e79-c34d73fbb2e0 X-Archives-Hash: aef63c751e14af984d4411c88cd90560 Volker Armin Hemmann wrote: > On Saturday 25 September 2010, Dale wrote: > >> Nikos Chantziaras wrote: >> >>> On 09/23/2010 04:18 AM, Dale wrote: >>> >>>> Nikos Chantziaras wrote: >>>> >>>>> On 09/22/2010 09:48 PM, Andrey Vul wrote: >>>>> >>>>>> When I launch X programs via sudo, I get the following: >>>>>> >>>>>> $sudo gui-admin >>>>>> No protocol specified >>>>>> gui-admin: cannot connect to X server :0 >>>>>> >>>>>> ( Assume gui-admin is an X program ) >>>>>> >>>>>> But (gk|kde)su(do)? works. This is somewhat confusing. >>>>>> >>>>> sudo doesn't keep the $DISPLAY environment variable by default. There >>>>> could be other issues too. Best stick to kdesu and friends; that's >>>>> what they are there for. >>>>> >>>> Well, I noticed after the recent upgrade to 4.5.1 that mine doesn't work >>>> either. It worked before but not now. I'm not sure what changed between >>>> 4.4 and 4.5.1 but it broke my konqueror as root and other programs as >>>> well. Still have some I haven't tried tho. Konqueror is the one I need >>>> most. Oh, I can get Dolphin to work tho. The conspiracy theory part in >>>> me is starting to think. >>>> >>>> Sure would like to get this working again too. >>>> >>> Again, use kdesu, not sudo. >>> >>> But if some reason you want sudo, /etc/sudoers has some info: >>> ## Run X applications through sudo >>> >>> Read the comments there and uncomment what suits you. Did I mention >>> that you should use kdesu instead of sudo? :-P >>> >> Well, I don't really know what it is using. I just set up the menu item >> to run the program as root. I don't know if it uses su -, kdesu, sudo >> or what. I just know it worked until the upgrade a few days ago. >> >> Since KDE proclaimed this was supposed to be ready for widespread use >> and cut off KDE3, I sure do wish they would make up their mind HOW >> things are going to work. I would think they need to know that before >> claiming something was ready for widespread use. Makes me want to go >> back to KDE 3.5. At least I could get everything I need to work and >> survive a upgrade too. ;-) >> >> Oh well. This is the new normal for KDE I guess. lol >> >> Dale >> >> :-) :-) >> > I don't know what you are talking about. Setting up menu items? wtf? > > I run my programs through the "K menu" thingy. You know, at the bottom left of the screen. I may be doing mine different but it seems KDE doesn't want much of anything being run as root, not the way you are trying to do it, not the way I have been doing it. Still puzzled that Dolphin will work but Konqueror does not. Dale :-) :-)