cedrozor / myrtille

A native HTML4 / HTML5 Remote Desktop Protocol and SSH client
https://www.myrtille.io
Apache License 2.0
1.78k stars 372 forks source link

Remote program may not start #374

Open yuriy709 opened 1 year ago

yuriy709 commented 1 year ago

I'd like to start a certain application in browser (using link like https://server/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=localhost&user=user&passwordHash=hash&program=application&connect=Connect%21 ) without any prompts and/or other stuff, and it works until it runs to one (but usually two) problems:

Problem occurs it became reoccuring and I have to manually log off from all session in RDS-server to reinstantiate seamless connections.

Are there any options that can be used to enforce seamless connection?

cedrozor commented 12 months ago

There are some limitations:

https://github.com/cedrozor/myrtille/blob/master/DOCUMENTATION.md#auto-connect--start-remote-application-from-url

The start remote application from url feature only works on Windows Servers editions (starting from Server 2012) and only if the program is allowed to run (remoteApp policy). See notes and limitations.

On Windows Home Editions, there are several workarounds to start an application automatically on start. You can for example set a Group Policy or define a startup program in registry (HKey_Current_User\Software\Microsoft\Windows\CurrentVersion\Run).

A session selection dialog can be shown if you have the same user account for all sessions and if there are disconnected sessions. 2 options :