LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

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:
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
 
Old 10-05-2011, 11:05 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
you'd add an equivalent config to /etc/sysctl.conf http://wiki.debian.org/mmap_min_addr
 
Old 10-05-2011, 11:07 AM   #3
Nylex
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
zaphod_es
Member
 
Registered: Jun 2003
Location: Brazil
Distribution: Ubuntu
Posts: 134

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


Reply

Tags
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 4 07-24-2011 10:17 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


All times are GMT -5. The time now is 04:08 AM.

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