Пример #1
0
 def init(self, opts):
     log("ProxyServer.init(%s)", opts)
     if not opts.tcp_auth:
         raise InitException("The proxy server requires an authentication mode (use 'none' to disable authentication)")
     self.video_encoders = opts.video_encoders
     self.csc_modules = opts.csc_modules
     ServerCore.init(self, opts)
Пример #2
0
 def init(self, opts):
     log("ProxyServer.init(%s)", opts)
     if not opts.tcp_auth:
         raise InitException("The proxy server requires an authentication mode (use 'none' to disable authentication)")
     self.video_encoders = opts.video_encoders
     self.csc_modules = opts.csc_modules
     ServerCore.init(self, opts)
Пример #3
0
 def init(self, opts):
     log("ProxyServer.init(%s)", opts)
     self.video_encoders = opts.video_encoders
     self.csc_modules = opts.csc_modules
     ServerCore.init(self, opts)
     #ensure we cache the platform info before intercepting SIGCHLD
     #as this will cause a fork and SIGCHLD to be emitted:
     from xpra.version_util import get_platform_info
     get_platform_info()
     self.child_reaper = getChildReaper()
Пример #4
0
 def init(self, opts):
     log("ProxyServer.init(%s)", opts)
     self.video_encoders = opts.proxy_video_encoders
     self.csc_modules = opts.csc_modules
     self._start_sessions = opts.proxy_start_sessions
     ServerCore.init(self, opts)
     #ensure we cache the platform info before intercepting SIGCHLD
     #as this will cause a fork and SIGCHLD to be emitted:
     from xpra.version_util import get_platform_info
     get_platform_info()
     self.child_reaper = getChildReaper()
Пример #5
0
 def init(self, opts):
     log("ProxyServer.init(%s)", opts)
     if not opts.tcp_auth:
         raise InitException("The proxy server requires an authentication mode (use 'none' to disable authentication)")
     self.video_encoders = opts.video_encoders
     self.csc_modules = opts.csc_modules
     ServerCore.init(self, opts)
     #ensure we cache the platform info before intercepting SIGCHLD
     #as this will cause a fork and SIGCHLD to be emitted:
     from xpra.version_util import get_platform_info
     get_platform_info()
     self.child_reaper = getChildReaper()
Пример #6
0
 def init(self, opts):
     log("ProxyServer.init(%s)", opts)
     if not opts.tcp_auth:
         raise InitException(
             "The proxy server requires an authentication mode (use 'none' to disable authentication)"
         )
     self.video_encoders = opts.video_encoders
     self.csc_modules = opts.csc_modules
     ServerCore.init(self, opts)
     #ensure we cache the platform info before intercepting SIGCHLD
     #as this will cause a fork and SIGCHLD to be emitted:
     from xpra.version_util import get_platform_info
     get_platform_info()
     self.child_reaper = getChildReaper()
Пример #7
0
 def init(self, opts):
     debug("ProxyServer.init(%s)", opts)
     if not opts.auth:
         raise Exception("The proxy server requires an authentication mode (use 'none' to disable authentication)")
     ServerCore.init(self, opts)
Пример #8
0
 def init(self, opts):
     log("ProxyServer.init(%s)", opts)
     if not opts.auth:
         raise Exception("The proxy server requires an authentication mode")
     ServerCore.init(self, opts)
Пример #9
0
 def init(self, opts):
     log("ProxyServer.init(%s)", opts)
     if not opts.auth:
         raise Exception("The proxy server requires an authentication mode")
     ServerCore.init(self, opts)