You are not logged in.
Hello to all.
I am using Linux Mint 16 (Petra) XFCE (version 4.10 if I am correct).
I am having trouble trying to set connections to a windows server using fstab or command line (mount).
But when I manually set the connection using Thunar's 'Browse network' , it works fine.
I only need to be able to set these connections automatically.
Here is a thread in French discussing in details the problem : http://forum.ubuntu-fr.org/viewtopic.ph … #p16904371
Since it works fine in Thunar but I cannot find neither the right command-line nor the right mount command, I was wondering if there is a way to spy what command is Thunar using (in logs for example) ?
Offline
Thunar uses gvfs to do its mounting. In a terminal window, enter:
gvfs-mount -o -i
...and then mount through thunar and you will see some detail about the mounting.
You can also use the gvfs tool directly. For example:
gvfs-mount smb://toz@192.168.1.254/familypics
...to do the mounting or use the application gigolo (which also uses gvfs).
"gvfs-mount --help" for more options.
However, this doesn't help you solve your cifs mounting problem. You might want to try creating a thread at ubuntuforums.org, there are a number of people there who know samba really well.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Hello.
Thanks for helping.
I did the "gvfs -o -i":
manfred@Portable-TRE-Manfred ~ $ gvfs-mount -o -i
Monitoring events. Press Ctrl+C to quit.
Mount added: 'mamoureux$ sur srvtransenergie'
Mount(0): mamoureux$ sur srvtransenergie -> smb://srvtransenergie/mamoureux$/
Type: GDaemonMount
default_location=smb://srvtransenergie/mamoureux$/
themed icons: [folder-remote] [folder]
symbolic themed icons: [folder-remote-symbolic] [folder-symbolic]
can_unmount=1
can_eject=0
is_shadowed=0
When I try to mount manually , I get
Erreur lors du montage de l'emplacement : le volume n'implémente pas le montage
, i.e. "Error : the volume does not implement mounting".
Do you understand what that means ?
Offline
What command did you use to mount it manually?
When you mount from thunar, do you enter username, domain, and password?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Hello.
I used : gvfs-mount smb://mamoureux@192.168.1.201/mamoureux$/ /home/manfred/ReseauTRE/Test5/
When I mount in Thunar, a pop-up window asks me for login, domain and password, and after I enter them it works fine (except that, despite that I tick the box for 'remember for ever' , I have to enter these identifiers every time I boot the laptop again).
Offline
I used : gvfs-mount smb://mamoureux@192.168.1.201/mamoureux$/ /home/manfred/ReseauTRE/Test5/
Don't specify a mount location (destination). I believe that in ubuntu, gvfs will create the mount location in /run/user/<uid>/gvfs where <uid> is your current user uid. So:
gvfs-mount smb://mamoureux@192.168.1.201/mamoureux$/
...should work.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Hello.
Indeed it does work ! Thanks.
The mount location is actuallt /run/user/<uid>/gvfs .
Is there any way to specify a/ the domain and password so I don't have to enter them manually , b/ the mount location ?
Offline
a) This link shows how to use an expect script to do this. You can also use gigolo. Plus with gigolo, you can set it to automount the shares. Just place gigolo in your startup applications and they get automounted on login.
b) One way would be to use links. There must be some way to change the default gvfs file location and share names but I don't know off the top of my head. I'll have a look to see if I can find something.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 547.27 KiB (Peak: 548.11 KiB) ]