Thanks Peter. I think it is a simple and workable solution.

Bob,

Could you help to add comment there? If you agree with it, Peter will work out 
the patch.

- Yongkang


   _____________________________________________
   From: Wang, Peter H
   Sent: Wednesday, June 11, 2014 11:47 AM
   To: [email protected]
   Cc: Poussa, Sakari; You, Yongkang; Zhang, Belem
   Subject: Questions about multi-user and command line option 
"remote-debugging-port" for tizen xwalk


   Hi all,
   I'm investigating the bug 
[XWALK-1858<https://crosswalk-project.org/jira/browse/XWALK-1858>] and have 
questions of the original design, so ask the help here.

   The root reason of this bug is pretty straightforward:
   For multiple users, Tizen IVI allows to launch multiple instances of xwalk, 
but there is only one place (/usr/lib/systemd/user/xwalk.service) to assign 
devtools socket port for all instances, so they're competing to listen same 
socket port.

   My questions are:
(1)     Should we allow to launch multiple instances of xwalk for multiple 
users?
(2)     Can we add a new command option like "set-remote-debugging-port" for 
"xwalkctl" to give each instance of xwalk a chance to choose their own port?
      I believe we've removed the "remote-debugging-port" for "xwalkctl" 
because if each APP have a chance to choose port will cause chaotic, since they 
are supposed to share common port of "xwalk".

   Watiting for your comments. Thank you very much.

   Peter Wang

_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to