maintenance routine cleanup script needed (Re: [hoary] sudo authentication problem

Philippe Landau lists at mailry.net
Tue Mar 1 01:59:06 UTC 2005


Philippe Landau wrote:
> thank you spizkapa and Nathan and Ziyad
> 
>>> since some time when i start synaptic through the menu,
>>> it does not load.
>>> when i try it through the terminal,
>>> the following happens:
> 
> 
>>> user at donkey:~ $ sudo synaptic &
>>> Password:
>>> [1] 7249
>>>
>>> [1]+  Stopped                 sudo synaptic
>>> user at donkey:~ $ sudo ls
>>> Password:
>>> Desktop
>>> user at donkey:~ $ sudo synaptic &
>>> [2] 7261
>>> user at donkey:~ $
>>
>>
>> Use gksudo as that's what the launcher in the menu uses.  
> 
>  > 'gksudo synaptic &' should work fine because it will
>  > pop up a dialog box for you to enter your password.
> 
> interesting suggestion, it gives:
> 
> user at donkey:~ $ gksudo synaptic &
> [1] 9614
> user at donkey:~ $
> ** (gksudo:9614): WARNING **: Lock found: /home/hope/.gksu.lock. Exiting.
it looks like the gksu.lock is quite a recent hack:
http://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg03687.html
at least ubuntu should delete this lock at login.

>  > Also, I've never confirmed this, but I'm pretty sure
>  > running various gui apps as root will change the
>  > ownership of ~/.ICEauthority to root:root
>  > which gdm doesn't like (won't let you log in).
> should ubuntu not check this and offer to remedy ?

kind regards     philippe

--

http://www.ubuntuforums.org/showthread.php?p=74832#post74832

> I had this problem in Hoary. When I tried to run gksu <app> from a terminal I got:
> ** (gksu:9230): WARNING **: Lock found: <homedir>/.gksu.lock
> deleting that file fixed the problem for me. I'm guessing the lock came from killing an app with the system monitor.





More information about the ubuntu-users mailing list