diff --git a/utils/apparmor/sandbox.py b/utils/apparmor/sandbox.py index a05d7c47e..ba5919822 100644 --- a/utils/apparmor/sandbox.py +++ b/utils/apparmor/sandbox.py @@ -8,7 +8,7 @@ # # ------------------------------------------------------------------ -from apparmor.common import AppArmorException, debug, error, warn, msg, cmd +from apparmor.common import AppArmorException, debug, error, msg, cmd import apparmor.easyprof import optparse import os @@ -605,7 +605,7 @@ EndSection self.pids.append(listener_x) started = False - time.sleep(0.5) + time.sleep(2) # FIXME: detect if running for i in range(self.timeout): # 5 seconds to start rc, out = cmd(['xpra', 'list']) if 'LIVE session at %s' % self.display in out: