Changes between Initial Version and Version 1 of Ticket #241


Ignore:
Timestamp:
11/14/13 03:38:36 (10 years ago)
Author:
Antoine Martin
Comment:

Two things that are likely to cause problems here, especially when combined:

  • Firefox is very problematic because of the way it only allows a single instance at a time - by the time you start it again, it may still be confused about where it should run and try to run in the instance that you are shutting down. We are keeping track of commands that can only be run once and you should get a notification warning (DE permitting) when you try to start a second one. Except... if we are shutting it down or if it is stuck, then you may have more problems.

Not much more we can do about that I don't think...

  • Session pre-loading and pre-connecting: this is what is causing those extra sessions you are seeing. Xpra is so fast to start that it makes little difference to startup time. When this is enabled and working properly - there is no difference to startup time between a local app and a "remotized" app, with it disabled you have to start the xpra server and client for each application - which may take about half a second.

To disable this feature, edit:

.winswitch/server/server.conf

And disable: prelaunch_enabled then restart your server (or applet). Does this help?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #241

    • Property Owner set to madmonk
    • Property Status changed from new to assigned
  • Ticket #241 – Description

    initial v1  
    44
    55'''System Details'''
    6 
     6{{{
    77Distributor ID: Ubuntu
    88Description:    Ubuntu 12.04.2 LTS
     
    1414KDE Daemon: $Id$
    1515ii  winswitch                   0.12.20-1                   tool to start and control remote sessions
     16}}}
    1617
     18{{{
    1719[II] 2013/13/11 22:42:26.504197 applet.<module>() python version 2.7.3 (default, Apr 10 2013, 05:46:21) \n[GCC 4.6.3]
    1820[II] 2013/13/11 22:42:26.504295 applet.<module>() gtk version (2, 24, 10), pygtk version (2, 24, 0)
     
    2022[II] 2013/13/11 22:42:26.583285 globals os.uname=('Linux', 'testx', '3.2.0-51-generic-pae', '#77-Ubuntu SMP Wed Jul 24 20:40:32 UTC 2013', 'i686')
    2123[II] 2013/13/11 22:42:26.586679 globals python package info: __version__=0.12.20
    22 [II] 2013/13/11 22:42:26.586869 globals version=0.12.20 (svn revision unknown - unknown local modifications), built on winswitch.org by buildbot, 2013-11-05, release_build=True
     24[II] 2013/13/11 22:42:26.586869 globals version=0.12.20 (svn revision unknown - unknown local modifications), \
     25    built on winswitch.org by buildbot, 2013-11-05, release_build=True
     26}}}
    2327
    2428'''Steps to reproduce'''
    25 
    26 1 Start Firefox
    27 2 Browse for a bit e.g. wikipedia, google etc.
    28 3 Stop Firefox
    29 4 Repeat (check Winswitch after step 1 for additional unknown session)
     29* 1 Start Firefox
     30* 2 Browse for a bit e.g. wikipedia, google etc.
     31* 3 Stop Firefox
     32* 4 Repeat (check Winswitch after step 1 for additional unknown session)
    3033
    3134'''From server after shut-down of a Firefox app session'''
    32 
     35{{{
    3336drwxrwxrwx 2 x x 4096 Nov 13 22:45 100
    3437drwxrwxrwx 2 x x 4096 Nov 13 23:07 104
    3538drwxrwxrwx 2 x x 4096 Nov 13 23:12 109
    3639drwxrwxrwx 2 x x 4096 Nov 13 23:15 110
    37 
     40}}}
    3841(Other session are also orphaned / unknown sessions from testing)
    3942
    4043'''From server after start-up of new Firefox app session'''
    41 
     44{{{
    4245drwxrwxrwx 2 x x 4096 Nov 13 22:45 100
    4346drwxrwxrwx 2 x x 4096 Nov 13 23:07 104
     
    4649drwxrwxrwx 2 x x 4096 Nov 13 23:16 113
    4750drwxrwxrwx 5 x x 4096 Nov 13 23:16 116
    48 
     51}}}
    4952'''Excerpt from client log...'''
    50 
     53{{{
    5154[II] 2013/13/11 23:15:56.764592 XpraClientUtil.ended(<winswitch.util.process_util.SimpleLineProcess instance at 0x99d36ac>) session=ClientSession(:113 - xpra - closed), kill_client=True
    5255[DD] 2013/13/11 23:15:56.764764 SimpleLineProcess.processEnded([Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ProcessDone'>: A process has ended without apparent errors: process finished with exit code 0.\n])
     
    6568[II] 2013/13/11 23:16:27.314910 ServerLink.add_port_forward(None,127.0.0.1,15119) adding new port forward
    6669[II] 2013/13/11 23:16:27.315073 ConchConnection.forward_port(12480,127.0.0.1,15119)
     70}}}