trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: November 2010

Re: [trinity-users] kdesudo and kdesu

From: Bernd Müffeler <growanda@...>
Date: Thu, 04 Nov 2010 12:07:35 +0100
Am 31.10.2010 22:53, schrieb Jimmy Johnson:
> Bernd Müffeler wrote:
>> Am 31.10.2010 06:57, schrieb Jimmy Johnson:
>>> Bernd Müffeler wrote:
>>>> Am 30.10.2010 01:09, schrieb Jimmy Johnson:
>>>>> David Hare wrote:
>>>>>> I have tested various workarounds for getting GUI stuff as root
>>>>>> (without enabling sudo) for the past week.  Some Debian users are 
>>>>>> not
>>>>>> comfortable with sudo at all (especially if configured for root 
>>>>>> access
>>>>>> without password) and prefer the root password to be required for
>>>>>> administration.
>>>>>>
>>>>>> I have now settled on a workable solution with Trinity.
>>>>>>
>>>>>> Using:
>>>>>>
>>>>>> kdesu <kdeapp> --nonewdcop
>>>>>>
>>>>>> with the configs I posted earlier has not failed once. (must create
>>>>>> file kdesurc and purge kdesudo-trinity)
>>>>>>
>>>>>> It seems the user's dcop and/or klauncher crashes if/when root 
>>>>>> gets a
>>>>>> new dcop. I don't know why, when I used sudo initially, that did not
>>>>>> happen.
>>>>>>
>>>>>> I edited the menu with a new "root apps" section (konq, kwrite, 
>>>>>> kuser)
>>>>>> configured like that, with "run as different user" unchecked so can
>>>>>> now use terminal, run box or menu.
>>>>>>
>>>>>> Non-trinity, gtk apps (synaptic, gparted, zenity) I had problems 
>>>>>> with
>>>>>> before seem fixed by adding to ~/.bashrc:
>>>>>>
>>>>>> export XAUTHORITY=$HOME/.Xauthority
>>>>>>
>>>>>> Needed reboot (or relogin) to register that. Don't know if that has
>>>>>> security issues but it works.
>>>>>>
>>>>>> I can now open, error-free, as root from terminal or via custom 
>>>>>> script with:
>>>>>>
>>>>>> dbus-launch <gtk-app>
>>>>>>
>>>>>> That will not work for trinity apps.
>>>>>>
>>>>>> sux gives the same problem as kdesu without --nonewdcop; can't use
>>>>>> that (for Trinity apps) now but never mind
>>>>>
>>>>>
>>>>> I now have a recipe too, of course I have only tested this with 
>>>>> Squeeze and have been using it since yesterday and it seems to 
>>>>> work perfect.
>>>>>
>>>>> Using synaptic Install:
>>>>>
>>>>> gksu
>>>>> gksu-polkit
>>>>> sudo
>>>>>
>>>>> And completely Remove:
>>>>>
>>>>> kdesudo
>>>>> kdesudo-trinity
>>>>> sudo-trinity
>>>>>
>>>>> As "User" run 'gksu-properties' and change "su" to "sudo" and you 
>>>>> will always be prompted for a password when you need elevated 
>>>>> privileges.
>>>>>
>>>> At first it was a good idea. But there is no packet gksu-polkit in 
>>>> Debian Lenny.
>>>
>>> No, but 'gksu-properties' still works, just not as expected.
>>>
>>>
>>>> And when you will remove sudo-trinity he will remove also a many 
>>>> packets from trinity.
>>>
>>> Installing sudo will remove sudo-trinity, but things in Lenny are 
>>> not working as expected.
>>>
>>>
>>>> So you have no change with this workaround under Debian Lenny, sorry.
>>>> Best wishes
>>>> bernd
>>>
>>>
>>> I just now installed Lenny with trinity and I will see what I can 
>>> do, right now nothing is working as expected. :-(
>>>
>> Thanks for the answer, I hope you will find a solution.
>> I love the trinity project and I will work with this KDE.
>> Best wishes
>> bernd
>
>
> Sorry I got your hopes up, but I deleted trinity on Lenny last night, 
> it should just work but it don't and it's to easy to install KDE 
> 3.5.10 to try and fix trinity.  I think it's a lot more important to 
> have trinity working on Squeeze anyways.
>
> Regards,
>
Sorry for the late answer. I cant work with trinity on Squeeze. I have 
many problems
with my hardware on Squeeze.
Ok I work with trinity on Lenny with the end for Lenny, and when I work 
as root I went to console
and work with the midnightcommander.
KDE 4 is no way for me and so  I work with trinity.
also thanks for your help and best wishes
bernd