clicking the "Configure File Sharing..." does nothing

Bug #354559 reported by martin j burger
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kdebase (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: kdebase

1)Description: Ubuntu jaunty (development branch)
Release: 9.04
two desktops running kubuntu(one is amd64) both have this problem.
2)Dolphin
Version 1.2.1
Using KDE 4.2.2
3)file sharing options could be set
4)first attempt: kemshell4 fileshare asked for administrator password. after entering the password and pressing ok administrator password window would close, then nothing else would happen. attempts after the first have no password prompt and still do nothing.

this also happens when using konquer.

included snapshot of prompt

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: dolphin 4:4.2.2-0ubuntu1
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: kdebase
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
martin j burger (martinjburger) wrote :
description: updated
Revision history for this message
mugginz (mugginz) wrote :

Have you got the kdenetwork-filesharing package installed?

Revision history for this message
martin j burger (martinjburger) wrote :

yes i do

Revision history for this message
mugginz (mugginz) wrote :

Just did a fresh install of Kubuntu Jaunty Beta.

1 - Logged in
2 - Started Dolphin
3 - Right clicked Pictures folder and selected Properties
4 - Selected Share Tab
5 - Selected "Configure File Sharing" button
6 - Request for password appeared - Entered password and requester disappeared with nothing else happening.
7 - Selected "Configure File Sharing" button again - Nothing happens.
8 - Selected Cancel button and the requester disappeared.

Then I started KPackageKit from the K Menu and installed kdenetwork-filesharing package.

1 - Right clicked Pictures folder in Dolphin and selected Properties
2 - Selected Share Tab
3 - Selected "Configure File Sharing" button.
No request for a password was made cause it had been typed in previously.
4 - "Enable or Disable file sharing" Requester popped up with a note mentioning that SMB and NFS are not installed on this machine, to enable this module the servers must be installed.

------

This is the system behavior I've experienced on multiple Jaunty installs on multiple machines so I don't understand why it's not working for you.

Revision history for this message
mugginz (mugginz) wrote :

Could you perform the following command and post the resultant packages.txt file.

dpkg-query -l 'kde*' > packages.txt

Thanks in advance.

Revision history for this message
martin j burger (martinjburger) wrote :
Download full text (6.6 KiB)

When I run "dpkg-query -l 'kde*' > packages.txt" nothing happens. When I run "dpkg-query -l 'kde*'" I'll get this:

martin@martin-kdesktop:~$ dpkg-query -l 'kde*' > packages.txt
martin@martin-kdesktop:~$ dpkg-query -l 'kde*' > packages.txt
martin@martin-kdesktop:~$ dpkg-query -l 'kde*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===================-===================-======================================================
un kde-icons-crystal <none> (no description available)
ii kde-icons-oxygen 4:4.2.2-0ubuntu1 Oxygen icon theme for KDE 4
ii kde-printer-applet 4:4.2.2-0ubuntu1 printer status applet
ii kde-style-qtcurve 0.62.7-0ubuntu1 Unified widget style for KDE and GTK+
un kde-style-qtcurve-k <none> (no description available)
ii kde-window-manager 4:4.2.2-0ubuntu1 the KDE 4 window manager (KWin)
ii kde-zeroconf 4:4.2.2-0ubuntu1 zeroconf plugins and kio slaves for KDE 4
un kde-zeroconf-kde4 <none> (no description available)
un kde4-style-qtcurve <none> (no description available)
un kde4-style-qtcurve- <none> (no description available)
un kdeaccessibility <none> (no description available)
un kdeaccessibility-kd <none> (no description available)
un kdeartwork-emoticon <none> (no description available)
un kdeartwork-style <none> (no description available)
un kdebase <none> (no description available)
ii kdebase-bin 4:4.2.2-0ubuntu3 core binaries for the KDE 4 base module
un kdebase-bin-kde3 <none> (no description available)
un kdebase-bin-kde4 <none> (no description available)
ii kdebase-data 4:4.2.2-0ubuntu3 shared data files for the KDE 4 base module
un kdebase-data-kde4 <none> (no description available)
un kdebase-kio-plugins <none> (no description available)
ii kdebase-plasma 4:4.2.2-0ubuntu3 plasma widgets from the KDE 4 base applications module
ii kdebase-runtime 4:4.2.2-0ubuntu1 runtime components from the official KDE 4 release
ii kdebase-runtime-bin 4:4.2.2-0ubuntu1 core binaries for the KDE 4 base runtime module
ii kdebase-runtime-dat 4:4.2.2-0ubuntu1 shared data files for the KDE 4 base runtime module
ii kdebase-runtime-dat 4:4.2.2-0ubuntu1 shared ...

Read more...

Revision history for this message
mugginz (mugginz) wrote :

Your list of KDE packages is exactly the same as my test systems here.

Could you execute the following command and report the output.

kdesudo kcmshell4 fileshare

Thanks.

Revision history for this message
martin j burger (martinjburger) wrote :

martin@martin-kdesktop:~$ kdesudo kcmshell4 fileshare

martin@martin-kdesktop:~$ kdesudo kcmshell4 fileshare
martin@martin-kdesktop:~$ kdesudo kcmshell4 fileshare
martin@martin-kdesktop:~$

when I first run this command, I get the same prompt as before(the one shown on the screen shot) then nothing.

Revision history for this message
mugginz (mugginz) wrote :

I came across a post by Piotr Kęplicz in a similar bug report that might have some relevance here.

Here's his post.

Piotr Kęplicz wrote 28 minutes ago:

It seems that KDE cache doesn't get updated when it should.

