LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Picasa needs root (http://www.linuxquestions.org/questions/linux-software-2/picasa-needs-root-906588/)

zaphod_es 10-05-2011 11:01 AM

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:
Code:

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 :)

Steve

acid_kewpie 10-05-2011 11:05 AM

you'd add an equivalent config to /etc/sysctl.conf http://wiki.debian.org/mmap_min_addr

Nylex 10-05-2011 11:07 AM

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 12: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:
http://linux.slashdot.org/story/09/1...ted-Users-Root

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

Steve


All times are GMT -5. The time now is 01:16 PM.