'Logon to the server.'

def login(self):

    if self.args.snmp_force:
        self.client_mode = 'snmp'
    elif (not self._login_glances()):
        return False
    if (self.client_mode == 'snmp'):
        if (not self._login_snmp()):
            return False
    logger.debug('Load    limits    from    the    client    configuration    file')
    self.stats.load_limits(self.config)
    self.screen = GlancesCursesClient(config=self.config, args=self.args)
    return True
