Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639264 - net-misc/vino fails to start
Summary: net-misc/vino fails to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 576028
Blocks:
  Show dependency tree
 
Reported: 2017-11-30 02:36 UTC by Renich Bon Ciric
Modified: 2020-02-16 11:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Renich Bon Ciric 2017-11-30 02:36:03 UTC
Here's the problem:

renich@introdesk ~ $ systemctl --user start vino-server.service
Failed to start vino-server.service: Unit dbus.socket not found.

Basically, it doesn't allow Desktop Sharing to start.

I can see this on journald if I try to use the CLI

Nov 29 20:35:01 introdesk.g02.org /usr/libexec/gdm-x-session[2906]: dbus-daemon[2919]: [session uid=1000 pid=2919] Activating service name='org.freedesktop.systemd1' requested by ':1.50' (uid=1000 pid=3238 comm="/usr/libexec/gsd-sharing ")
Nov 29 20:35:01 introdesk.g02.org /usr/libexec/gdm-x-session[2906]: dbus-daemon[2919]: [session uid=1000 pid=2919] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Nov 29 20:35:01 introdesk.g02.org gsd-sharing[3238]: Failed to StartUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1


Also, if I try to run /usr/libexec/gsd-sharing, I get this:

renich@introdesk ~ $ /usr/libexec/gsd-sharing -v
(gsd-sharing:29769): sharing-plugin-DEBUG: Starting sharing manager
(gsd-sharing:29769): sharing-plugin-DEBUG: Registered client at path /org/gnome/SessionManager/Client31
(gsd-sharing:29769): sharing-plugin-DEBUG: current network: 970cf428-554d-3ef7-9678-c2488dee5b01
(gsd-sharing:29769): sharing-plugin-DEBUG: current network name: Wired connection 1
(gsd-sharing:29769): sharing-plugin-DEBUG: conn type: 802-3-ethernet
(gsd-sharing:29769): sharing-plugin-DEBUG: status: 3
(gsd-sharing:29769): sharing-plugin-DEBUG: About to stop gnome-user-share-webdav
(gsd-sharing:29769): sharing-plugin-DEBUG: About to stop rygel
(gsd-sharing:29769): sharing-plugin-DEBUG: About to start vino-server

(gsd-sharing:29769): sharing-plugin-WARNING **: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1

(gsd-sharing:29769): sharing-plugin-WARNING **: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1

(gsd-sharing:29769): sharing-plugin-WARNING **: Failed to StartUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
Comment 1 Dennis Lamm gentoo-dev 2019-03-01 18:14:20 UTC
The service requires dbus user sessions, therfore emerge sys-apps/dbus with [user-session] use flag enabled.
Comment 2 Larry the Git Cow gentoo-dev 2019-03-01 18:34:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d6bb2617e6e5db6d21c9b1a3afd366f80d52c8d

commit 3d6bb2617e6e5db6d21c9b1a3afd366f80d52c8d
Author:     Dennis Lamm <expeditioneer@gentoo.org>
AuthorDate: 2019-03-01 18:34:02 +0000
Commit:     Dennis Lamm <expeditioneer@gentoo.org>
CommitDate: 2019-03-01 18:34:19 +0000

    net-misc/vino: fixed segfaults in wayland
    
    Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
    Bug: https://bugs.gentoo.org/617902
    Bug: https://bugs.gentoo.org/639264
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../vino-return-error-if-X11-is-no-detected.patch  | 41 ++++++++++++
 .../vino/files/vino-segfaults-on-wayland.patch     | 30 +++++++++
 net-misc/vino/vino-3.22.0-r1.ebuild                | 72 ++++++++++++++++++++++
 3 files changed, 143 insertions(+)
Comment 3 Mart Raudsepp gentoo-dev 2020-02-16 11:09:57 UTC
Actually closing as fixed then; that revision is long stable too.

I will probably reshuffle things in ~arch soon though, removing the user-session dep from vino (as you can launch manually on openrc systems with /usr/libexec/vino-server or so), and moving it to gnome-settings-daemon or whichever component actually makes the systemd user session starting call, and default enabling it on systemd profile only. This will then cover gnome-remote-desktop as well (vino replacement that works in wayland too)