From: Volker Armin Hemmann <volkerarmin@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: X programs as root
Date: Sat, 25 Sep 2010 09:43:14 +0200 [thread overview]
Message-ID: <201009250943.14700.volkerarmin@googlemail.com> (raw)
In-Reply-To: <4C9D666D.7090509@gmail.com>
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?
next prev parent reply other threads:[~2010-09-25 8:05 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-22 18:48 [gentoo-user] X programs as root Andrey Vul
2010-09-22 19:01 ` Volker Armin Hemmann
2010-09-22 19:08 ` [gentoo-user] " Nikos Chantziaras
2010-09-23 1:18 ` Dale
2010-09-24 22:24 ` Andrey Vul
2010-09-24 23:35 ` Nikos Chantziaras
2010-09-25 3:03 ` Dale
2010-09-25 7:43 ` Volker Armin Hemmann [this message]
2010-09-25 9:09 ` Dale
2010-09-25 8:14 ` Yohan Pereira
2010-09-25 9:21 ` Dale
2010-09-25 9:37 ` Yohan Pereira
2010-09-25 10:18 ` Dale
2010-09-26 11:06 ` Dale
2010-09-26 14:11 ` Robin Atwood
2010-09-26 14:28 ` Dale
2010-09-27 17:54 ` Helmut Jarausch
2010-10-05 5:22 ` Andrey Vul
2010-10-17 12:45 ` Kevin O'Gorman
2010-10-17 13:00 ` Nikos Chantziaras
2010-10-17 13:03 ` Nikos Chantziaras
2010-10-17 15:37 ` Alan McKinnon
2010-10-17 17:13 ` Kevin O'Gorman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201009250943.14700.volkerarmin@googlemail.com \
--to=volkerarmin@googlemail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox