X2Go Bug report logs - #916
sshd not start on Windows XP

version graph

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

Reported by: Mikhail Gonchar <mg@reji.ru>

Date: Fri, 7 Aug 2015 09:20:01 UTC

Severity: normal

Tags: pending

Found in version 4.0.5.0

Fixed in version 4.0.5.1

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#916: sshd not start on Windows XP
Reply-To: Mikhail Gonchar <mg@reji.ru>, 916@bugs.x2go.org
Resent-From: Mikhail Gonchar <mg@reji.ru>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Fri, 07 Aug 2015 09:20:01 +0000
Resent-Message-ID: <handler.916.B.14389391661933@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 916
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.14389391661933
          (code B); Fri, 07 Aug 2015 09:20:01 +0000
Received: (at submit) by bugs.x2go.org; 7 Aug 2015 09:19:26 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,SPF_HELO_PASS
	autolearn=ham version=3.3.2
X-Greylist: delayed 368 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Fri, 07 Aug 2015 11:19:23 CEST
Received: from trixie.reji.ru (trixie.reji.ru [84.22.98.211])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 9C8955DA86
	for <submit@bugs.x2go.org>; Fri,  7 Aug 2015 11:19:23 +0200 (CEST)
Received: from reji.ru (localhost [IPv6:::1])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by trixie.reji.ru (Postfix) with ESMTPSA id 82354800F4
	for <submit@bugs.x2go.org>; Fri,  7 Aug 2015 11:13:14 +0200 (CEST)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Fri, 07 Aug 2015 14:13:14 +0500
From: Mikhail Gonchar <mg@reji.ru>
To: submit@bugs.x2go.org
Message-ID: <a24f8ae5cce4bd1ac86d0cc79865a4f9@trixie.reji.ru>
X-Sender: mg@reji.ru
User-Agent: Roundcube Webmail/1.1.1
Package: x2goclient
Version: 4.0.5.0

sshd not start on Windows XP because of an error in its config file 
(sshd_config):

StrictModes no
UsePrivilegeSeparation no
PidFile C:/Documents and Settings/redge/.x2go/var/sshd.pid
Subsystem shell C:/PROGRA~1/X2GOCL~1/sh
Subsystem sftp C:/PROGRA~1/X2GOCL~1/sftp-server
AuthorizedKeysFile "/cygdrive/C/Documents and 
Settings/%u/.x2go/.ssh/authorized_keys"

The third line (PidFile ...) contains unquoted path with spaces.

As workaround one can add quotes and change config file permissions (so 
it won't be rewritten by x2goclient).
But this can be easily fixed in src/onmainwindow.cpp on the line 9997:

out<<"StrictModes no\n"<<
"UsePrivilegeSeparation no\n"<<
"PidFile " + varDir + "/sshd.pid\n" <<

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Apr 19 05:17:37 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.