Trying to use the command line parameters to open a session, I've found 2 problems.
1) The open command doesn't exist. Doing some research, this seems to be a OSX thing (see https://unix.stackexchange.com/questions/253376/open-command-to-open-a-file-in-an-application ) It seems we might want to use xdg-open here.
2) Using xdg-open doesn't actually open the session (even after registering the uri handler with it). If RDM is closed, it will open RDM but not open the session. If RDM is already open, it appears to do nothing.
REPRODUCTION:
Make the remotedesktopmanager.desktop file look like this (Note, I install RDM to /opt/)
Copy the database ID and Session ID into the following command and run it.
xdg-open "rdm://open?DataSource=<DatabaseID>&Session=<SESSIONID>"I've also tested outside of xdg-open by running this and it produces the same results.
/opt/devolutions/RemoteDesktopManager/RemoteDesktopManager "rdm://open?DataSource=<DatabaseID>&Session=<SESSIONID>"I can try this in a Ubuntu machine if you think that's the issue.
Your distribution isn't the issue.
We haven't implement support for command line arguments or URI handler so even if RDM receives the command, it is simply ignored.
I'll open a ticket to make sure this is looked at.
Jonathan Lafontaine