VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Samba and Thunar file sharing troubles  (Read 6000 times)

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Samba and Thunar file sharing troubles
« on: March 02, 2009, 11:10:48 am »

First of, thank MOE-Inx for the thunar-shares-plugin and for the tutorial.

I'm having some trouble.  I've installed thunar-shares-plugin.  I've set samba to run at run-level 4, I've tested that I can see the samba shares in the terminal. I've rebooted and restarted my system.

However, Thunar does not show a shared tab, or any info on shares. (Pic 1)

I double checked to see if samba was running use XFce taskmanager. It was twice (Pic 2)
  I thought this odd, but what do I know.

I double checked to see if shares where seen (pic 3)

Then I ran vlsmbmnt as root in the terminal and I get an error just when I hit the rescan option. (pic.4)
This error was occurring before thunar-shares-pluging was added.  From the moment after install, so I don't think it's related to adding the thunar-share-plugin, but it may be preventing it from working.

Any help would be hugely appreciated.  I will try anything.
Thank you in advance. And I'll thank you again later, I'm sure for any help provided.
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3217
Re: Samba and Thunar file sharing troubles
« Reply #1 on: March 02, 2009, 11:50:03 am »

Something must be wrong there... but unfortunately, I cant tell what.

I tried vlsmbmount here and I got this (see screenie)

If I didn't know any better, I think that's an X session error.

Try as normal user in a terminal,
Code: [Select]
xhost +si:localuser:rootthen in the same terminal, try again.

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: Samba and Thunar file sharing troubles
« Reply #2 on: March 02, 2009, 02:37:09 pm »

Thanks MOE-Inx;

I gave it a try (the xhost +si:localuser:rootxhost) no luck but appreciated all the same.

When I google the error I found what I think is a relevant post. (pic 1...just easier than typing)

I should say that I do get the same screenie you posted just can't connect to any of my shares on the other computer.  Trying to mount the share just generates another error.  I'll post it when I get home.

Thanks;
Ken
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4086
Re: Samba and Thunar file sharing troubles
« Reply #3 on: March 02, 2009, 05:16:01 pm »

As I also posted here: http://forum.vectorlinux.com/index.php?topic=8793.msg59166#new ..
I am not familiar with how Thunar interacts with Samba, but did do some testing with vlsmbmnt in 6.0 Std. To make it work, I had to install "bind" and add or modify these files: http://cincinnatix.com/vectorlinux/nightflier/vlsmbmnt-files.tlz
Logged

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: Samba and Thunar file sharing troubles
« Reply #4 on: March 02, 2009, 07:12:54 pm »

Thanks Nightflyer, I'll try this when I get home. I don't have any files to share here at work, but it looks positive. 
Ken
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: Samba and Thunar file sharing troubles
« Reply #5 on: March 02, 2009, 11:52:36 pm »

Nightflyer, you my friend, are a genius!!!

With your permission I'd like to make a tutorial of your fix. Are you going to continue to host the download from your site? If not I could easily do so.

Anyway, you have ended days of frustration for me.
Many, many thanks.

I still don't seem to have the properties tabs that the thunar-shares-plugin promises, but I found something on the Xfce4 website and I'm playing around with some stuff there.
http://goodies.xfce.org/projects/thunar-plugins/thunar-shares-plugin

MOE-Inx, The website I'm referencing lists Thunar-VFS and thunarx as a dependency, but I can't find it listed in GSlapt.  Is this of any concern or are they simply part of our already installed thunar package.
« Last Edit: March 03, 2009, 12:07:14 am by stretchedthin »
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4086
Re: Samba and Thunar file sharing troubles
« Reply #6 on: March 03, 2009, 05:02:03 am »

Glad to be of any help  :)

The information provided is free as in speech. I'll keep the file available for download, but of course, it is not an official VL package.

I'm thinking this may be an opportunity to make a package for the repo that can be pushed out via the update notifier (gears turning...).
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3217
Re: Samba and Thunar file sharing troubles
« Reply #7 on: March 03, 2009, 05:41:04 am »

