gvfs-mount not working from command line (Fedora 11 x86-64)


 
Thread Tools Search this Thread
Operating Systems Linux gvfs-mount not working from command line (Fedora 11 x86-64)
# 1  
Old 12-11-2009
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?
# 2  
Old 01-28-2010
This will not work though if gvfsd and gvfs-fuse-daemon are not running in the background.

Have you check this?
# 3  
Old 01-29-2010
Yes the daemons are running. Actually, I got it working. It seems to be an issue with fedora 12. Its working without any special efforts in OpenSuSe 11.2
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script working on command line and not on crontab

my problem is this: when I run a script from the command line it works but returns a failure if I run it from crontab. Basically I wanted to send a file to hdfs, I thought it was related to the fact that crontab do not know the path to hdfs so I put the full path but it still does not work: here... (16 Replies)
Discussion started by: beautymind
16 Replies

2. Shell Programming and Scripting

sed Command new Line not working Tried many variations

Hi I have assigned an output of a command to $I. I try to print the input and put a new line after occurrence of the hostname which is assigned to $HOST1 ( Example: pwrm16 ) . First of all I need to get rid of the Colon after the host name pwrm16: and make it pwrm16 then I want to print the... (10 Replies)
Discussion started by: mnassiri
10 Replies

3. Red Hat

How to start Fedora 11 in command line mode and skip damaged programs ??

Hi All, Please let me know that how to start Fedora 11 in command line mode and skip damaged programs ?? Scenario being: I have Fedora 11 ( pretty ole... eh !! ). If I try to start the PC , then after some steps of startup... it just hangs and does not boots. I tried entering the mode... (4 Replies)
Discussion started by: dipanchandra
4 Replies

4. Linux

Need to Mount LUKS external drive on Fedora

I had installed Fedora 16 a while back and chose to encrypt my home directory. I have removed the drive and installed a new drive, installed F17 and would like to attach the old drive externally and mount it to recover some of my data. I know the encryption password but I can't seem to find any... (3 Replies)
Discussion started by: jlouki01
3 Replies

5. Red Hat

Fedora 16 (i686) DVD boot issue in x86 (32bit)

Hi, I'm using fedora for 5 years. recently i decided to install new version (16). after i reboot the computer and want to boot from dvd nothing happen's and system boot's from hard disk (i have setup the bios to directly boot from dvd-rom and my dvd-rom is ok). i have downloaded (again) fc16 dvd... (3 Replies)
Discussion started by: ba$h
3 Replies

6. AIX

need help - How to mount DVD rom in AIX in Command line

Dear Friends could u pls help me on this . how to mount DVD rom in command line in aix? THanks DD (4 Replies)
Discussion started by: ded325
4 Replies

7. Shell Programming and Scripting

Need help! command working ok when executed in command line, but fails when run inside a script!

Hi everyone, when executing this command in unix: echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error. here is content of my script: tdbsrvr$ vi hc.sh "hc.sh" 22 lines, 509... (4 Replies)
Discussion started by: 4dirk1
4 Replies

8. Shell Programming and Scripting

Command Line Arguments - not working

I am new to the world of Unix and shell scripting and have been trying to get the following simple script to work: #!/bin/bash echo "what is your age?" echo "you are $1 years old"I want to be able to enter my age on the command line, when prompted, and it return the... (1 Reply)
Discussion started by: meursault
1 Replies

9. Red Hat

command line image capture on fedora 11

i mean command line WEBCAM image capture. sorry fo rleaving webcam out of the title... how do i edit that? anyways... imagemagick, ffmpeg are installed. cheese works fine. webcam is there. i can take movies and photos. i would like to take command line snapshots from the camera. how do i do... (0 Replies)
Discussion started by: danpaluska
0 Replies

10. UNIX for Dummies Questions & Answers

How can i MOUNT CD-ROM in FEDORA Core?

Hai friends, Could you please tell me , How can i MOUNT CD-ROM in FEDORA Core? (1 Reply)
Discussion started by: haisubbu
1 Replies
Login or Register to Ask a Question