In this article, we will see an interesting issue where libreoffice gets failed to start and throws an error that installation is not complete.
I. Error Details.
Libreoffice error application cant be started. User installation not complete bash-4.2$ libreoffice [Java framework] Error in function createSettingsDocument (elements.cxx). javaldx failed! Warning: failed to read path from javaldx Gtk-Message: 06:53:38.763: GtkDialog mapped without a transient parent. This is discouraged. bash-4.2$
II. Root cause of this error.
This error occurs when you dont have rights to run the javaldx. Try to run this with root user. In my case, it ran successfully with root user. bash-4.2$ sudo libreoffice bash-4.2$
The home directory of the user should be writable by the user.
For experiment you can try to set your home directory to /tmp, and then you will be able to run the Libre Office.
bash-4.2$ export HOME=/tmp/ bash-4.2$ libreoffice