LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   gvfs-mount not working from command line (Fedora 11 x86-64) (https://www.linuxquestions.org/questions/fedora-35/gvfs-mount-not-working-from-command-line-fedora-11-x86-64-a-774933/)

ajitabhpandey 12-11-2009 07:07 AM

gvfs-mount not working from command line (Fedora 11 x86-64)
 
When I access a samba share from command line using gvfs-mount, I can not see anything in ~/.gvfs/ directory. See below:

Code:

ajitabhp:$ gvfs-mount smb://iomega-dstore/music/
ajitabhp:$ echo $?
0
ajitabhp:$ ls -l ~/.gvfs/
total 0
ajitabhp:$ ps -ef|grep gvfsd-smb
ajitabhp 10896    1  0 11:28 ?        00:00:00 /usr/libexec/gvfsd-smb
--spawner :1.1 /org/gtk/gvfs/exec_spaw/8
ajitabhp 10901  2689  0 11:29 pts/0    00:00:00 grep gvfsd-smb


But when I use Nautilus or "Places->Connect to server" i can access the share as well as I can see the mount under ~/.gvfs (see below):

Code:

ajitabhp:$ ls -l .gvfs/
total 0
drwx------. 1 ajitabhp ajitabhp 0 2009-12-03 11:17 music on iomega-dstore

There is no user-id/password associated with shares. Any ideas why the command line does not work?

lynnevan 01-23-2010 11:34 AM

This won't help, because my problem is that I can't connect from nautilus or places. I wasn't even aware of the gvfs-mount option.
"users on laptop", but in the process, after asking for my password, it them asks for a ?password? for domain [WORKGROUP]:
leaving user [my password]: printed on the screen, and asking for the password again.
I typed it in again (I only use one), and WORKGROUP (no domains) has no password.
At the prompt I was back in my home directory, but ~/.gvfs showed it had mounted "users on laptop".

Well, I said it wouldn't help.

I was surprised as all the password requests and that it would print my password in 'clear' as user.

Good luck.


All times are GMT -5. The time now is 04:53 PM.