Changes between Version 1 and Version 2 of Ticket #10953, comment 6


Ignore:
Timestamp:
Jul 27, 2014, 7:47:54 PM (10 years ago)
Author:
ttcoder

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10953, comment 6

    v1 v2  
    1919
    2020EDIT: even if I kill all the above processes by hand, a reboot is still needed before the client can connect again... There must be another issue at play here.
     21
     22EDIT2: 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.