Re: Errors in Kubuntu or Kate

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Dazed_75
Date:  
To: Main PLUG discussion list
Subject: Re: Errors in Kubuntu or Kate
On Mon, Nov 28, 2011 at 8:23 AM, Stephen <> wrote:

> Ubuntu and its derivatives have specifically limited X so that it
> cannot be run as root, only as a user.
>
> This is why it complains, other distros that allow x to run as root
> are the ones who don't complain because it can spawn root X elements.
>


Except that on ubuntu it works and does not complain. On Kubuntu, it
complained, but it worked anyway. Ubuntu does have gksudo intended for
using sudo to run gui stuff and apparently (from another response)
Kubuntu/KDE has kdesudo. Seems a waste to have two utilities if they both
work. I wonder what actual difference there is that might add value to the
latter.

>
> this is done as a security choice.
>
> IT wreaks unholy hell with an installer we use at work to install our
> software because it wont work unless it runs as root. so that limits
> what distros we can even hope to install on. but as it does work on
> the one we do support development is happy.
>
> On Sun, Nov 27, 2011 at 5:18 PM, Dazed_75 <> wrote:
> > ROFL !!! One of the things I have always disliked about KDE is the
> > insistence that that jave to roll their own packages and name them with
> an
> > initial k or kde. I am sure there is sometimes a reason to do that but
> with
> > sudo? I hardly think there could be a real reason. Of course, I have
> not
> > yet hit my limit of being wrong 100 times yet today.
> >
> > On Sun, Nov 27, 2011 at 5:13 PM, James Mcphee <> wrote:
> >>
> >> Agreed. Maybe kdesudo would play happier. But goofy stuff like that is
> >> why I decided to switch away from kde.
> >>
> >> On Sun, Nov 27, 2011 at 5:10 PM, Dazed_75 <> wrote:
> >>>
> >>> Of course. And I did ignore it. However, sudo does not give those
> kinds
> >>> of errors in other distros and derivatives where I have used it. Kind
> of
> >>> silly to give errors saying we know what you are doing and while it is
> >>> perfectly legitimate and the purpose of using sudo, we just thought we
> would
> >>> complain and possibly confuse you. :)
> >>>
> >>> On Sun, Nov 27, 2011 at 5:05 PM, James Mcphee <>
> wrote:
> >>>>
> >>>> You're running a kde app as root, that's what the sudo thing does. It
> >>>> tries to connect to your kde session and notices that it's owned by
> you and
> >>>> not the UID of the process you're launching, and complains. If it
> works, I
> >>>> say ignore it.
> >>>>
> >>>> On Sun, Nov 27, 2011 at 4:50 PM, Dazed_75 <>
> wrote:
> >>>>>
> >>>>> Anyone know why these errors would occur from trying to edit a system
> >>>>> file in Kubuntu 11.10 using Kate?
> >>>>>>
> >>>>>> larry@hammerhead:~$ sudo kate /etc/lsb-release
> >>>>>> Error: "/var/tmp/kdecache-larry" is owned by uid 1000 instead of uid
> >>>>>> 0.
> >>>>>> Error: "/tmp/kde-larry" is owned by uid 1000 instead of uid 0.
> >>>>>> Error: "/tmp/ksocket-larry" is owned by uid 1000 instead of uid 0.
> >>>>>> kdeinit4: Shutting down running client.
> >>>>>> Connecting to deprecated signal
> >>>>>>
> QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
> >>>>>> Error: "/tmp/ksocket-larry" is owned by uid 1000 instead of uid 0.
> >>>>>> Error: "/tmp/kde-larry" is owned by uid 1000 instead of uid 0.
> >>>>>> Error: "/var/tmp/kdecache-larry" is owned by uid 1000 instead of uid
> >>>>>> 0.
> >>>>>> kbuildsycoca4 running...
> >>>>>> Error: "/var/tmp/kdecache-larry" is owned by uid 1000 instead of uid
> >>>>>> 0.
> >>>>>> Error: "/var/tmp/kdecache-larry" is owned by uid 1000 instead of uid
> >>>>>> 0.
> >>>>>> Error: "/tmp/kde-larry" is owned by uid 1000 instead of uid
> >>>>>> 0.
> >>>>>>
> >>>>>> larry@hammerhead:~$
> >>>>>>
> >>>>> Kate ran and the edit did work BTW
> >>>>> --
> >>>>> Dazed_75 a.k.a. Larry
> >>>>>
> >>>>> Please protect my address like I protect yours. When sending messages
> >>>>> to multiple recipients, always use the BCC: (Blind carbon copy) and
> not To:
> >>>>> or CC:. Also remove all of the addresses from the message body before
> >>>>> forwarding the message. These simple measures prevent spy programs
> from
> >>>>> capturing the addresses shown in the recipient list and the message
> body.
> >>>>>
> >>>>> ---------------------------------------------------
> >>>>> PLUG-discuss mailing list -
> >>>>> To subscribe, unsubscribe, or to change your mail settings:
> >>>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> James McPhee
> >>>>
> >>>>
> >>>> ---------------------------------------------------
> >>>> PLUG-discuss mailing list -
> >>>> To subscribe, unsubscribe, or to change your mail settings:
> >>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >>>
> >>>
> >>>
> >>> --
> >>> Dazed_75 a.k.a. Larry
> >>>
> >>> Please protect my address like I protect yours. When sending messages
> to
> >>> multiple recipients, always use the BCC: (Blind carbon copy) and not
> To: or
> >>> CC:. Also remove all of the addresses from the message body before
> >>> forwarding the message. These simple measures prevent spy programs from
> >>> capturing the addresses shown in the recipient list and the message
> body.
> >>>
> >>> ---------------------------------------------------
> >>> PLUG-discuss mailing list -
> >>> To subscribe, unsubscribe, or to change your mail settings:
> >>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >>
> >>
> >>
> >> --
> >> James McPhee
> >>
> >>
> >> ---------------------------------------------------
> >> PLUG-discuss mailing list -
> >> To subscribe, unsubscribe, or to change your mail settings:
> >> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> >
> >
> > --
> > Dazed_75 a.k.a. Larry
> >
> > Please protect my address like I protect yours. When sending messages to
> > multiple recipients, always use the BCC: (Blind carbon copy) and not To:
> or
> > CC:. Also remove all of the addresses from the message body before
> > forwarding the message. These simple measures prevent spy programs from
> > capturing the addresses shown in the recipient list and the message body.
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list -
> > To subscribe, unsubscribe, or to change your mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
>
>
>
> --
> A mouse trap, placed on top of your alarm clock, will prevent you from
> rolling over and going back to sleep after you hit the snooze button.
>
> Stephen
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>




--
Dazed_75 a.k.a. Larry

Please protect my address like I protect yours. When sending messages to
multiple recipients, always use the BCC: (Blind carbon copy) and not To: or
CC:. Also remove all of the addresses from the message body before
forwarding the message. These simple measures prevent spy programs from
capturing the addresses shown in the recipient list and the message body.
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss