LibreOffice issue, I need it for work

Are you sure that you are using an up-to-date Parrot?

1 Like

Hello all. I just installed Parrot OS as a dual boot with win10 today using a bootable usb drive created with etcher. During the installation, I was not prompted to create a root password. The installation only prompted for name, username, and password.

During the first login, I was prompted to check and install updates which I did. I haven’t changed or installed anything else.

I have the same issue as the OP. I cannot get any of the LibreOffice applications to run. Any ideas to fix?

1 Like

Open Terminal

sudo soffice

Hope this will work for you

1 Like

Hi addwine, this certainly worked! Thank you!

Is this a workaround to launch from terminal, or is there a fix to launch from the menu shortcuts?

thanks again!

This workaround isnt ideal. But if it is working i guess there is no harm done.

You can get it working from the menu yes.

  • Open up the ‘main menu’ application.
  • Navigate to Applications > Office.
  • Click ‘LibreOffice’ then ‘Properties’.
  • Prepend gksu to the command in the ‘Command’ input box. (e.g. gksu libreoffice %U)
  • Then ‘Close’ and you are all good.

Thank you both! This works for the menu shortcut.

This might seem like a noob question… Why does running Libre Office require sudo or root? This is the only way I can get it to open

It shouldnt ideally.
But on my machines i dont need to run it as root for it to work.

There are a few posts on other forums that you could try:


https://superuser.com/questions/564534/only-root-user-is-able-to-open-libreoffice

They more or less say the same thing. It looks like if you start libreoffice as root, it generates a config under the root user, then whenever it tries to load that config as a standard user, it fails (If your having the same problem).

2 Likes

Removed firejail as recommended by @dmknght and works fine but as a n00b here I am curious what exactly I am giving up by removing firejail.

Firejail is there to improve system security. Therefor i would not recommend you remove it.

Firejail in basic terms prevents programs from accessing files and services that it shouldnt need. So in a perfect world you dont notice it, but obviously in some cases if it blocks essential files the program wont run.

The preferred alternative is to create a custom profile https://firejail.wordpress.com/documentation-2/building-custom-profiles/ or fix whatever firejail is crying about.

I will try forcibly recreate the issue and see whats what.

Ok I was able to recreate it. Or at least a problem of the same description.

I deleted the libreoffice configs in /home/user/.config/libreoffice
rm -r ~/.config/libreoffice
Now if i try to open libreoffice it will fail, but if i use sudo it works.
so then use
firejail --noprofile libreoffice
After that i was able to open libreoffice as a standard user again. (Without using firejail --noprofile each time)

So it does look like it is firejail related so if the above doesnt work i suggest looking at custom profiles.

So as I needed to use Calculator in a pinch I ended up removing firejail… re-downloading it… and reconfiguring it is that harder to do than just wiping and starting a fresh install…? I haven’t vested too much here and everything is backed up. Just curious. I would rather keep things the way they are intended by the devs than go off road and have something bork later on because I removed firejail. Thanks for your help btw. Greatly appreciated. I am coming from Kali and before that I was an Arch user. Not afraid to try things but also not as well versed in the debian world as I should be.

but latest version of libreoffice and firejail works well for me.

@dmknght Yeah it works for me to.

You shouldnt have to re-install parrot.
If you still have your profiles or not probably depends on if you used remove or purge to get rid of firejail. But either way it doesnt matter as you can install them using sudo apt-get install firejail-profiles.

actually, it should be

sudo apt-get install firejail firejail-profiles libreoffice

I think a full upgrade would be best:

sudo apt update && sudo apt full-upgrade

Hi there,

I think your libreoffice version is 1.6 and it doesn’t working, right? first uninstall it by

sudo apt purge libreoffice

and then go to libreoffice website, download the latest version and install it manually. it will be a tar.gz file and search how to install this file. It will work.

I had the same issue
on a fresh install of Parrot GNU/Linux 4.4

for me, something was broken with POCL
I had the error with Kali (https://github.com/pocl/pocl/issues/662)

But to make it works, because I need it for work…
I uninstall everything libreoffice than use https://snapcraft.io/libreoffice

Use WPS Office
superb woring
yes one thing in Spredshhet during print sheet get freez
and no iother issue

1 Like

Go To Terminal

  1. sudo -i
  2. passwd root

Then Set Up The Root Password That You Want