Libreoffice 5.2 not starting

Hi there,
I installed Libreoffice 5.2 on a linux distribution (Edubuntu 14.04), where there are configured multiple users.
For two of them, when Libreoffice is executed, the system advises that Libreoffice is not installed... Where could be the problem ? Libreoffice is installed and working for other users...

Thank and regards

Fiorenza Meini

There should be some difference between the ~/.config/libreoffice/4 repertories of each user, shouldn't ?

Je la 09/03/2017 09:43, Fiorenza Meini skribis :

I tried to remove the .config/libreoffice directory and execute libreoffice again... the .config/libreoffice was created, but the program doesn't run !

I don't understand why the system tells me libreoffice is not installed....even if it is....

Regards
Fiorenza

What is the output on the terminal if you try and launch LibreOffice for
one of the troubled users from a terminal session when that user is
logged in ?

Alex

Hi,
it tells that libreoffice is non installed.
No error is given.

Regards
Fiorenza

For a user that it works, open a terminal and type which libreoffice and see
where it finds the program. On an older ubuntu machine it found
/usr/bin/libreoffice for my home machine it is /usr/bin/libreoffice5.3 on my
machine. There might also be a symbolic link to it.

Mine had an older link with libreoffice pointing to the old 5.2, which I recently
removed after installing 5.3, so I removed and recreated link.

Is there a difference in paths between users?

If you run it from the terminal does it work?
libreoffice
libreoffice5.2
/usr/bin/libreoffice
/usr/bin/libreoffice5.2

Hi,

it tells that libreoffice is non installed.
No error is given.

It sounds like there is a permissions problem with those particular
user's setups, especially if other users on the same machine can start
LibreOffice without a problem.

See for example :

https://ask.libreoffice.org/en/question/19549/office-permission/

and

http://askubuntu.com/questions/678094/libreoffice-5-refuses-to-start

which appear to relate to similar problems.

From these links, it appears you would need to check whether or not the

user's libreoffice configuration folders are owned by the correct user
(i.e. not root) and have the correct corresponding user permissions.

Alex

Hi,
path on both account are the same :frowning:

The only difference we can see, is that if I give the command "type libreoffice5.2 on the working account, I see "hashing done on libreoffice5.2 (/usr/bin/libreoffice5.2)".
If I give the same commando the NON WORKING account, I see: libreoffice5.2 is /usr/bin/libreoffice5.2.

The behaviour isn't the same !
What does mean "hashing done" ? Perhaps is this the problem ?

Regards
Fiorenza

Thank for your response.
I'll check and I'll let you know if the problem is solved.

Regards

Fiorenza

Not sure what the hashing done means??

On the non-working users what happens if you run
/usr/bin/libreoffice5.2

I does not start.

you might also want to try running it with strace
strace /usr/bin/libreoffice5.2 It might show some info.

Might need to install strace.

Ok, I'll do it as soon as possible.
Now I don't have the PC where I have the problem with me.

I'll give you a reply soon.

Thanks and regards

Fiorenza

Hi Fiorenza,

The only difference we can see, is that if I give the command "type
libreoffice5.2 on the working account, I see "hashing done on
libreoffice5.2 (/usr/bin/libreoffice5.2)".
If I give the same commando the NON WORKING account, I see:
libreoffice5.2 is /usr/bin/libreoffice5.2.

The behaviour isn't the same !
What does mean "hashing done" ? Perhaps is this the problem ?

At a guess, the DEB package that points to /usr/bin/libreOffice5.2 is
hashed for installation security reasons (part of the signing of the
packages) and this hash is verified when a user attempts to execute a
program from that link.

In the non-functional user accounts, the hash isn't verified, so the
application isn't executed (I'm just speculating here, don't take my
word as gospel).

This kind of rings a bell as a Ubuntu bug I read about a while ago where
some user accounts when created did not have an appropiate set up of
executable links to libreoffice - some kind of problem with /etc/skel
not copying everything or setting correct permissions for the newly
created user.

Perhaps you might find something by searching in the Ubuntu launchpad
bug database ?

Alex