I did not need any additional packages installed. I think our thunar package includes all of these.

Just did a search for "thunarx" in my 6.0 box and this comes out
Quote
locate thunarx
/usr/lib/libthunarx-1.so.2
/usr/lib/libthunarx-1.so.2.3.1
/usr/lib/pkgconfig/thunarx-1.pc
/usr/lib/libthunarx-1.la
/usr/lib/libthunarx-1.so
/usr/lib/thunarx-1
/usr/lib/thunarx-1/thunar-apr.la
/usr/lib/thunarx-1/thunar-apr.so
/usr/lib/thunarx-1/thunar-media-tags-plugin.la
/usr/lib/thunarx-1/thunar-media-tags-plugin.so
/usr/lib/thunarx-1/thunar-sbr.la
/usr/lib/thunarx-1/thunar-sbr.so
/usr/lib/thunarx-1/thunar-archive-plugin.la
/usr/lib/thunarx-1/thunar-archive-plugin.so
/usr/lib/thunarx-1/thunar-uca.la
/usr/lib/thunarx-1/thunar-uca.so
/usr/lib/thunarx-1/thunar-shares-plugin.la
/usr/lib/thunarx-1/thunar-shares-plugin.so
/usr/lib/thunarx-1/thunar-svn-plugin.la
/usr/lib/thunarx-1/thunar-svn-plugin.so
/usr/lib/thunarx-1/thunar-shares-plugin.a
/usr/share/gtk-doc/html/thunarx
/usr/share/gtk-doc/html/thunarx/ThunarxPreferencesProvider.html
/usr/share/gtk-doc/html/thunarx/thunarx-Variables-and-functions-to-check-the-library-version.html
/usr/share/gtk-doc/html/thunarx/say-hello.png
/usr/share/gtk-doc/html/thunarx/abstraction.png
/usr/share/gtk-doc/html/thunarx/thunarx-providers.html
/usr/share/gtk-doc/html/thunarx/style.css
/usr/share/gtk-doc/html/thunarx/right.png
/usr/share/gtk-doc/html/thunarx/ix01.html
/usr/share/gtk-doc/html/thunarx/left.png
/usr/share/gtk-doc/html/thunarx/thunarx-overview.html
/usr/share/gtk-doc/html/thunarx/ThunarxProviderPlugin.html
/usr/share/gtk-doc/html/thunarx/index.html
/usr/share/gtk-doc/html/thunarx/index.sgml
/usr/share/gtk-doc/html/thunarx/bulk-rename.png
/usr/share/gtk-doc/html/thunarx/home.png
/usr/share/gtk-doc/html/thunarx/ThunarxPropertyPage.html
/usr/share/gtk-doc/html/thunarx/ThunarxRenamerProvider.html
/usr/share/gtk-doc/html/thunarx/ThunarxPropertyPageProvider.html
/usr/share/gtk-doc/html/thunarx/ThunarxMenuProvider.html
/usr/share/gtk-doc/html/thunarx/thunarx-abstraction-layer.html
/usr/share/gtk-doc/html/thunarx/menu-provider.png
/usr/share/gtk-doc/html/thunarx/thunarx.devhelp
/usr/share/gtk-doc/html/thunarx/thunarx-fundamentals.html
/usr/share/gtk-doc/html/thunarx/ThunarxFileInfo.html
/usr/share/gtk-doc/html/thunarx/thunarx-writing-extensions-advanced-topics.html
/usr/share/gtk-doc/html/thunarx/thunarx-writing-extensions.html
/usr/share/gtk-doc/html/thunarx/thunarx.devhelp2
/usr/share/gtk-doc/html/thunarx/up.png
/usr/share/gtk-doc/html/thunarx/thunarx-writing-extensions-getting-started.html
/usr/share/gtk-doc/html/thunarx/ThunarxRenamer.html
/usr/share/gtk-doc/html/thunarx/thunarx-using-extensions.html
/usr/share/gtk-doc/html/thunarx/ThunarxProviderFactory.html
/usr/include/thunarx-1
/usr/include/thunarx-1/thunarx
/usr/include/thunarx-1/thunarx/thunarx-provider-factory.h
/usr/include/thunarx-1/thunarx/thunarx-file-info.h
/usr/include/thunarx-1/thunarx/thunarx-menu-provider.h
/usr/include/thunarx-1/thunarx/thunarx-property-page-provider.h
/usr/include/thunarx-1/thunarx/thunarx-property-page.h
/usr/include/thunarx-1/thunarx/thunarx-config.h
/usr/include/thunarx-1/thunarx/thunarx.h
/usr/include/thunarx-1/thunarx/thunarx-preferences-provider.h
/usr/include/thunarx-1/thunarx/thunarx-renamer-provider.h
/usr/include/thunarx-1/thunarx/thunarx-renamer.h
/usr/include/thunarx-1/thunarx/thunarx-provider-plugin.h

