[X2Go-Dev] Bug#916: sshd not start on Windows XP
Mikhail Gonchar
mg at reji.ru
Fri Aug 7 11:13:14 CEST 2015
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" <<
More information about the x2go-dev
mailing list