Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: LibreOffice won't start

  1. #1
    Join Date
    Sep 2008
    Location
    Indiana
    Beans
    108
    Distro
    Ubuntu

    LibreOffice won't start

    I've been having trouble with LibreOffice starting. I'm running Ubuntu 12.04, and I have two different user accounts on my computer. LibreOffice used to work fine, but for the past few days I can only use LibreOffice (calc, writer, or any of the programs) when logged in as one of the users. When I'm logged in on the other account if I click on the launcher icon it just blinks and does nothing.

    I also tried launching LibreOffice in several ways and nothing seems to work. I tried from the dash and from a terminal. If I was logged in as User1 (where LibreOffice works) and then I use a terminal to su as User2, running LibreOffice as User2 from the terminal still doesn't work.

    Any ideas what could be causing this?

  2. #2
    Join Date
    Dec 2004
    Location
    Chicago, IL
    Beans
    97
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: LibreOffice won't start

    Sounds to me like a user rights issue.
    First check the permissions and ownership on the executable.

    Code:
    rich@rich2:~$ ls -l /usr/bin/libreoffice
    lrwxrwxrwx 1 root root 34 Aug  7 19:44 /usr/bin/libreoffice -> ../lib/libreoffice/program/soffice
    rich@rich2:~$ ls -l /usr/lib/libreoffice/program/soffice
    -rwxr-xr-x 1 root root 6168 Aug  7 15:23 /usr/lib/libreoffice/program/soffice
    rich@rich2:~$
    The final x must pe present on both files.

  3. #3
    Join Date
    Sep 2008
    Location
    Indiana
    Beans
    108
    Distro
    Ubuntu

    Re: LibreOffice won't start

    Quote Originally Posted by richpri View Post
    Sounds to me like a user rights issue.
    First check the permissions and ownership on the executable.

    Code:
    rich@rich2:~$ ls -l /usr/bin/libreoffice
    lrwxrwxrwx 1 root root 34 Aug  7 19:44 /usr/bin/libreoffice -> ../lib/libreoffice/program/soffice
    rich@rich2:~$ ls -l /usr/lib/libreoffice/program/soffice
    -rwxr-xr-x 1 root root 6168 Aug  7 15:23 /usr/lib/libreoffice/program/soffice
    rich@rich2:~$
    The final x must pe present on both files.
    I checked with my computer and got essentially the same output as you
    Code:
    jonpeterson@laptop:~$ ls -l /usr/bin/libreoffice 
    lrwxrwxrwx 1 root root 34 Aug  7 20:44 /usr/bin/libreoffice -> ../lib/libreoffice/program/soffice
    jonpeterson@laptop:~$ ls -l /usr/lib/libreoffice/program/soffice
    -rwxr-xr-x 1 root root 6168 Aug  7 16:23 /usr/lib/libreoffice/program/soffice

  4. #4
    Join Date
    Dec 2004
    Location
    Chicago, IL
    Beans
    97
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: LibreOffice won't start

    The problem is that there are many files that could be messed up and cause this kind of problem. Perhaps a Libreoffice expert will reply with more help.

    Try creating another user and see whether it can access the ap.

    As a last resort you could try reinstalling the application.

  5. #5
    Join Date
    Sep 2008
    Location
    Indiana
    Beans
    108
    Distro
    Ubuntu

    Re: LibreOffice won't start

    Quote Originally Posted by richpri View Post
    As a last resort you could try reinstalling the application.
    I already tried uninstalling and reinstalling LibreOffice Calc and that didn't seem to work. Maybe I need to shut the computer down before I reinstall or maybe I need to uninstall the whole LibreOffice suite, but I suspect that wouldn't work either. There seems to be something else mixed up, but I don't know what.

  6. #6
    Join Date
    Dec 2004
    Location
    Chicago, IL
    Beans
    97
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: LibreOffice won't start

    One last suggestion. Check the logs. Try

    sudo rgrep -e Libre /var/log

    Good luck.

  7. #7
    Join Date
    Sep 2008
    Location
    Indiana
    Beans
    108
    Distro
    Ubuntu

    Re: LibreOffice won't start

    Quote Originally Posted by richpri View Post
    One last suggestion. Check the logs. Try

    sudo rgrep -e Libre /var/log

    Good luck.
    Okay, I tried that command in a terminal and got the following
    Code:
    jana@laptop:~$ sudo rgrep -e Libre /var/log
    [sudo] password for jana: 
    /var/log/auth.log:Aug 21 06:45:46 laptop sudo:     jana : TTY=pts/3 ; PWD=/home/jana ; USER=root ; COMMAND=/usr/bin/rgrep -e Libre /var/log

  8. #8
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,699

    Re: LibreOffice won't start

    You could try removing all the libreoffice settings for the misbehaving user. Try this command to rename the folder with all the settings in it:
    Code:
    mv .config/libreoffice .config/libreoffice-old
    and then start libreoffice again.

    If it starts then it's something in the settings that is causing the problem. You might as well delete the bad settings folder and just reconfigure from scratch:
    Code:
    rm -rf .config/libreoffice-old
    If it still won't start, then I'm out of ideas and you may as well put the settings folder back:
    Code:
    mv .config/libreoffice-old .config/libreoffice

  9. #9
    Join Date
    Sep 2008
    Location
    Indiana
    Beans
    108
    Distro
    Ubuntu

    Re: LibreOffice won't start

    I tried moving the .config/libreoffice folder, but that didn't seem to solve anything.

    I finally fixed it by removing ALL of the LibreOffice programs in Ubuntu Software Center, restarting the computer, and then reinstalling the entire LibreOffice suite. Somehow that seemed to fixed it.

  10. #10
    Join Date
    Jul 2011
    Beans
    20

    Re: LibreOffice won't start

    I just thought that I'd narrate my experiences here. I had the same problem as the thread originator (peterson43). I couldn't start any LibreOffice program. When clicked, the LibreOffice icon would just blink and then nothing would happen. The problem seemed to begin when I tried to open a Microsoft Office document that I had saved from our municipality's website. (I have previously opened the document without incident.) The other three other users on the computer could use LibreOffice, but I couldn't.

    I tried peterson43's solution of deleting LibreOffice, rebooting, and reinstalling it, but that didn't change anything: the experiences remained the same for all users.

    I then tried the solution offered by poster #7, The Cog, typing mv -rf .config/libreoffice .config/libreoffice-old and that worked (I did have to use sudo to remove that directory and its subdirectories).

    So everything is fine now.

    I might mentioned that I exchange many LibreOffice documents with Windows users (texts and spreadsheets), though I always save the documents as Microsoft Office documents before I send them to others.

    Many thanks for the postings! I appreciate them very much.

    Brian
    Last edited by abriano; September 26th, 2012 at 02:27 AM.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •