It is currently Mon May 29, 2017 2:08 am



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 
Author Message
 Post subject: Alpha4: gvfs-daemon service not starting
PostPosted: Fri Jan 09, 2015 6:57 am 
Offline

Joined: Fri Jan 02, 2015 5:49 am
Posts: 42
Hi Folks,

The gvfs daemon is not being started.

There is a gvfs-daemon.service file in /usr/share/dbus-1/services which is supposed to execute /usr/lib/gvfs/gvfsd

What startup or configuration file needs to be edited to ensure that the gvfs daemon is started when the system is initialised? Or, is there some other way that this is supposed to be configured?

Thanks, Michael.


Last edited by cuscotravelservices on Sat Jan 10, 2015 11:13 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Alppha4: gvfs-daemon service not starting
PostPosted: Fri Jan 09, 2015 3:41 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2132
that file is not present of my a4 system, nor is gvfs installed. gvfs isn't needed for anything in antiX IIRC. Even spacefm doesn't use it, preferring its own VFS implementation.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: Alppha4: gvfs-daemon service not starting
PostPosted: Fri Jan 09, 2015 9:10 pm 
Offline

Joined: Fri Jan 02, 2015 5:49 am
Posts: 42
You haven't answered the question.

SpaceFM doesn't support PTP cameras.

I am hoping that I can add an entry to the udevil.conf file for the GVFS Daemon so that SpaceFM can automaticaly detect and mount PTP cameras.

With GALPon MiniNo Ártabros 2.1, which has GVFS installed by default to support PCManFM, once the camera has been mounted by PCManFM or via the command line using gvfs-mount, SpaceFM can access the files on the camera which are mounted at HOME/<USER>/.gvfs.

So, once again, what needs to de done to have the GVFS Daemon started when the system is initialised?

Thank you, MTB.


Top
 Profile  
 
 Post subject: Re: Alppha4: gvfs-daemon service not starting
PostPosted: Fri Jan 09, 2015 9:25 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5804
Location: Greece
Install gvfs?

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: Alppha4: gvfs-daemon service not starting
PostPosted: Fri Jan 09, 2015 9:29 pm 
Offline

Joined: Fri Jan 02, 2015 5:49 am
Posts: 42
anticapitalista wrote:
Install gvfs?


Yes, I've done that.


Top
 Profile  
 
 Post subject: Re: Alppha4: gvfs-daemon service not starting
PostPosted: Fri Jan 09, 2015 11:10 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2132
I can't tell you how to get the daemon to autostart ( I see gvfs in jessie has a systemD dependency as well that gets pulled in).

But I can offer 2 other options:

1. use gtkam (installed by default in antiX) to access the camera. Its not fancy, but it worked on my only camera that supports ptp mode.

2. Instead of gvfs, try gphotofs, availabe in the repo. It also uses libphoto2, which is already installed by default. its a fuse filesystem. on my system, I made a all excessible mount point in /media (I used /media/camera). then the command, with the camera plugged in,
Code:
gphotofs /media/camera.


which mounted the camera files system in /media/camera, now accessible to every file managing utility out there. I added that command to a menu in spacefm, as well as
Code:
umount /media/camera


for easy unmounting.

I tried to get gvfs installed and working, but I'm actually thinking that perhaps the hooks are now systemD rather than systemVinit that antiX uses. When I launchd the gvfsd manually, my cpu usage went to 100% and stayed there, so obviously there is something else going on.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: Alppha4: gvfs-daemon service not starting
PostPosted: Fri Jan 09, 2015 11:46 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5804
Location: Greece
Next version of antiX-a5 will have nosystemd gvfs in its repos. I'm not sure if it will work in a4.
If you want to try it, make sure your etc/apt/sources.list.d/antix.list looks like this.

Code:
# Use with Debian Testing (or Sid) repositories. Set as default for antiX-14R.
deb http://antix.daveserver.info/testing testing main nosystemd
# Use with Debian Stable/Jessie repositories.
deb http://antix.daveserver.info/stable stable main


You will also need to create a file in etc/apt/prefrences called 00systemd with the following contents.

Code:
Package: *systemd*
Pin: origin ""
Pin-Priority: -1


If it works, great, otherwise you get to pick up the (alpha) pieces

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: Alppha4: gvfs-daemon service not starting
PostPosted: Sat Jan 10, 2015 10:22 pm 
Offline

