LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Libreoffice writer not working in Debian9 + LXDE/Mate (https://www.linuxquestions.org/questions/debian-26/libreoffice-writer-not-working-in-debian9-lxde-mate-4175609421/)

rng 07-08-2017 02:41 AM

Libreoffice writer not working in Debian9 + LXDE/Mate
 
I recently updated Debian8 to 9 and it is otherwise working very well. I had KDE installed but I also installed LXDE with task-lxde-desktop and that is also working very well. Similarly, I also have Mate desktop installed.

I also have Libreoffice installed and I use it for spreadsheets and documents.

Libreoffice works very well in KDE. However, in LXDE and Mate, I have following problem:

The spreadsheets are being opened very well with Libreoffice calc. But, .doc files are not opening. I have also tried from command line with following commands:

Code:

libreoffice mydoc.doc
it starts and Libreoffice5 banner shows. However, it just closes without any message on the terminal (as if exiting normally).

If I give only command
Code:

libreoffice
it starts and displays office screen. I can then open a new spreadsheet, presentation, math, draw or database. But if I click 'Writer document' to open a new document, it just closes (without any error message on terminal).

Where is the problem and how can this be solved? Thanks for your help.

hydrurga 07-08-2017 09:21 AM

Exit OpenOffice and check to see that there isn't some stray OpenOffice process left running in the background, perhaps as a dependency of a KDE menu, or reboot to kill any such process.

hazel 07-09-2017 12:00 PM

I've just tried and had no problems opening both doc and docx files from inside Writer. I also tried a doc file from the command line and it opened. This is in lxde.

AwesomeMachine 07-09-2017 09:27 PM

Try reinstalling LibreOffice.

rng 07-10-2017 02:03 AM

I tested again. In my system with multiple desktops installed, the command 'lowriter' exits without any message in LXDE, Mate and Xfce. It works all right in KDE Plasma. In Openbox, it gives following error, which may indicate the problem:

Code:

non-network local connections being added to access control list
abcde@debian-netinst:~$ lowriter

(process:3719): dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user': Permission denied.  dconf will not work properly.

** (soffice:3719): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
abcde@debian-netinst:~$

What does this message mean?

descendant_command 07-10-2017 02:11 AM

See
http://forums.debian.net/viewtopic.php?f=6&t=133566
and
https://bugs.debian.org/cgi-bin/bugr...cgi?bug=820081

rng 07-10-2017 09:15 AM

Good news! It has started working normally after removing 'libreoffice-gtk2' which was installed on my system. The icons etc are looking all right.

hydrurga 07-10-2017 09:17 AM

Quote:

Originally Posted by rng (Post 5733159)
Good news! It has started working normally after removing 'libreoffice-gtk2' which was installed on my system. The icons etc are looking all right.

Thanks for letting us know.


All times are GMT -5. The time now is 04:03 PM.