LibreOffice in RDP sessions

Here’s an issue.
LibreOffice installed on windows 2008R2 x64 server. Multiple users connect to the server via RDP with the same credentials and work using one user’s account. Here’s what happens: user 1 opens a libreoffice document in RDP session 1, user 2 (with the same credentials) opens another libreoffice document in RDP sesion 2. But when user 2 tries to open third document - this (third) document opens in RDP session 1, not 2. As if LibreOffice looks for the first instance and sends document to that instance, not the instance it got message “to open a document” from. So user 1 in their RDP session sees the opened document user 2 wanted to open and user 2 sees nothing.
Are there any command line parameters to use in registry to make LibreOffice open documents only in the session it was requested to?

Would you like professional support?

Professional Support

1 Like

This is incorrect, unsupported configuration. In such a setup, several processes are using the same user profile on the system (likely under %AppData%\LibreOffice), and that will definitely lead to corruption. Also, this breaks the redirection of newly invoked instances to already running single instance (that happens when you start new instance e.g. by opening a document from file manager using associated program).

Either don’t use a single same credentials to connect to the server, or invent a way to use some temporary user profile in each session, having distinct path (no idea what scripting magic you may need to achieve that).

1 Like

Then why this issue doesn’t appear with MS office?

Because MS Office is not LibreOffice, and it doesn’t use the same User Profile concept.

OK. It’s clear. The same principle applies to internet browsers. One session one profile.
Yes, we can create multiple profiles under one user account. But using it is tricky. It’s way easier to create another user account.

I tend to agree that having different accounts is better; however, just to disambiguate and avoid confusion: in this discussion, the “user profile” is not Windows user profile, but LibreOffice user profile, which is different.

" the “user profile” is not Windows user profile, but [LibreOffice user profile]"
That’s corect. Windows user’s profile can have multiple ‘LibreOffice user profiles’, but running and managing them takes some toll.