[X2Go-Dev] "SSH daemon could not be started."

Jan Engelhardt jengelh at inai.de
Wed Dec 7 12:57:37 CET 2016


x2goclient-4.0.5.2 always throws a dialog:


   """SSH daemon could not be started.

    You have enabled Remote Printing or File Sharing.
    These features require a running and functioning ..."""

Reason:
appDir equals /usr/bin, there is no /usr/bin/sshd on Linux,
fail.

--- x2goclient-4.0.5.2.orig/src/onmainwindow.cpp
+++ x2goclient-4.0.5.2/src/onmainwindow.cpp
@@ -10484,7 +10484,7 @@ bool ONMainWindow::startSshd()
 
     sshd=new QProcess ( this );
 
-    QString binary = appDir + "/sshd";
+    QString binary = appDir + "/../sbin/sshd";
 #ifdef Q_OS_DARWIN
     binary = "/usr/sbin/sshd";
 #endif // defined (Q_OS_DARWIN)


More information about the x2go-dev mailing list