Libreoffice Remote

Posted onby admin
  • Someone took a look at LibreOffice and discovered a way to execute code remotely. Remote code execution is possible when a user opens a malicious ODT file and moves the mouse over the document. Then the code is executed without triggering a warning dialog. This approach and the vulnerability are described in this blog post.
  • To access remote servers, you must use LibreOffice’s own Open and Save dialogs. If you currently use your operating system dialogs for saving and opening files, go to Tools - Options - LibreOffice - General and check the option Use LibreOffice dialogs. To access this command. To enable a remote server connection, use one of these methods.
  • LibreOffice remote servers introduction This is the dialog that appears when you click the Open Remote Files and Save to Remote Server in the File menu. In version 5.1, LibreOffice offers a new feature that allows you to save documents to a remote server. It also allows you to open documents on a server through a LibreOffice dialog.

A vulnerability in LibreOffice’s Impress Remote Protocol, allows a remote attacker to cause the product to crash, potentially executing arbitrary code by sending the TCP port 1599 (used by the protocol) a malformed request. In LibreOffice 4.0.0 and later, a new feature was added for remote control capabilities in Impress. This video gives a demonstration of one of LibreOffice's newest features - Remote Server. It shows how to set up a connection to your Google Drive account.

To access remote servers, you must use LibreOffice’s own Open and Save dialogs. If you currently use your operating system dialogs for saving and opening files, go to Tools - Options - LibreOffice - General and check the option Use LibreOffice dialogs.


To enable a remote server connection, use one of these methods:

  • Click on the Remote Files button in the Start Center.

  • Select File - Open Remote Files

  • Select File - Save to Remote Server

Then click on the Add Service button in the dialog to open the File Services dialog.

Libreoffice Remote

Connecting to a WebDAV server

In the File Services dialog, set:

  • Type: WebDAV

  • Host: the server URL, usually in the form file.service.com

  • Port: port number (usually 80)

  • Select Secure Connection checkbox to access the service through https protocol and port 443

  • Label: give a name for this connection. This name will show in the Service listbox of the Open or Save remote files dialog.

  • Root: enter the path to the root URL of your account.

Libreoffice Remote File

Note: the root of the file service is provided by the file service administrator and may consists of scripts files, parameters and paths.


Once the connection is defined, click OK to connect. The dialog will dim until the connection is established with the server. A dialog asking for the user name and the password may pop up to let you log in the server. Proceed entering the right user name and password.

Connecting to FTP and SSH servers

In the File Services dialog, set:

  • Type: FTP or SSH

  • Host: the server URL, usually in the form file.service.com

  • Port: port number (usually 21 for FTP and 22 for SSH).

  • User, Password: the username and password of the FTP service.

  • Remember password: Check to store the password in LibreOffice’s user profile. The password will be secured by the master password in Tools - Options - LibreOffice - Security - Internet passwords.

  • Label: give a name for this connection. This name will show in the Service listbox of the Open or Save remote files dialog.

  • Root: enter the path to the root URL of your account.

Once the connection is defined, click OK to connect. The dialog will dim until the connection is established with the server.

Connecting to a Windows share

In the File Services dialog, set:

  • Type: Windows Share

  • Host: the server URL, usually in the form file.service.com

  • Share: The Windows share.

  • Remember password: Check to store the password in LibreOffice’s user profile. The password will be secured by the master password in Tools - Options - LibreOffice - Security - Internet passwords.

  • Label: give a name for this connection. This name will show in the Service listbox of the Open or Save remote files dialog.

  • Root: enter the path to the root URL of your account.

Once the connection is defined, click OK to connect. The dialog will dim until the connection is established with the server.

Connecting to Google Drive

In the File Services dialog, set:

  • Type: Google Drive.

  • User, Password: the username and password of the Google account.

  • Remember password: Check to store the password in LibreOffice’s user profile. The password will be secured by the master password in Tools - Options - LibreOffice - Security - Internet passwords.

  • Label: give a name for this connection. This name will show in the Service listbox of the Open or Save remote files dialog.

Once the connection is defined, click OK to connect. The dialog will dim until the connection is established with the server.

Connecting to a CMIS server

In the File Services dialog, set:

  • Type: Select the type of server in the list.

  • Host: the server URL. A URL default template is provided according to the server type. Set data accordingly.

  • User, Password: the username and password of the CMIS service.

  • Remember password: Check to store the password in LibreOffice’s user profile. The password will be secured by the master password in Tools - Options - LibreOffice - Security - Internet passwords.

  • Repository: select the files repository in the drop-down list.

  • Refresh button: click to refresh the contents of the repository list.

  • Label: give a name for this connection. This name will show in the Service listbox of the Open or Save remote files dialog.

  • Root: enter the path to the root URL of your account.

Related Topics

Google Drive is one of the most popular document hosting servers in the world. Millions, if not billions, of people use it every day. It has an application that Windows and Mac users can download, so they can sync documents that are on their desktops to the server and vis versa. The service also is connected to Google’s office suite, so service subscribers can use several different browser-based applications to open, edit, and create new documents.

Libreoffice Remote File Google Drive

Here are the sections of this page:

Overview
Setting up Google Drive account
Accessing your account
Saving a document to Google Drive
Accessing Google Drive through LibreOffice video
Links to other LibreOffice links

Overview

With version 5.1, LibreOffice has given Windows and Mac users and Mac users the ability to access their documents stored on Google Drive directly from one of the suite’s applications. Currently, Drive cannot be accessed from a LibreOffice version running on a Linux distro or another operating system.

Here are the instructions for connecting to your Drive account. The video, at the bottom of the page, also is a good tutorial.

Click here to return to the main menu.

Setting up Google Drive account

Setting up a connection can be done by saving a document to a remote server or opening a remote file for the first time.
First, let’s access your documents. Then we we’ll save a document to it.

  1. First open a document or create a new one.
  2. Click File.
  3. Click Open Remote File.
  4. Click Add Service in the Remote Files dialog.
  5. When the File Service dialog appears, make sure Google Drive is the selected choice in the Type drop-down menu.
  6. If it is not, click the arrow and choose it from the menu.
  7. Next, enter the email address of the Google account in the user field.
  8. For the Password field, enter your Google password.
  9. Put a check in the Remember Password check box, if you are going to continually use this account.
  10. If you want a different title for your account, then change what is in the label field.
  11. For your first account, you will be asked to establish a master password. Create one. Then retype it in the next field.
Libreoffice

Click here to return to the main menu.

Accessing your account

This is how you access your account after setting it up.

  1. Click File.
  2. Click Open Remote File.
  3. You may need to enter the master password that you established while setting up the account.
  4. Next, click the service drop-down menu and select the Google Drive account, if it is not already the selected account.
  5. You may need to enter your Google password again, if you didn’t put a check in the Remember password check box during set up.

Click here to return to the main menu.

Saving a document to Google Drive

Libreoffice Remote Desktop

  1. Click File.
  2. Click Save to Remote Server.
  3. You may need to enter the master password that you established while setting up the account.
  4. You may need to enter your Google password again, if you didn’t put a check in the Remember password check box during set up.
  5. Select the account from the Service drop-down menu.
  6. Then give the document a name.
  7. Choose the File format you wish.
  8. Then click the Save button. If you selected a format other than an OpenDocument one, a dialog will appear asking you to confirm that choice or save the document as an OpenDocument.

Click here to return to the main menu.

Libreoffice Remote

Accessing Google Drive through LibreOffice video

Click here to return to the main menu.

Other LibreOffice links

Libreoffice Remote Files Ssh

Libreoffice impress remote

Click one of the links below to jump to that page in this Website.

LibreOffice suite Introduction to LibreOffice Start Center Saving document in LibreOffice Creating new document in LibreOffice LibreOffice remote server introduction Connecting LibreOffice to Google Drive Connecting LibreOffice to FTP

Click here to return to the main menu.