Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-05-2011, 11:01 AM   #1
Registered: Jun 2003
Location: Brazil
Distribution: Ubuntu
Posts: 136

Rep: Reputation: 15
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

Old 10-05-2011, 11:05 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
you'd add an equivalent config to /etc/sysctl.conf
Old 10-05-2011, 11:07 AM   #3
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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.
Old 10-05-2011, 12:22 PM   #4
Registered: Jun 2003
Location: Brazil
Distribution: Ubuntu
Posts: 136

Original Poster
Rep: Reputation: 15
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



permission denied, root, sysctl

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
picasa and linux? fuzzflyer Linux - Software 7 08-29-2014 12:15 AM
Where is my Picasa? TigerLinux Ubuntu 8 02-27-2011 04:15 AM
Picasa: Please help me with deleting pictures from Picasa brjoon1021 Linux - Software 1 08-14-2007 04:22 PM
picasa does not start micder Slackware 9 01-07-2007 12:26 PM
picasa rgreeves Ubuntu 1 12-26-2006 10:53 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration