| 21 | |
| 22 | EDIT2: storing a few findings here for me to pick up later when time permits..: |
| 23 | - app_server wise, the remote desktop is seemingly served like an additional (hardware) screen, instantiated [http://grok.bikemonkey.org/source/xref/haiku/src/servers/app/ScreenManager.cpp#119 here]. |
| 24 | - it's possible the 'RemoteHWInterface' screen is invoked through an incoming sshd connection being forwarded to the app_server(?). I don't understand how/when the 'HTML5HWInterface' is supposed to be instantiated, and couldn't make it occur here. |
| 25 | - it seems applications tell app_server what "screen" they want to be displayed on [http://grok.bikemonkey.org/source/xref/haiku/src/kits/app/AppMisc.cpp#210 here], passing $TARGET_SCREEN to app_server: since they are run from the same Terminal session that was opened by the initial connection, and sub-processes/apps inherit the environment variables of their parent Terminal, all apps launched from there will be displayed on the remote desktop/screen instead of the main screen. |