GNOME Bugzilla – Bug 752278
gdm starts unnecessary services like gvfs, goa and telepathy
Last modified: 2016-01-11 19:45:31 UTC
running "ps -u gdm" resolves that gdm starts quite many services it does not need: PID TTY TIME CMD 715 ? 00:00:00 systemd 720 ? 00:00:00 (sd-pam) 722 tty1 00:00:00 gdm-wayland-ses 727 tty1 00:00:00 dbus-daemon 733 tty1 00:00:00 gnome-session 763 tty1 00:01:09 gnome-shell 772 tty1 00:00:00 gvfsd 776 tty1 00:00:00 gvfsd-fuse 825 tty1 00:00:00 Xwayland 844 tty1 00:00:00 at-spi-bus-laun 847 tty1 00:00:00 dbus-daemon 851 tty1 00:00:00 at-spi2-registr 859 ? 00:00:00 pulseaudio 897 tty1 00:00:00 gnome-settings- 913 tty1 00:00:00 gvfs-udisks2-vo 939 tty1 00:00:00 gvfs-afc-volume 946 tty1 00:00:00 gvfs-gphoto2-vo 950 tty1 00:00:00 gvfs-mtp-volume 963 tty1 00:00:00 gvfs-goa-volume 966 tty1 00:00:00 goa-daemon If telepathy is installed, it will be started too. The thing is: gvfs, goa and telepathy are not needed by gdm as far as I know, they are only needed in a user session. It seems like gdm is just starting a bunch of things making sense only in a user session. Is Xwayland needed in gdm? Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1220879
gdm does not need xwayland, gnome-shell currently needs to be able to talk to an X server, even when running as a wayland compositor. As for the others, if we set GIO_USE_VFS=local in the environment, I think most (all?) of the gvfs processes will disappear, and probably, as a consequence, the goa daemon as well.
I put GIO_USE_VFS=local into /etc/locale.conf, which affected gdm and its gdm-session-worker, but no process running as user gdm (gdm-session-worker and its children). And I don't know how to do it right.
*** Bug 757112 has been marked as a duplicate of this bug. ***
gvfs issue was handled in bug #725584. Let's track goa and telepathy in bug #759915. I don't know why these are being started. *** This bug has been marked as a duplicate of bug 759915 ***