And thunar-vfs
Quote
root:# locate thunar-vfs
/usr/lib/libthunar-vfs-1.so.2.3.1
/usr/lib/pkgconfig/thunar-vfs-1.pc
/usr/lib/libthunar-vfs-1.la
/usr/lib/libthunar-vfs-1.so
/usr/lib/libthunar-vfs-1.so.2
/usr/share/gtk-doc/html/thunar-vfs
/usr/share/gtk-doc/html/thunar-vfs/filesystem-monitoring.html
/usr/share/gtk-doc/html/thunar-vfs/ThunarVfsUser.html
/usr/share/gtk-doc/html/thunar-vfs/thunar-vfs-ThunarVfsPath.html
/usr/share/gtk-doc/html/thunar-vfs/thunar-vfs-Jobs.html
/usr/share/gtk-doc/html/thunar-vfs/style.css
/usr/share/gtk-doc/html/thunar-vfs/ThunarVfsJob.html
/usr/share/gtk-doc/html/thunar-vfs/thunar-vfs-Basic-Types.html
/usr/share/gtk-doc/html/thunar-vfs/ThunarVfsMimeAction.html
/usr/share/gtk-doc/html/thunar-vfs/ThunarVfsMimeApplication.html
/usr/share/gtk-doc/html/thunar-vfs/right.png
/usr/share/gtk-doc/html/thunar-vfs/thunar-vfs-ThunarVfsMimeInfo.html
/usr/share/gtk-doc/html/thunar-vfs/ix01.html
/usr/share/gtk-doc/html/thunar-vfs/left.png
/usr/share/gtk-doc/html/thunar-vfs/index.html
/usr/share/gtk-doc/html/thunar-vfs/index.sgml
/usr/share/gtk-doc/html/thunar-vfs/ThunarVfsMonitor.html
/usr/share/gtk-doc/html/thunar-vfs/ThunarVfsVolumeManager.html
/usr/share/gtk-doc/html/thunar-vfs/home.png
/usr/share/gtk-doc/html/thunar-vfs/thunar-vfs.devhelp2
/usr/share/gtk-doc/html/thunar-vfs/introduction.html
/usr/share/gtk-doc/html/thunar-vfs/thunar-vfs-Initialization-and-Shutdown.html
/usr/share/gtk-doc/html/thunar-vfs/jobs.html
/usr/share/gtk-doc/html/thunar-vfs/thunar-vfs-Utility-Functions.html
/usr/share/gtk-doc/html/thunar-vfs/up.png
/usr/share/gtk-doc/html/thunar-vfs/ThunarVfsUserManager.html
/usr/share/gtk-doc/html/thunar-vfs/ThunarVfsVolume.html
/usr/share/gtk-doc/html/thunar-vfs/ThunarVfsGroup.html
/usr/share/gtk-doc/html/thunar-vfs/thunar-vfs.devhelp
/usr/share/gtk-doc/html/thunar-vfs/fundamentals.html
/usr/share/gtk-doc/html/thunar-vfs/ThunarVfsMimeDatabase.html
/usr/share/gtk-doc/html/thunar-vfs/volume-handling.html
/usr/share/gtk-doc/html/thunar-vfs/thunar-vfs-ThunarVfsInfo.html
/usr/share/gtk-doc/html/thunar-vfs/users-and-groups-handling.html
/usr/share/gtk-doc/html/thunar-vfs/ThunarVfsMimeHandler.html
/usr/share/gtk-doc/html/thunar-vfs/mime-types.html
/usr/share/thumbnailers/thunar-vfs-font-thumbnailer-1.desktop
/usr/libexec/thunar-vfs-font-thumbnailer-1
/usr/libexec/thunar-vfs-update-thumbnailers-cache-1
/usr/libexec/thunar-vfs-pixbuf-thumbnailer-1
/usr/libexec/thunar-vfs-mime-cleaner-1
/usr/include/thunar-vfs-1
/usr/include/thunar-vfs-1/thunar-vfs
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-volume.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-info.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-path.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-user.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-util.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-job.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-enum-types.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-interactive-job.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-mime-info.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-mime-handler.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-mime-database.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-mime-action.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-thumb.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-mime-application.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-config.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-types.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs.h
/usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-monitor.h
« Last Edit: March 03, 2009, 05:42:59 am by M0E-lnx »
Logged

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: Samba and Thunar file sharing troubles
« Reply #8 on: March 03, 2009, 10:09:34 am »

