I'm new to Linux and have been searching this forum and google for a solution without out luck.
Objective: I have several users using this computer and need a login script to mount network shares.
Background (other approach): I've tried Gigolo and creating shortcuts in Thunar. This approach has two issues: 1. VLC doesn't see the shortcuts when opening files or directories and 2. Thunar gives and error when opening the home folder. (Error stating file 'Home/user/.gvfs'. Transport endpoint is not connected). And I have to umount ~/.gvfs.
OS/apps: I'm running Mint 13 Xfce I did updates yesterday. I've installed smbfs. As noted above, I've also installed Gigolo.
Summary: I'd like to create login / logout scripts to mount the network shares. I need a create a script that is user independant as each user has different shares and different rights on "common" network shares.
Thanks in advance for your help.
login script mount network shares SOLVED
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
login script mount network shares SOLVED
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: login script mount network shares
I haven't experienced either one of those symptoms but you might try the following:
Change this:
Edit a file as root:2. Thunar gives and error when opening the home folder. (Error stating file 'Home/user/.gvfs'. Transport endpoint is not connected). And I have to umount ~/.gvfs.
Code: Select all
gksu gedit /usr/share/gvfs/mounts/network.mount
To this:[Mount]
Type=network
Exec=/usr/lib/gvfs/gvfsd-network
AutoMount=true
You may have to logout and login again.[Mount]
Type=network
Exec=/usr/lib/gvfs/gvfsd-network
AutoMount=false
Not sure how you are doing the shortcut but what I usually do is open Thunar and drag and drop the .gvfs folder to the left side panel. Then when you open VLC ( or any other application ) and search for a file the .gvfs folder and it's remote share mounts ends up on it's left side panel as well.1. VLC doesn't see the shortcuts when opening files or directories
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: login script mount network shares
OK, sorry for the delay in my response.
I changed the file to AutoMount=false and logged out and back in. This didn't have any impact on the (Error stating file 'Home/user/.gvfs'. Transport endpoint is not connected) error. I still get the error when opening or clicking on the home directory,
Regarding your feedback on the shortcuts, yes, I drag and drop them to the left side and they live there happly. When I Open Directory... from the media menu item in VLC the shortcuts are not on the left side of the browser. The same is true when I select Open File... from the media menu item.
I changed the file to AutoMount=false and logged out and back in. This didn't have any impact on the (Error stating file 'Home/user/.gvfs'. Transport endpoint is not connected) error. I still get the error when opening or clicking on the home directory,
Regarding your feedback on the shortcuts, yes, I drag and drop them to the left side and they live there happly. When I Open Directory... from the media menu item in VLC the shortcuts are not on the left side of the browser. The same is true when I select Open File... from the media menu item.
Re: login script mount network shares
hello
Maybe
J.Jay
P.S. this still (a bug) that thunar won't show shorcuts unless (till) the share is mounted. The share saves in thunar but not show till actual (I use gigolo, also mount plugin for panel availlable).
I believe this is one off the instances you need to reboot (full shutdown restart) not just a logout.I changed the file to AutoMount=false and logged out and back in
Maybe
J.Jay
P.S. this still (a bug) that thunar won't show shorcuts unless (till) the share is mounted. The share saves in thunar but not show till actual (I use gigolo, also mount plugin for panel availlable).
Re: login script mount network shares
Thanks.
The home drive issue is fixed.
The VLC still will not show the shortcuts...odd as Banshee does show the shortcuts.
The home drive issue is fixed.
The VLC still will not show the shortcuts...odd as Banshee does show the shortcuts.