X2Go Bug report logs - #1599
Cleanup sessions on reboot

version graph

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: uli42@gmx.de

Date: Mon, 20 Mar 2023 18:35:01 UTC

Severity: normal

Found in version 4.1.0.3

Full log


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 20 Mar 2023 18:32:49 +0000
From ulrich.sibiller@gmail.com  Mon Mar 20 19:32:48 2023
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: *
X-Spam-Status: No, score=2.0 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FREEMAIL_REPLYTO,
	FREEMAIL_REPLYTO_END_DIGIT,SPF_HELO_NONE autolearn=no
	autolearn_force=no version=3.4.2
Received: from mail-oa1-x31.google.com (mail-oa1-x31.google.com [IPv6:2001:4860:4864:20::31])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id D4B8B5DB0A
	for <submit@bugs.x2go.org>; Mon, 20 Mar 2023 19:32:47 +0100 (CET)
Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-17683b570b8so13883565fac.13
        for <submit@bugs.x2go.org>; Mon, 20 Mar 2023 11:32:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112; t=1679337166;
        h=to:subject:message-id:date:from:reply-to:mime-version:from:to:cc
         :subject:date:message-id:reply-to;
        bh=v2q5I0jv/nMyFqRBBTVaHFM+jq1NhDQWBZsr+tGWg7E=;
        b=fANINIRo9vsn1w7Rp/GhlriMwdRSr4sNqh2YyNDGhXstVq6zzLguE9Hu1m2HvkQngu
         jzZZaW22iqNWSsggNtjjJYFj8TE2HY356JlhSyf5XU8pGWY6xEE7GF3rnOXdx0wGnPu1
         MA9gMBV/+U+26btVavOsMTA9e7+yJTBvQfhKLgOyl0fX5uZwUNyFZDMeTEp0zaOV+pGc
         nz01V2mLXQYY8MzTzP7ChxBPVNc5DGuDtZKzLkaxGSML1nWLCTtcE1/U/dIhPmJrO5uG
         kRTHdO7K+e6r1PB0eLplTLSfTgXBh4bMXyvgwcHViVMIXa2X+mNdtivWY0gIUBgwElEE
         xjhw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112; t=1679337166;
        h=to:subject:message-id:date:from:reply-to:mime-version
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
        bh=v2q5I0jv/nMyFqRBBTVaHFM+jq1NhDQWBZsr+tGWg7E=;
        b=w/9il8topLtni1pUN+NvPQ1BcgIBWnnEISmvRrujViOyQ2cOjUlRJqEuinaW2hbPXt
         mp1Tuore57kdAIk88xCOf6Q0xpycSQXUidjjTfF5FXswiGnjJv2PeMLjkXRJCS+5/0eg
         CW30q/EGMvt46zIjLTAMeNhD7kq8P4FOhMUDoiPglgPiuaYaVI9mo4EAAq/8YF+eabM2
         zzwIJVf1xDi49GLICm+kev4aILzqr/xEJsUQ+4d2XhAZVERiU0iK3e8MJ1mgK0SoAI4L
         aMFioafFJVHIsmoQiMhRnTcTiMprbiUKjrELOzxxG3bqcLFAALRkBCTonSP30+AsQv45
         Ht0g==
X-Gm-Message-State: AO0yUKWQcVKt+D3BlpXD0D4g/s7OGWPkwlt37sH+cWjyEf+6Y20KhFuM
	vQut3awzX9RYwE5Gj6R80fshMGDwB5GblBoXS6+7G/p9nXuEJQ==
X-Google-Smtp-Source: AK7set/Pk0h4Dh11bbzlRUSTl0iGsrQtr9q5+dVh8UPUd9m0WWP12QZYpvge/jS4n+YAEWvcCgoBJn6p21JiOaWNqUo=
X-Received: by 2002:a05:6870:bf98:b0:177:9150:e7ba with SMTP id
 av24-20020a056870bf9800b001779150e7bamr2843125oac.3.1679337166026; Mon, 20
 Mar 2023 11:32:46 -0700 (PDT)
MIME-Version: 1.0
Reply-To: uli42@gmx.de
From: Ulrich Sibiller <ulrich.sibiller@gmail.com>
Date: Mon, 20 Mar 2023 19:32:20 +0100
Message-ID: <CANVnVY+b1sBPRWuSCvMiw9OE_0KseFZOx050rzprwOkSXX7NGQ@mail.gmail.com>
Subject: Cleanup sessions on reboot
To: submit@bugs.x2go.org
Content-Type: text/plain; charset="UTF-8"
Package: x2goserver
Version: 4.1.0.3

My server was rebooted during the weekend and x2golistsessions still
showed a session, which of course not valid anymore. But x2goclient
failed to open a connection to that server, all it reported was
"session <old_sessionid> terminated". After running
x2goterminatesession everything worked normally again.

So I propose to cleanup the list of running sessions during bootup to
prevent such weird problems from happening.


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 16:21:54 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.