Thanks MOE-Inx;
I should have used locate, wasn' thinking I guess.

I'll try on couple more machines this weekend.
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3217
Re: Samba and Thunar file sharing troubles
« Reply #9 on: March 03, 2009, 11:25:53 am »

FWIW, I do get that x session error when ever I run other apps as root in a terminal (ie, gambas2) but my applications always work regardless of the x session warning.

I tried the suggested fix on your screenshot, and the results are exactly the same

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: Samba and Thunar file sharing troubles
« Reply #10 on: March 03, 2009, 12:44:19 pm »

I tried the suggested fix on your screenshot, and the results are exactly the same

That suggested fix got me no where as well.  I don't know about the other apps, but maybe Nightflyer can enlighten us as to what changes he made in his modified packages.  That got my Samba working.

I'm going to have to figure out now exactly how thunar works with samba and why I am not getting the features of the thunar-shares-plugin. Will work at it this weekend. Not giving up yet.
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: Samba and Thunar file sharing troubles
« Reply #11 on: March 03, 2009, 12:47:58 pm »

Glad to be of any help  :)

The information provided is free as in speech. I'll keep the file available for download, but of course, it is not an official VL package.

I'm thinking this may be an opportunity to make a package for the repo that can be pushed out via the update notifier (gears turning...).

Here's the tutorial if you want to take a look.
http://www.opensourcebistro.com/Tutorial/VL60/Trouble-Shooting/sambafix/sambafix.htm

I know it will be obsolete as soon as you are able to provide the update via GSlapt, but it might do some good and it certainly can't hurt.
Ken
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

wannaspeedcom

  • Member
  • *
  • Posts: 14
Re: Samba and Thunar file sharing troubles
« Reply #12 on: April 19, 2010, 09:09:08 pm »

Just wondering if anyone got the thunar share plugin working after it wasnt? I was /am having the exact same issue as the OP. I was getting the error in the terminal window with samba, unfortunately nightfliers solution didn't fix mine, but under the testing server in gslapt I was able to get an updated samba package which did fix the problem and I have samba working.

But...

No matter what I have tried thus far, the thunar plugin just wont work for me. It's installed and my folders have the right permissions. I have bind, but the share tab just isn't there.

Not sure if this helps or not, but I get this error when opening thunar in the terminal.
Code: [Select]
GLib-GObject-WARNING **: Two different plugins tried to register 'TspProvider'.
« Last Edit: April 19, 2010, 09:15:54 pm by wannaspeedcom »
Logged