Joined: Fri Jan 02, 2015 5:49 am
Posts: 42
anticapitalista wrote:
Next version of antiX-a5 will have nosystemd gvfs in its repos. I'm not sure if it will work in a4.
If you want to try it, make sure your etc/apt/sources.list.d/antix.list looks like this.

Code:
# Use with Debian Testing (or Sid) repositories. Set as default for antiX-14R.
deb http://antix.daveserver.info/testing testing main nosystemd
# Use with Debian Stable/Jessie repositories.
deb http://antix.daveserver.info/stable stable main


You will also need to create a file in etc/apt/prefrences called 00systemd with the following contents.

Code:
Package: *systemd*
Pin: origin ""
Pin-Priority: -1


If it works, great, otherwise you get to pick up the (alpha) pieces


Thanks for popping in on this topic.

I'm still very much a new Linux user but not new to computing. Documentation, in general, is dreadful which is the main factor inhibiting my progress with installing and configuring systems.

So, should I completely remove all the GVFS related packages, including PCManFM, that I have installed before attempting to install the nosystemd version of gvfs?


Top
 Profile  
 
 Post subject: Re: Alppha4: gvfs-daemon service not starting
PostPosted: Sat Jan 10, 2015 10:56 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5804
Location: Greece
I think it will overwrite what you have. But I'm not 100% sure.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: Alppha4: gvfs-daemon service not starting
PostPosted: Sat Jan 10, 2015 11:13 pm 
Offline

Joined: Fri Jan 02, 2015 5:49 am
Posts: 42
dolphin_oracle wrote:
I can't tell you how to get the daemon to autostart ( I see gvfs in jessie has a systemD dependency as well that gets pulled in).

But I can offer 2 other options:

1. use gtkam (installed by default in antiX) to access the camera. Its not fancy, but it worked on my only camera that supports ptp mode.

2. Instead of gvfs, try gphotofs, availabe in the repo. It also uses libphoto2, which is already installed by default. its a fuse filesystem. on my system, I made a all excessible mount point in /media (I used /media/camera). then the command, with the camera plugged in,
Code:
gphotofs /media/camera.


which mounted the camera files system in /media/camera, now accessible to every file managing utility out there. I added that command to a menu in spacefm, as well as
Code:
umount /media/camera


for easy unmounting.

I tried to get gvfs installed and working, but I'm actually thinking that perhaps the hooks are now systemD rather than systemVinit that antiX uses. When I launchd the gvfsd manually, my cpu usage went to 100% and stayed there, so obviously there is something else going on.


Hi D.O.,

I had already gone through all those options you suggested.

Besides looking for another Distro for my Laptop, I am also trying to configure GALPon MiniNo Ártabros 2.1 on an old Pentium 4 Desktop for my landlord's daughter who is only 9 years old and hence I want things to be seamless for her and I really like the features provided by SpaceFM especially the multiple panes and reopening of same.

I was hoping that antiX already had this problem solved given that SpaceFM is the default File Manager for some of the Desktop Environment options and then I could apply the same techniques to MiniNo Ártabros.

The following is what I have attempted in the GALPon MiniNo Ártabros environment.

I was hoping that I could add an entry to the udevil.conf file for the GVFS Daemon so that SpaceFM can automaticaly detect and mount PTP cameras.

I tried the following in the udevil.conf file but without success.

default_options_fuse.gvfs-fuse-daemon = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID
default_options_gvfs-fuse-daemon = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID

With GALPon MiniNo Ártabros 2.1, which has GVFS installed by default to support PCManFM, once the camera has been mounted by PCManFM (which appears to have 'hooks' for gvfs) or via the command line using "gvfs-mount gphoto2://[usb:bbb,ddd]/" (where bbb = the USB Bus and ddd = the USB Device on the bbb Bus), SpaceFM can access the files on the camera which are mounted at HOME/<USER>/.gvfs.

I can see that SpaceFM is detecting the camera being mounted to the system because I can see a new device entry being added under /dev/bus/usb/bbb (where bbb = the USB Bus identifier) but there is nothing being displayed in the Devices pane of SpaceFM and it can only view the files when either the gphotofs or "gvfs-mount gphoto2" commands have been executed but there is still nothing displayed in the Devices pane.

I even created and tested a simple Custom Menu item for the Devices context menu, in SpaceFM, to use the "gvfs-mount gphoto2" command.

The documentation for SpaceFM and udevil appear to be written for people who already have a thorough understanding of the ins and outs of mounting file systems with Linux. Therefore, I am finding it bloody difficult to determine if what I am trying to achieve is feasible or not.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
suspicion-preferred