Announcement

Collapse
No announcement yet.

kcmshell4 crashes when trying to share a folder

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    kcmshell4 crashes when trying to share a folder

    Hi,

    Like the subject says, kcmshell4 will crash when I click on the add button. If I run fileshare from the Konsole rather then right clicking a folder in dolphin I get the following in the Konsole

    Code:
    $ sudo kcmshell4 fileshare
    Error: "/var/tmp/kdecache-andrew" is owned by uid 1000 instead of uid 0.
    Error: "/tmp/kde-andrew" is owned by uid 1000 instead of uid 0.
    QFSFileEngine::open: No file name specified
    kcmshell(9569): NFSFile::load: Could not open ""
    
    Loaded smb config files from /dev/null
    lp_load: refreshing parameters from /dev/null
    Loaded services file OK.
    ERROR: lock directory /usr/var/lib/samba does not exist
    ERROR: pid directory /usr/var/run/samba does not exist
    Press enter to see a dump of your service definitions
    ASSERT: "i >= 0 && i < size()" in file /usr/include/qt4/QtCore/qstring.h, line 646
    KCrash: Application 'kcmshell4' crashing...
    sock_file=/home/andrew/.kde/socket-Laptop/kdeinit4__0
    from that
    Code:
    $ sudo kcmshell4 fileshare
    Error: "/var/tmp/kdecache-andrew" is owned by uid 1000 instead of uid 0.
    Error: "/tmp/kde-andrew" is owned by uid 1000 instead of uid 0.
    appears when I run it normally, the rest is the error I get when I click Add.

    Anyone know how to fix this?

    #2
    Re: kcmshell4 crashes when trying to share a folder

    I can do an educated guess:

    The first 2 lines is a permissions issue. uid 0 is root, uid 1000 is you. Try losing the sudo and see what it does then. You could also try using kdesudo...I think that only uses root permission, not the actual ownership&account.

    The /usr/var/lib/samba does not exist part is exactly that...your missing some part of samba. Double-check that its all installed.

    The assert shouldn't be there. Only dev code should have asserts. Are you running some or other beta?

    Also try launching the dolphon instance with kdesudo.

    Comment

    Working...
    X