Bug 235516

Summary: Can't connect to Xvnc inet daemons, nor to krfb, nor to YaST's Remote Administration
Product: [Applications] krdc Reporter: Marc Chamberlin <marc>
Component: VNCAssignee: Urs Wolfer <uwolfer>
Status: RESOLVED WORKSFORME    
Severity: normal CC: marc
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Marc Chamberlin 2010-04-27 04:11:21 UTC
Version:           4.4.2 (using KDE 4.4.2)
OS:                Linux
Installed from:    openSUSE RPMs

I cannot start any remote desktop sessions with krfb using any of the xinet daemons that run Xvnc. All I get is a blue or black screen with no prompts for passwords. 

If I try to use krdc to connect to a krfd Remote Desktop server, I get a password prompt but am unable to type anything in the password field. And the remote system goes crazy with endless popup messages filling up the screen reporting a connection is being made.

I don't have any idea what YaST is starting when I configure it's version of Remote Administration (poorly documented) but no joy in connecting to it either.

The only server I can connect to with krdc is an X11vnc server, but screen updates are pretty slow.

All appropriate ports 5900 - 5904 are open in the firewalls.

(Would be nice to see krdc fully functional, it has been broken for a long time now, at least for me, over several releases of openSuSE! I personally have been using vncviewer instead, but please either fix krdc to work with all the various servers or drop it. It is very confusing to work with a broken tool when trying to figure out how to get a remote desktop connection to work.)
Comment 1 Marc Chamberlin 2010-04-27 04:15:01 UTC
Oops I meant that first line to read - I can't connect to any remote desktop sessions with krdc ...  Brain slipped a cog there...
Comment 2 Urs Wolfer 2010-05-13 19:55:05 UTC
You can connect to these servers with other VNC-clients? This sounds really strange, I have never heard of such isses so far. KRDC is a "standard" conform VNC client.

Please try to start KRDC from konsole and post here if there is some output while connecting to these non-working servers.
Comment 3 Marc Chamberlin 2010-05-13 22:45:34 UTC
Ok here is the output between krdc and krfb... 

On my laptop I started krdc in a terminal window.

marc@marcslaptop:/home/marc> krdc
krdc(2666)/kdecore (KSycoca): Trying to open ksycoca from  "/var/tmp/kdecache-marc/ksycoca4"
krdc(2666)/kdeui (kdelibs): Attempt to use QAction "remote_desktop_dockwidget" with KXMLGUIFactory! 
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)


This brought up the krdc GUI and I proceeded to attempt to connect to the the krfb server on the target machine of Nova. (port 5900) I got as far as getting a window prompting me for the password. It absolutely refused to allow me to enter anything in the password field and I could not proceed from that point on.


On the target machine I started krfb in a terminal window... I captured the output as shown below except I have removed many of the lines of output where noted as it was just lots of repeated lines....  Also, on the target machine, I got a huge number of popup window notifications that swamped my target computer for nearly 15 minutes after I closed the connection down.


marc@nova:~> krfb
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
krfb(21987) KrfbServer::KrfbServer: starting
krfb(21987) FrameBufferManager::instance:
krfb(21987) FrameBufferManager::FrameBufferManager:
krfb(21987) FrameBufferManager::loadPlugins:
krfb(21987)/kdecore (KSycoca): Trying to open ksycoca from  "/var/tmp/kdecache-marc/ksycoca4"
krfb(21987) FrameBufferManager::loadPlugins: Loaded plugin: "X11 Framebuffer for KRfb"
krfb(21987) FrameBufferManager::loadPlugins: Loaded plugin: "Qt Framebuffer for KRfb"
krfb(21987) FrameBufferManager::frameBuffer:
krfb(21987) FrameBufferManager::frameBuffer: Using FrameBuffer: "krfb_framebuffer_x11"
krfb(21987) X11FrameBuffer::X11FrameBuffer: shm:  true
krfb(21987) X11FrameBuffer::X11FrameBuffer: Got image. bpp:  32 , depth:  24 , padded width:  7680  (sent:  7680 )
krfb(21987) KrfbServer::startListening: bpp:  4
krfb(21987) KrfbServer::updatePassword: password:  "mypassword"  allow  true  invitations  0
krfb(21987) KrfbServer::updatePassword: Ask for password to accept connections
krfb(21987) ConnectionController::handleNewClient:
krfb(21987) ConnectionController::handleNewClient:
krfb(21987) ConnectionController::handleNewClient:
krfb(21987) ConnectionController::handleNewClient:
krfb(21987) ConnectionController::handleNewClient:
krfb(21987) ConnectionController::handleNewClient:
krfb(21987) ConnectionController::handleNewClient:
krfb(21987) ConnectionController::handleNewClient:
krfb(21987) ConnectionController::handleNewClient:
krfb(21987) ConnectionController::handleNewClient:

< about a 1000 repeats  of the above line removed....>



krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987) ConnectionController::handleNewClient:
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987) ConnectionController::handleNewClient:
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987) ConnectionController::handleNewClient:
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987) ConnectionController::handleNewClient:
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987) ConnectionController::handleNewClient:
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 

< LOTS of repeats of the above line removed....>


krfb(21987) KrfbServer::clientDisconnected: clients--:  1009
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987) KrfbServer::clientDisconnected: clients--:  1008
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987) KrfbServer::clientDisconnected: clients--:  1007
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987) KrfbServer::clientDisconnected: clients--:  1006
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987) KrfbServer::clientDisconnected: clients--:  1005
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987) KrfbServer::clientDisconnected: clients--:  1004
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987) KrfbServer::clientDisconnected: clients--:  1003
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987) KrfbServer::clientDisconnected: clients--:  1002
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987) KrfbServer::clientDisconnected: clients--:  1001
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987) KrfbServer::clientDisconnected: clients--:  1000
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987) KrfbServer::clientDisconnected: clients--:  999
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987) KrfbServer::clientDisconnected: clients--:  998
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987) KrfbServer::clientDisconnected: clients--:  997
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987) KrfbServer::clientDisconnected: clients--:  996
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987) KrfbServer::clientDisconnected: clients--:  995
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987) KrfbServer::clientDisconnected: clients--:  994

