gksu fix when mounting /home via NFS PDF Print E-mail
User Rating: / 1
PoorBest 
Written by Bart Dorlandt   
Tuesday, 10 April 2007 02:15

I'm mounting my /home from my server via NFS. Unfortunatly there is a bug in gksu. This bug will stop you from executing program with admin rights. Bug ID 14527, see also the Ubuntu Forum NL . To fix this you can do a move of the ~/.gksu.lock to /tmp and create a symbolic link to it every time you reboot.

mv ~/.gksu.lock /tmp/.gksu.`whoami`.lock
ln -s /tmp/.gksu.`whoami`.lock ~/.gksu.lock

What I've done is to touch the file /tmp/gksu.`whoami`.lock and have a symlink in your homedir. To touch the file at startup go to SystemPreferencesSession and add this startup command:

touch /tmp/gksu.`whoami`.lock

and execute this only one time in a terminal at your homedir:

ln -s /tmp/gksu.`whoami`.lock ~/.gksu.lock

Last Updated on Tuesday, 17 July 2007 14:32
 


Related items: