Bug 158452

Summary: krdc should reconnect automatically
Product: [Applications] krdc Reporter: Pacho Ramos <pacho>
Component: generalAssignee: Urs Wolfer <uwolfer>
Status: RESOLVED FIXED    
Severity: wishlist CC: benderamp, paul+kde, srhaque
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pacho Ramos 2008-02-26 15:04:42 UTC
Version:            (using KDE 3.5.9)
Installed from:    Unspecified Linux
OS:                Linux

From https://qa.mandriva.com/show_bug.cgi?id=38112 :

I often use krdc to control my windows server but sometimes I have unstable wi-fi connection - so when i lost connection(may be for 5-10 seconds) I should close krdc and reconnect again(manually).Can you fix it?)I want the krdc reconnect automatically(for example mstsc in windows do 20 attempts when network cannot be reached or cable unpluged)

Thanks a lot
Comment 1 Urs Wolfer 2008-02-26 19:44:14 UTC
Good idea.
Comment 2 Urs Wolfer 2010-06-06 12:03:55 UTC
*** Bug 240880 has been marked as a duplicate of this bug. ***
Comment 3 Shaheed Haque 2013-11-04 18:39:01 UTC
This is now implemented, at least for VNC.
Comment 4 Paul Mansfield 2014-09-09 12:51:49 UTC
I can't find an option to enable automagic reconnection, and I am using krdc 4.13.0 from Ubuntu 14.04.
Comment 5 Shaheed Haque 2014-09-13 08:45:23 UTC
(In reply to Paul Mansfield from comment #4)
> I can't find an option to enable automagic reconnection, and I am using krdc
> 4.13.0 from Ubuntu 14.04.

There is no option; if your build has the change, the retry logic is present and on.
Comment 6 Shaheed Haque 2014-09-13 08:48:57 UTC
(In reply to Shaheed Haque from comment #5)
> (In reply to Paul Mansfield from comment #4)
> > I can't find an option to enable automagic reconnection, and I am using krdc
> > 4.13.0 from Ubuntu 14.04.
> 
> There is no option; if your build has the change, the retry logic is present
> and on.

According to this page, the change went into 4.12 at least:

http://quickgit.kde.org/?p=krdc.git&a=history&h=3b5682f0f6694a20ee46e8683ceddac311f0b72e&f=vnc%2Fvncclientthread.cpp