Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GSConnect does not work with GDM #59907

Closed
cyplo opened this issue Apr 19, 2019 · 4 comments
Closed

GSConnect does not work with GDM #59907

cyplo opened this issue Apr 19, 2019 · 4 comments
Labels
0.kind: bug 6.topic: GNOME GNOME desktop environment and its underlying platform

Comments

@cyplo
Copy link
Contributor

cyplo commented Apr 19, 2019

Issue description

Hi !
When using gnome extension gsconnect (both from 19.03 and unstable) it does not work when launched under Gnome3 session that was launched from GDM - both X and Wayland sessions have this problem.
It works when Gnome is launched from LightDM.

Steps to reproduce

  • install gnomeExtensions.gsconnect
  • set
services = {
      desktopManager = {
        gnome3.enable = true;
      };
      displayManager.gdm= {
        enable = true;
        wayland = false;
      };
};
  • Observe:
    • gsconnect is available from the tray menu, however clicking mobile devices -> mobile settings does not open any window.
    • Previously configured devices are not visible in the menu either

Only log entry concerning gsconnect I was able to find is:

Apr 19 23:44:22 skinnyv .gnome-shell-wr[1727]: JS ERROR: GSConnect: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Shell.Extensions.GSConnect was not provided by any .service files
                                               _settings/<@/etc/profiles/per-user/cyryl/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/extension.js:226:21

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.19.35, NixOS, 19.03.172286.8ea36d73256 (Koi)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.2.2
  • channels(cyryl): ""
  • channels(root): "nixos-19.03.172286.8ea36d73256"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Happy to help debugging here but not sure where to start. Thanks !

@worldofpeace worldofpeace added 6.topic: GNOME GNOME desktop environment and its underlying platform 0.kind: bug labels Apr 20, 2019
@jtojnar
Copy link
Contributor

jtojnar commented Apr 20, 2019

Works fine here. The extension requires a systemd service. Did you install it using environment.systemPackages? Though, I do not see why not doing that would still work under LightDM.

@cyplo
Copy link
Contributor Author

cyplo commented Apr 20, 2019

Interesting ! Thank you for getting back to me :)
Moving the package to environment.systemPackages fixed the issue - thank you for that !

To summarize, gnomeExtensions.gsconnect in

  • user packages with GDM - does not work
  • user packages with LightDM - does work
  • system packages with GDM - does work

Would you like to leave this issue open or close it ?
Is there a piece of documentation stating that this package needs to be in system packages that I missed - or would we need to add it someplace ? thanks !

@jtojnar
Copy link
Contributor

jtojnar commented Apr 20, 2019

Maybe the package list could show an installation method when package contains systemd/dbus services. And nix-env could show a warning.

@bjornfor
Copy link
Contributor

Would you like to leave this issue open or close it ?

I think it's better if this issue gets closed and new ones get opened for follow-up issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 6.topic: GNOME GNOME desktop environment and its underlying platform
Projects
None yet
Development

No branches or pull requests

4 participants