As a workaround, if you experience "findServiceByDesktopPath: fileshare.desktop not found" error when clicking on "Configure file sharing" (kdesudo kcmshell4 fileshare), try removing contents of /var/tmp/kdecache-root. It'll be updated automatically and the file sharing dialog should start without errors.

I wonder if removing /var/tmp/kdecache-root will fix this problem?

Revision history for this message
technoir1 (jameslinton) wrote :
Download full text (6.3 KiB)

same problem here. installed fresh install of kubuntu 9.04.
i cannot configure file sharing

1 - Logged in
2 - Started Dolphin
3 - Right clicked Pictures folder and selected Properties
4 - Selected Share Tab
5 - Selected "Configure File Sharing" button
6 - Request for password appeared - Entered password and requester disappeared with nothing else happening.

Then I started KPackageKit from the K Menu and installed kdenetwork-filesharing package.

1 - Right clicked Pictures folder in Dolphin and selected Properties
2 - Selected Share Tab
3 - Selected "Configure File Sharing" button.
No request for a password was made cause it had been typed in previously.

still nothing happens..

When I run "dpkg-query -l 'kde*' > packages.txt" nothing happens. When I run "dpkg-query -l 'kde*'" I'll get this:
james@linux1:~$ dpkg-query -l 'kde*' > packages.txt
james@linux1:~$ dpkg-query -l 'kde*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
un kde-icons-crys <none> (no description available)
ii kde-icons-oxyg 4:4.2.2-0ubunt Oxygen icon theme for KDE 4
ii kde-printer-ap 4:4.2.2-0ubunt printer status applet
ii kde-style-qtcu 0.62.8-0ubuntu Unified widget style for KDE and GTK+
un kde-style-qtcu <none> (no description available)
ii kde-window-man 4:4.2.2-0ubunt the KDE 4 window manager (KWin)
ii kde-zeroconf 4:4.2.2-0ubunt zeroconf plugins and kio slaves for KDE 4
un kde-zeroconf-k <none> (no description available)
un kde4-style-qtc <none> (no description available)
un kde4-style-qtc <none> (no description available)
un kdeaccessibili <none> (no description available)
un kdeaccessibili <none> (no description available)
un kdeartwork-emo <none> (no description available)
un kdeartwork-sty <none> (no description available)
un kdebase <none> (no description available)
ii kdebase-bin 4:4.2.2-0ubunt core binaries for the KDE 4 base module
un kdebase-bin-kd <none> (no description available)
un kdebase-bin-kd <none> (no description available)
ii kdebase-data 4:4.2.2-0ubunt shared data files for the KDE 4 base module
un kdebase-data-k <none> (no description available)
un kdebase-kio-pl <none> (no description available)
ii kdebase-plasma 4:4.2.2-0ubunt plasma widgets from the KDE 4 base applicati
ii kdebase-runtim 4:4.2.2-0ubunt runtime components from the official KDE 4 r
ii kdebase-runtim 4:4.2.2-0ubunt core binaries for the KDE 4 base runtime mod
ii kdebase-runtim 4:4...

Read more...

Revision history for this message
mugginz (mugginz) wrote :

@technoir1

Have you got the samba package installed. I wrote a page on this, it might help.

See http://mugginix.com/articles/2009/Apr/19/Broken-File-Sharing/

Revision history for this message
technoir1 (jameslinton) wrote :

thanks mate! madness, well that fixed that problem,.. well sort of

Q\After installing those two packages and running the terminal commands i get the following error when opening dolphin, "network", "samba shares"

quote "Unable to find any workgroups in your local network. This might be caused by an enabled firewall"

i dont have a firewall installed so i am a bit confused.

 efore i installed these packages i could browse other computers on my network, however others could not see me. now i cant do anything lol :|

Revision history for this message
mugginz (mugginz) wrote :

@technoir1

You'll get that error when there are no shared folders on your network.

I'd try sharing a folder to see if that helps. One thing though. It can take a while for the shared folder to become visible so you might have to click refresh a few times. Another thing. Both Dolphin and Konqueror 'cache' what they see on the network and will sometimes not refresh their view of the world far quite a long time, so you might have to quit all Dolphin or Konqueror sessions after sharing the folder before you'll see them.

Hopefully this helps.

Revision history for this message
arjordan (jorsuscrip) wrote :

Excellent mugginz, I followed your directions in http://mugginix.com/articles/2009/Apr/19/Broken-File-Sharing/ Including to remove /var/tmp/kdecache-root. it worked for me!

Thank you very much.

Revision history for this message
Harald Sitter (apachelogger) wrote :

When I tried filesharing on 9.10 it worked just fine (granted, samba is installed).

Can anyone confirm that (at least on a clean) 9.10 install this bug is not appearing?

Changed in kdebase (Ubuntu):
status: New → Incomplete
Revision history for this message
Russell Lewis (russlewi) wrote :

I have a fresh install of 9.10 64 bit. Had the same issue when you click configure file sharing, it prompted for a password, and then nothing happened.

I installed kdenetwork-filesharing and now I got a bunch of menus to setup samba shares. Even a Samba menu under System Settings. However I couldn't get any shares to be visible locally or from other machines. I resorted to editing the smb.conf manually, and still had no luck. When I tried to restart samba I couldn't find /etc/init.d/samba. Turns out the package samba is also not installed.

No where were there prompts to install these 2 packages needed for the UI to function.

Revision history for this message
cardonator (bcardon) wrote :

This still seems to be an issue in 10.10. Isn't there a command that launches KPackageKit with specific packages to install? I thought I'd seen this in other areas where there were buttons that would do nothing without them being installed.

Anyway, installed kdenetwork-filesharing, samba and deleted the kdecache and it worked.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.