Bug 288481 - wrong password - always
Summary: wrong password - always
Status: RESOLVED DUPLICATE of bug 340411
Alias: None
Product: krfb
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: George Goldberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-08 14:20 UTC by Andreas Steffan
Modified: 2020-10-19 11:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Steffan 2011-12-08 14:20:20 UTC
Version:           unspecified (using KDE 4.7.2) 
OS:                Linux

I configured krfb as follows (~/.kde/share/config/krfbrc):

[Security]
allowUninvitedConnections=true
askOnConnect=false
uninvitedConnectionPassword=supersecret

Whatever I do (multiple clients, invitation), i always get "Failed login attempt from ...: wrong password"

Even with 

Reproducible: Always

Steps to Reproduce:
1. Configure krfb as described
2. try vnc -> kde-user@lcoalhost
3. I get the wrong password error

Same happens with invitation and also when I don't use a username at all.

Actual Results:  
wrong password error

Expected Results:  
vnc session running

OS: Linux (x86_64) release 3.0.0-0300-generic
Compiler: gcc
Comment 1 Andreas Steffan 2011-12-08 14:23:20 UTC
Of course I used the password "supersecret" when krdc(!) asked me for it.
Comment 2 Andrew Crouthamel 2018-11-06 15:07:26 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-17 05:05:19 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bronson 2020-08-26 02:46:42 UTC
This is happening for me. Attempting to use the fix found here: https://bugs.kde.org/show_bug.cgi?id=340411
Comment 5 Alexey Min 2020-08-26 13:04:29 UTC
Git commit bc755b81d849198b034b4cdeec27711cb7d576e9 by Alexey Min.
Committed on 26/08/2020 at 12:55.
Pushed by alexeymin into branch 'fix_storing_config'.

Make sure to save security settings each time they are modified

Settings that are modified using normal settings window, which is
invoked using menu "Configure Desktop Sharing..." are always saved
correctly.

However some settings that are present on Krfb main window
(normal password, unattended password, checkbox "enable unattended
access") are not handled by KConfigDialog and there is a chance that
settings might not be saved correctly (for example if application
was suddenly terminated).

This hopefully fixes some bugs which are present since year 2011-2014
and have 110 votes, like https://bugs.kde.org/show_bug.cgi?id=340411,
maybe something else.
Related: bug 340411
CHANGELOG: Make sure to save passwords each time they are modified

M  +46   -21   krfb/invitationsrfbserver.cpp
M  +1    -0    krfb/invitationsrfbserver.h

https://invent.kde.org/network/krfb/commit/bc755b81d849198b034b4cdeec27711cb7d576e9
Comment 6 Bug Janitor Service 2020-08-26 13:06:42 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/krfb/-/merge_requests/8
Comment 7 Alexey Min 2020-10-19 11:33:59 UTC

*** This bug has been marked as a duplicate of bug 340411 ***