Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I try to open a word document in LibreOffice 3.5, I get this error:

Either another instance of LibreOffice is accessing your personal settings or your personal settings are locked. Simultaneous access can lead to inconsistencies in your personal settings. Before continuing, you should make sure user ___ closes LibreOffice on host ___.

I've searched various forums in search of a remedy, but haven't found a solution.

Does anyone know how to resolve this?

share|improve this question
For the record, if someone with a Mac has this problem, see… for the (slightly different) correct file to find. – kcrisman Jan 21 at 19:53

If you're absolutely sure libreoffice is not running, there's a .lock file in:

Delete it to unlock your libreoffice settings for access.

A quick ps -A | grep soff should tell you if it's actually running.

share|improve this answer
OK. Thanks aking. I found the .lock file and got rid of it. I was able to open documents then but a few seconds after I try to print any document, the whole computer freezes and I have to restart it. Then there's another .lock file. any ideas on what might be causing that or a way to get an error report or something useful? Thanks again for your help – Brad Apr 29 '12 at 7:42
That last part is a bug and you should report it as such. – RobotHumans Apr 29 '12 at 7:49
With libreoffice 4.x the path changes to ~/.config/libreoffice/4/.lock – Ed Villegas Aug 27 '13 at 4:58
This thread is a top google hit, so with apologies to the ubuntu community (I'm an ubuntu user too), if anyone from OSX gets here, look in ~/Library/Application Support/libreoffice/4/user and ~/Library/Application Support/libreoffice/4/ – PatrickT May 3 at 4:24
There is a meta conversation about @PatrickT's comment above, and I am removing the other meta comments before this descends into open warfare. – Oli May 3 at 10:23

The important thing is the host-name, it should be the same with computer host-name.

I got same error after changing the host-name of my computer Instead of deleting the file, I was modified the file.

This is my example

Host=mypc020120001.mydomain <--- it was localhost.localdomain
Time=Tue Jul  3 08:09:18 2012
share|improve this answer

The previous answer assumed some knowledge on the part of the user. This one adds some elaboration.

When an instance of LibreOffice is running a hidden file is set. This hidden file is called ".lock", the "." indicates it is normally hidden from view.

When you open a terminal window it will normally start in your home directory and will only show you files that have not been set to be hidden. The home directory is the directory you "own" and normally operate within unless, of course, you assume the persona of the administrator or another user. So if you type cd .config/libreoffice/3 it will take you to a directory folder, described by "~/.config/libreoffice/3"; the "~" indicating to the operating system you are referencing this command from the point of your home directory.

When you arrive in the folder "3" you will not be able to see the ".lock" file by typing a simple "ls" because, just like the ".config" folder, the ".lock" file is hidden from view. To see it, type "ls -al". This will reveal any hidden files in the listing.

To remove this file, once in the "3" folder, you type "rm .lock". After that you might like to type ls -al just to be sure the ".lock" file is no longer present.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.