< About a 1000 repeats of the above pair of lines removed.>

krfb(21987) KrfbServer::clientDisconnected: stopMonitor: d->numClients =  0
krfb(21987) ConnectionController::handleClientGone: client gone
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
krfb(21987)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 

< And finally LOTs of the above line was repeated and removeds from this output.>
Comment 4 Urs Wolfer 2010-05-13 22:55:29 UTC
Marc, thank you for investigating in this issue.

It does not look nice at all... Could it be that you have stored a wrong (or now changed) password in KWallet for this host?
Comment 5 Marc Chamberlin 2010-05-13 22:59:20 UTC
When I connect between krdc and an x11vnc server I do succeed in bringing up
the remote desktop and can manipulate it pretty much as expected. However,
clicking on the Disconnect button in the krdc window does NOT convey a sense of
disconnection to the x11VNC server and the x11vnc server remains in a state of
thinking it is still connected.... The output from krdc is the same as I showed
above when connecting to a krfb server...

marc@marcslaptop:~> krdc
krdc(3660)/kdecore (KSycoca): Trying to open ksycoca from 
"/var/tmp/kdecache-marc/ksycoca4"
krdc(3660)/kdeui (kdelibs): Attempt to use QAction "remote_desktop_dockwidget"
with KXMLGUIFactory! 
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Comment 6 Marc Chamberlin 2010-05-13 23:43:54 UTC
Groan! KWallet is one application that I do NOT grok! And has been a real PITA... I wish I could get rid of it entirely but it seems some apps insist on it being used... (Amarok for example is one app that insists on using it, but for the life of me I cannot understand why Amarok needs a password for anything!....)  Anywise I opened up the KWallet manager and found some weird wallet in it labeled literally "This wallet is not found in .service" or sometime like that. Within it I found a password stored for KRDC but it was the correct password... I deleted that wallet, thinking that would be the better part of valor and created a new wallet with my name.. 

Now when I try to run KRDC I get a popup dialog asking for a password to access the Wallet but again I cannot type in anything in the password field. All I can do is click on cancel and I get a second dialog asking me for the password to access the remote KRFB server.. And again I cannot type in anything in the password field.

All I can do at this point is disconnect and close down both KRDC and KRFB, and wait for zillions of popup notification messages on the remote server to go away...
Comment 7 Marc Chamberlin 2010-07-01 02:53:04 UTC
I have figured out how to disable the KWallet password manager entirely. (It is interesting to note that KRDC will still ask if I want to store the password for a connection in KWallet, even though KWallet is no longer running! I suspect that is another oversight on the part of the KRDC designers.) Removing the KWallet manager does not make any difference in the behavior of KRDC, I am still unable to use it for any sort of remote desktop connection.
Comment 8 Urs Wolfer 2010-07-10 17:08:01 UTC
You are right, KWallet settings are also available in KRDC when KWallet is not available. Of course, that's not very nice.

I still do not have any idea why you cannot connect with KRDC to *any* remote server... It sounds really strange to me. Sorry, but I cannot provide any help here. If you find any news, please post it here. Thank you.
Comment 9 Marc Chamberlin 2010-07-10 18:52:06 UTC
I did NOT say that KRDC cannot connect to any remote server, please reread the entire bug report. 

KRDC will connect to an x11vnc server as long as no password is required. But KRDC does not disconnect from an x11vnc server very well.

KRDC will not connect to either a Krfb server or an Xvnc server, regardless of whether passwords are required or not.

(FYI - On our systems, we have now disabled KWallet entirely and do not use it or even install it anymore. It causes so many problems for many different apps, is poorly configurable and apparently not fully functional yet. Most other apps, it turns out can be configured to work without KWallet and KRDC needs to be able to work without KWallet also.)
Comment 10 Urs Wolfer 2010-07-10 19:06:05 UTC
Ok, let's talk about the KWallet issue first: there is an option in the KRDC settings. Is that what you want?

Do you think your problem with entering passwords is related to bug 191532?
Comment 11 Marc Chamberlin 2010-07-10 20:36:07 UTC
The option in KRDC to use KWallet is not checked. I thought you were saying that KRDC cannot work without KWallet in your previous comment, so I was just mentioning that it should be able to work without KWallet... If this option will disable KRDC's reliance on KWallet, then yes that is I what I want...

However, as I previously mentioned, I have removed KWallet from my systems, and the option in KRDC to use KWallet is unchecked. (An interesting question might be - why is this option even present if KWallet is not installed?) As for whether this problem of entering passwords is related to bug 191532, I cannot say for certain, but I would guess there is an overlapping issue because both of us are reporting that KRDC will not allow any password to be typed in via the dialog box. The thread in bug 1991532 seems to imply there is a connection between this problem and the "Get all keys" feature of KWallet. IMHO  since KWallet is not installed on my systems anymore, I would strongly suspect this problem is KRDC related and not KWallet related...
Comment 12 Andrew Crouthamel 2018-11-05 03:09:27 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 13 Andrew Crouthamel 2018-11-16 05:32:47 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?

Thank you for helping us make KDE software even better for everyone!
Comment 14 Justin Zobel 2022-12-12 01:56:16 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 15 Bug Janitor Service 2022-12-27 05:21:26 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 16 Bug Janitor Service 2023-01-11 05:19:22 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!