-   Linux - Software (
-   -   Picasa needs root (

zaphod_es 10-05-2011 12:01 PM

Picasa needs root
On Ubuntu 10.04 with kernel 2.6.32-33 Picasa would not start because of a problem with permissions. After a bit of searching I found this command which fixes the problem:

sudo sysctl -w vm.mmap_min_addr=0
I was not happy running a command I did not understand as root but this seemed better than always running picasa as root.

The problem is that this command needs to be repeated each time the computer is booted. I need help making the changes permanent. It is my wife's computer and if I suggest that she types a command on a terminal she starts using the W word :)


acid_kewpie 10-05-2011 12:05 PM

you'd add an equivalent config to /etc/sysctl.conf

Nylex 10-05-2011 12:07 PM

You can put "vm.mmap_min_addr = 0" in /etc/sysctl.conf, as the man page for sysctl suggests. Obviously, you'll need to use sudo to edit the file.

zaphod_es 10-05-2011 01:22 PM

Thanks acid_kewpie but the link you gave gives this suggestion:
[code]# echo "vm.mmap_min_addr = 0" > /etc/sysctl.d/mmap_min_addr.conf
# /etc/init.d/procps restart {/code]

I guess this is a difference between Ubuntu and Debian. It is very confusing with the differences between distros, Picasa using its own version of Wine and changes in different versions of the OS and various apps.

Nylex, I did read the man file before posting but it really was not much help. I dare say it can be interpreted in the way you suggest but it is very murky! I really no not like to mess with stuff like this until I am quite sure that it is safe. Especially when there are warnings like this:

I did as you both suggested, rebooted and Picasa fired up perfectly. My wife says thanks :)


All times are GMT -5. The time now is 02:53 PM.