filesharing - systemsettings module fails to start

Bug #366922 reported by Thomas Weissel
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kdenetwork (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: kdenetwork-filesharing

sudo /usr/bin/kcmshell4 kcmsambaconf
starts the config module but the entry in "systemsettings" does nothing..

the button "configure filesharing" in the "share" tab of the "properties" dialog does not work either.

samba
kdenetwork-filesharing
et al. are installed

konsoleoutput:
----------------------------------------------------------------
MainWindow::selectionChanged: Selected item: "Samba"
systemsettings(13197) MainWindow::selectionChanged: Comment: "A module to configure shares for Microsoft Windows"
systemsettings(13197) MainWindow::selectionChanged: Needs root privs: true
systemsettings(13197) MainWindow::selectionChanged: Starting root module: ("-d", "-i", "/usr/share/icons/oxygen/32x32/apps/preferences-system-network-share-windows.png", "-c", "/usr/bin/kcmshell4 kcmsambaconf --lang en_US")

kcmshell(13206) KServiceFactory::findServiceByDesktopPath: "findServiceByDesktopPath: kcmsambaconf.desktop not found"
systemsettings(13197) MainWindow::selectionChanged: Quit root module: ("-d", "-i", "/usr/share/icons/oxygen/32x32/apps/preferences-system-network-share-windows.png", "-c", "/usr/bin/kcmshell4 kcmsambaconf --lang en_US")
---------------------------------------------------------------

Thomas Weissel (xapient)
tags: added: filesharing jaunty kubuntu samba systemsettings
Revision history for this message
Tscheesy (tscheesy) wrote :

My System has been updated to Alpha - now Jaunty/KDE4.2.2 - had Probs with kde-icon-oxygen on several Upgrades - after re-installing this kde-icon-oxygen Pakage I get the same Error here:

kcmshell(8418) KServiceFactory::findServiceByDesktopPath: "findServiceByDesktopPath: kcmsambaconf.desktop not found"
systemsettings(8061) MainWindow::selectionChanged: Quit root module: ("-d", "-i", "/usr/share/icons/oxygen/32x32/apps/preferences-system-network-share-windows.png", "-c", "/usr/bin/kcmshell4 kcmsambaconf --lang de")

Changed in kdenetwork (Ubuntu):
status: New → Confirmed
Revision history for this message
KernelPanic (jfrusciante) wrote :

Same KDE version and same problem for me. I hacked a bit with the service file (.desktop), and it seems to be ok. However, as a temporary workaround:

cd /usr/share/kde4/services
sudo ln -s kcmsambaconf.desktop kcm_kcmsambaconf.desktop

solved for me. Someone was looking for the wrong file name.

Revision history for this message
Marlon (rac-sword2) wrote :

@KernelPanic:

I would like to know how you were able to figure out that the filename was wrong?

So basically the steps to get a file share running using Samba are:
sudo apt-get install samba4
sudo apt-get install kdenetwork-filesharing
sudo ln -s /usr/share/kde4/services/kcmsambaconf.desktop /usr/share/kde4/services/kcm_kcmsambaconf.desktop
then configure it?

I still dont get a configuration dialog window when I click on the "Configure File Sharing..." button for the properties of the folder I'm trying to share. The only way is to manually bring the samba configuration dialog using "sudo /usr/bin/kcmshell4 kcmsambaconf.desktop".

I can do it that way and no biggie, how many times do you have to configure samba shares anyways, but I would like to get this fixed and documented so that Kubuntu gets better and more user friendly...at least for bragging rights. Specially since KDE4 has gotten so much hate lately.

Revision history for this message
KernelPanic (jfrusciante) wrote :

It seems that by making the symbolic link makes the icon appear twice. Probably using "mv" instead of "ln -s" would be more appropriate.

@Marlon:
I don't remember exactly, but I noticed that the library (/usr/lib/kde4/kcm_kcmsambaconf.so) and the .desktop file had a slightly different name, while the other modules all had a perfect correspondence. And that a module usually starts with kcm_something, not with kcm_kcmsomething.

Revision history for this message
Marlon (rac-sword2) wrote :

in the bug report it says "sudo /usr/bin/kcmshell4 kcmsambaconf" but it should be "sudo /usr/bin/kcmshell4 kcmsambaconf.desktop".

I removed the link I created since it would still not work.

Revision history for this message
Marlon (rac-sword2) wrote :

I couldnt get samba4 working so I simply installed samba and configured it manually instead of using the folder properties window in Nautilus. I think the only problem is that Nautilus uses kcmshell instead of kcmshell4. If you run kcmshell4 fileshare with sudo it works just fine even though you get some errors to print on the console.

Revision history for this message
Tom Ridge (t-launchpad-tom-ridge-com) wrote :

On a fresh jaunty kubuntu install:

sudo apt-get install samba

I get the problems reported above (in dolphin, right clicking a directory, selecting permissions, selecting sharing, entering password, nothing happens).

If I then

sudo apt-get install kdenetwork-filesharing

things work as expected.

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

The KCM starts just fine on what is going to be Kubuntu 10.04, also couldnt say that I have noticed unstartability in Kubuntu 9.10

Changed in kdenetwork (Ubuntu):
status: Confirmed → Fix Released
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.