I am trying to launch loffice or localc via an established ssh connection (ForwardX11 enabled). It does however fail to show the loffice gui / splashscreen on the computer from where I run my ssh session. The loffice application runs in the remote bash but without any command line output.

All other gui applications like xterm, gvim, PyQt5 scripts work fine. I also tried to run


directly, but to no avail. (loffice is a shell script redirecting to another shell script, which as far as I understand eventually launches soffice.bin.)

Also without any success I tried:

loffice --display ${DISPLAY}
  • 2
    If there's a running LibreOffice program on the remote system, have you tried killing it?
    – muru
    Feb 12, 2015 at 12:42
  • 2
    The --display switch was what I needed. I noticed (via x11vnc) that there were instances running on the default display, but even after killing them, LibreOffice started on DISPLAY 0.0 Apr 19, 2017 at 11:12

1 Answer 1


If a LibreOffice window is open, it opens a window in the display of that process. Therefore one way would be to kill any running LibreOffice processes.

  • >:) Good one!!!
    – Fabby
    Feb 16, 2015 at 16:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.