A fix for this issue has been implemented in version 2025.2.1.2
Implemented Backlog

Linux Command Line

avatar

Hi All,

Is there any way of specifying parameters for RDM via Linux terminal? For instance, I'd like to launch an ARD session that I have previously created on startup of my machine without having to open RDM and start it via the GUI.

Is this at all possible? If so, a list of linux commands would be fabulous!

Thanks!

Dan

All Comments (11)

avatar

Hi danturner.

Yes, it's possible. Here are some commands I think could be useful for your use-case:

To execute a session from a file (.rdm, .rdp):

remotedesktopmanager [path-to-some-session-file]

To run a session with a specified data source, repository and session ID (I think the Data Source and Repository IDs can be omitted if they're the ones you're already in):

remotedesktopmanager /DataSource:[data-source-id] /Repository:[repository-id] /Session:[session-id]


There are more, but these should be the ones you need for what you mentioned. For more commands, you can check out RDM's knowledge base page on the subject https://docs.devolutions.net/kb/remote-desktop-manager/how-to-articles/command-line-arguments/. I also realise that having a "man" would be ideal (on top of being able to have Linux-style commands instead of having the same command style as RDM Windows), I'll look into that issue.

To get the command for a specific connection in a specific data source, you can edit that connection, go in the "Advanced" section and copy the automatically generated command there (see attached screenshot). That will save you the trouble of having to go fetch all the IDs.

N.B.: Running commands in a separate terminal while an instance of RDM is already running should also work and redirect the command to the running instance (provided that "Allow multiple instances" hasn't been turned on in your preferences.)

I hope I could be of help.
Have a good day.

Nicolas Parr

avatar

Thank you! Interestingly, starting with a specified data source, repository et al. resulted in a slew of error messages while it opened, but starting RDM in one window then executing said command in another terminal window worked great.

avatar

Oh, weird that it wouldn't work while launching RDM... Could you tell me what type of data source you're working with and send me the error messages you're getting? I'll look into the issue.

Nicolas Parr

avatar

I'll get onto that, although I'm running RDM on a VM instance, if that makes any difference? Also, while I'm gathering that info: is it possible to fullscreen a window from the command line, as opposed to utilising right-click?

avatar

I don't think you can from the command-line, but there's an option in RDM's preferences to boot maximized. For some reason, the option to boot in fullscreen (in the same field as booting maximized) had been disabled so I added it back in and it will be available in the next major update. RDML 2023.3.0 should be released at the end of the month.

If you don’t mind me asking, why are you running RDML in a VM? If you're on Windows or MacOS, we have native versions for those platforms and, if you're on some specific Linux distribution for which we don't offer package files (currently, we only offer .deb and .rpm files), there's a user maintaining an AUR repository for Arch-based distros and we have a flatpak on Flathub. We also now support ARM64 machines. I assume you have a reason for running it in a VM, but I just wanted to make sure you knew about all the available options to run RDM natively on your machine.

Nicolas Parr

avatar

Hi Nicolas,
you're referencing the command-line-arguments article above. I just realized that this only works for windows.
How do I need to specify cli parameter like i.e. /Silent on Linux ?
I tried "--Silent", "-Silent" and other variations with no success. Also the Linux standard to get the valid parameters by calling "remotedesktopmanager [-?|--help]" does not work at all, unfortunately.

Is there some help available anywhere ?

Thx, best regards
Markus

avatar

Hi Markus,

The article with the command-line arguments should also be applicable for the Linux version. Due to code being shared between versions, the arguments formatting retains its Windows-ness and arguments like "Silent" should be written /Silent. However, it does appear that you're right and the Silent command doesn't work as expected, so we will look into it.

As for the "help" command, we did plan on adding it eventually and it has been in our backlog for a while now. We will bump up it's priority and look into adding that sooner rather than later.

We will update this thread as soon as we have new information to share on either of those issues.

Best regards.

Nicolas Parr

avatar

Hi again Markus.

I just wanted to inform you that we've fixed the silent and help CLI arguments internally. We don't yet have a clear date in mind, but the next version (2025.2.1) should be released sometimes in the next few weeks.

Best regards.

Nicolas Parr

avatar

Hi Markus,

RDM Linux version 2025.2.1.2 is releasing today and should contain the fix I mentioned. Please let us know if you encounter any more issues.

Best regards.

Nicolas Parr

avatar

Hi Nicolas,
I can confirm that /Silent and /Help are working now. One minor thing to add is, when RDM is already running and RDM is again called with /Help to see the parameters on the cli again, this doesn't work and no parameters are shown.

Best regards
Markus

avatar

Hi markus,

I will reopen the issue and look into that. However, we are currently working on improving the multi-instance internally and, as such, I will have to wait until that is done before looking into fixing the issue you've described, so it will take a little longer.

Sorry for the inconvenience.

Best regards.

Nicolas Parr

A fix for this issue has been implemented in version 2025.2.1.2