[X2Go-Commits] [x2goclient] 01/01: onmainwindow.cpp: clarify message regarding missing SSH daemon host keys.

git-admin at x2go.org git-admin at x2go.org
Sat Mar 7 03:57:21 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/general
in repository x2goclient.

commit a2798ac1b21f70f88f77001a623cf02d4cbc53b7
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Mar 7 03:56:38 2015 +0100

    onmainwindow.cpp: clarify message regarding missing SSH daemon host keys.
    
    Fixes #793.
---
 debian/changelog     |    2 ++
 src/onmainwindow.cpp |   11 +++++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4d9ae61..c234f16 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -184,6 +184,8 @@ x2goclient (4.0.4.0-0x2go1) UNRELEASED; urgency=low
     - onmainwindow.cpp: actually call slotTunnelOk(int), do not generate a run
       time error by calling the non-existent function slotTunnelOk(). Fixes
       #804.
+    - onmainwindow.cpp: clarify message regarding missing SSH daemon host
+      keys. Fixes #793.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Thu, 19 Feb 2015 13:25:28 +0100
 
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 45ef1f8..4eae095 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -11393,9 +11393,16 @@ void ONMainWindow::printSshDError_noHostPubKey()
     if ( closeEventSent )
         return;
     QMessageBox::critical ( 0l,tr ( "SSH Error" ),
-                            tr ( "SSH daemon failed to open the application's public host key."
+                            tr ( "SSH daemon failed to open the its public host key.\n\n"
+
+                                 "You have enabled Remote Printing or File Sharing.\n"
+                                 "These features require a running and functioning SSH server on your computer.\n\n"
+                                 "The Server is currently not configured correctly.\n\n"
+                                 "Please ensure that the server's public exists.\n"
+                                 "Host keys can be generated by running:\n\n"
+                                 "\tsudo ssh-keygen -A"
                                ),
-                            QMessageBox::Ok,QMessageBox::NoButton );
+                            QMessageBox::Ok, QMessageBox::NoButton );
 }
 
 void ONMainWindow::printSshDError_noExportPubKey()

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list