After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752278 - gdm starts unnecessary services like gvfs, goa and telepathy
gdm starts unnecessary services like gvfs, goa and telepathy
Status: RESOLVED DUPLICATE of bug 759915
Product: gdm
Classification: Core
Component: general
3.16.x
Other Linux
: Normal minor
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2015-07-12 09:27 UTC by Christian Stadelmann
Modified: 2016-01-11 19:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Stadelmann 2015-07-12 09:27:32 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
Comment 1 Matthias Clasen 2015-07-12 16:42:49 UTC
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.
Comment 2 Christian Stadelmann 2015-07-12 18:23:37 UTC
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.
Comment 3 Debarshi Ray 2015-11-03 11:43:13 UTC
*** Bug 757112 has been marked as a duplicate of this bug. ***
Comment 4 Michael Catanzaro 2016-01-11 19:45:31 UTC
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 ***