Commit 3197814b authored by Tony Murray's avatar Tony Murray

Handle authentication errors from xfreerdp. (No new strings)

parent d792c64f
......@@ -463,6 +463,12 @@ void RdpView::receivedStandardOutput()
connectionError();
return;
} else if (line.contains(QLatin1String("Authentication failure, check credentials"))) {
KMessageBox::error(0, i18n("Connection attempt to host failed."),
i18n("Connection Failure"));
connectionError();
return;
// looks like some generic xfreerdp error message, handle it if nothing was handled:
// "Error: protocol security negotiation failure"
} else if (line.contains(QLatin1String("Error: protocol security negotiation failure")) || // xfreerdp 1.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment