Page 8 of 12 FirstFirst ... 678910 ... LastLast
Results 71 to 80 of 118

Thread: Map Windows Shares Permanently with GVFS

  1. #71
    Join Date
    Mar 2009
    Beans
    73

    Re: Map Windows Shares Permanently with GVFS

    That was it! Thank you so much. The quotes came from Open Office Writer. I was doing copy/paste to put the strings together. Weird to me because it's the same damn key! Probably not that weird though if you're not a noob like I am.

  2. #72
    Join Date
    Dec 2007
    Beans
    732

    Re: Map Windows Shares Permanently with GVFS

    Nice - thanks for the How-to. Very simple and best of all it worked great! Thanks for taking the time to write this and being so kind to share with the community.

    =D>

  3. #73
    Join Date
    May 2008
    Location
    near Milan, Italy
    Beans
    35
    Distro
    Ubuntu

    Talking Re: Map Windows Shares Permanently with GVFS

    great how to!

    very helpful!

  4. #74
    Join Date
    Jan 2008
    Beans
    82

    Re: Map Windows Shares Permanently with GVFS

    Hey, is anyone else having trouble getting samba shares to mount with gvfs in the latest Lucid alpha? I've reported a bug but there doesn't seem to be much interest in it.

    https://bugs.launchpad.net/bugs/530605

  5. #75
    Join Date
    Jan 2008
    Beans
    15

    Re: Map Windows Shares Permanently with GVFS

    Thank you for this nice Howto,

    i was experimenting with gvfs-mount for a couple of days now and am trying to mount shares via ssh on a different machine. I learned that i need to execute the following two lines before i use the actual mount command.
    Code:
    dbus-launch bash
    /usr/lib/gvfs/gvfsd -r &
    But i frequently encounter problems with the mount points in ~/.gvfs as they sometimes or better most of the times do not show up at all. If i manually test the mounts with
    Code:
    gvfs-mount -l
    they are listed correctly.
    Does one of you have an idea how to deal with this and where the mounts get linked to if not in the above directory?

    Thx,
    Nix

  6. #76
    Join Date
    May 2009
    Beans
    2

    Smile Re: Map Windows Shares Permanently with GVFS

    Thanks for your nice tutorial. I'm new to Ubuntu and don't know much about the shell and scripts and so on.
    You explained it so clearly that I managed to install it on my machine without any problem. I used it to ensure that the FreeNAS (running on my old 'recycled' PC) is well there at each startup !

    Friendly greetings from Belgium ! Claude

  7. #77
    Join Date
    May 2009
    Location
    Jah's Pocket
    Beans
    733
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Map Windows Shares Permanently with GVFS

    Hey just wanted to post up a script I put together that mounts your drives on login and it runs in the background to ensure the connection stays active. Just as with the OPs code, you need to mount it one time via nautilus and tell it to remember your password. You will need to do this for each share that is linked to your username.
    Note: You can map bad users to a guest account on the server's smb.conf. This will allow you to connect to shares with guest privileges for shares that you did not provide a password for.

    Samba mounter
    Startup Item

    I run into times where transferring many files can cause a connection drop and then I am hosed till it gets remounted. This takes care of that issue.

    BEFORE YOU RUN IT!!!:
    Please go into the file and change the paths that are to be mounted and get rid of unneeded entries. Lines 47-51 of the file, you can simply delete lines that you dont need or add more just follow the numbering scheme (0,1,2,3,n...). The syntax is outlined in the file.

    The script requires gvfs be installed so install it via the manager or use:
    Code:
    sudo apt-get install gvfs
    NOTE:
    Please make sure you are running this as a startup application.
    If you are having issues please change the DEBUG=0 line to DEBUG=1 and post the output of the log file from "/tmp/gnome-samba-mount-startup.log"

    To make the script available to all run
    Code:
    sudo cp ~/Downloads/gnome-samba-mount-startup /usr/bin
    sudo chmod 755 /usr/bin/gnome-samba-mount-startup
    To put the startup item in place run
    Code:
    sudo cp ~/Downloads/gnome-samba-mount-startup.desktop /etc/xdg/autostart
    This assumes you downloaded the file to ~/Downloads
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot-Computer.png 
Views:	95 
Size:	79.1 KB 
ID:	177006  
    Last edited by Boondoklife; December 1st, 2010 at 11:12 PM. Reason: Added gvfs install step.
    MyBlog
    Sledgehammer engineering, if it doesn't work, hit it damn hard.

  8. #78
    Join Date
    Mar 2010
    Location
    SOUTH AFRIKA
    Beans
    31
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Map Windows Shares Permanently with GVFS

    thanks hmmm

  9. #79
    Join Date
    May 2009
    Location
    Illinois (United States)
    Beans
    440
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Map Windows Shares Permanently with GVFS

    I found a very easy workaround for automatically mounting windows shares on startup.

    May not be the right way, but its easy enough.

    Go to "System" - "Preferences" - "Startup Applications"

    Then Click on Add

    For Name, put whatever you want

    Then for command, put "nautilus smb://(IP of share/share path)

    For example, the shared drive on my windows server is called "my-terabytes" and my servers local ip is 192.168.1.30

    So the command on mine says "nautilus smb://192.168.1.30/my-terabytes" (no quotes)

    Everything works great
    only downside, is every time I log in, that folder opens, but most of the time, thats where I'm going anyway

  10. #80
    Join Date
    May 2009
    Location
    Jah's Pocket
    Beans
    733
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Map Windows Shares Permanently with GVFS

    Quote Originally Posted by cbanakis View Post
    I found a very easy workaround for automatically mounting windows shares on startup.

    May not be the right way, but its easy enough.

    Go to "System" - "Preferences" - "Startup Applications"

    Then Click on Add

    For Name, put whatever you want

    Then for command, put "nautilus smb://(IP of share/share path)

    For example, the shared drive on my windows server is called "my-terabytes" and my servers local ip is 192.168.1.30

    So the command on mine says "nautilus smb://192.168.1.30/my-terabytes" (no quotes)

    Everything works great
    only downside, is every time I log in, that folder opens, but most of the time, thats where I'm going anyway
    Really you should use the script I posted as if the drive become un-mapped, it will remap it for you. In addition it allows you to have just one script in your startup applications for all network mappings.

    Plus you will not have the nautilus popup you are talking about.
    MyBlog
    Sledgehammer engineering, if it doesn't work, hit it damn hard.

Page 8 of 12 FirstFirst ... 678910 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •