Enable Remote desktop feature during build

Bug #1730612 reported by Mantas Kriaučiūnas
136
This bug affects 25 people
Affects Status Importance Assigned to Milestone
Default settings and artwork for Baltix OS
New
Undecided
Unassigned
mutter (Ubuntu)
Fix Released
Medium
Marco Trevisan (Treviño)

Bug Description

Currently there are no way to use Remote Desktop (Desktop sharing) and Screen Recording in Ubuntu 17.10 Wayland (default) session because Remote desktop feature isn't enabled during build :(

Please use --enable-remote-desktop during build, see https://wiki.gnome.org/Projects/Mutter/RemoteDesktop

Currently in mutter 3.26.1 and 3.26.2 (Artful and Bionic) build log I see this:

mutter-3.26.1
 [..]
 Wayland: yes
 Native (KMS) backend: yes
 EGLDevice: yes
 Remote desktop: no

Tags: bionic focal
Revision history for this message
Jeremy Bícha (jbicha) wrote :

We can't enable that feature until after pipewire is packaged and promoted to main.

Changed in mutter (Ubuntu):
importance: Undecided → Wishlist
Jeremy Bícha (jbicha)
Changed in mutter (Ubuntu):
status: New → Triaged
Revision history for this message
gazhay (gazhay) wrote :

Pipewire is packaged now, can we get it enabled?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Not sure, but it looks like the issue in comment #1 is solved:

https://launchpad.net/ubuntu/+source/pipewire

tags: added: bionic focal
Revision history for this message
gazhay (gazhay) wrote :

With that being true, we just need mutter built with the correct flag

Please use --enable-remote-desktop during build, see https://wiki.gnome.org/Projects/Mutter/RemoteDesktop

Revision history for this message
Iain Lane (laney) wrote :

No, pipewire is not in main. That link in comment #3 shows it is in Universe.

(Additionally, the version is not new enough for mutter 3.36; we need Pipewire 0.3 for that.)

Revision history for this message
gazhay (gazhay) wrote :

Link in comment #3 also shows an upstream pipewire master

https://launchpad.net/~jan-koester/+archive/ubuntu/pipewiremaster

Maybe we could get that linked as the upstream?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Prerequisites: bug 1802533, bug 1802614

Revision history for this message
Christian Rauch (christianrauch) wrote :

This is still an issue on Ubuntu 20.10, while the GNOME Shell remote-desktop / screencast support on Wayland has been enabled for Fedora and other distributions for some time now.

What is Ubuntu holding back from enabling Wayland remote-desktop support (and consecutively a Wayland-by-default session)?

Changed in mutter (Ubuntu):
importance: Wishlist → Medium
status: Triaged → In Progress
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mutter - 3.38.3-2ubuntu1

---------------
mutter (3.38.3-2ubuntu1) hirsute; urgency=medium

  * Merge with debian, containing new upstream release (LP: #1915025)
    - Disable CRTCs when system becomes headless (LP: #1905825)
    - Fixed crash during windows unmanagement (LP: #1870822)
    - Do not handle ungrabbed events when unmanaging (LP: #1880405)
    - Downgrade assert to warning when adding window (LP: #1911921)
  * d/p/x11-Add-support-for-fractional-scaling-using-Randr.patch:
    - Refreshed
  * debian/rules: Enable remote desktop for all linux builds (LP: #1730612)

mutter (3.38.3-2) unstable; urgency=medium

  * Team upload
  * d/patches: Update to commit 3.38.3-12-g2d424a739 from gnome-3-38 branch
    - Cope with monitors with metacharacters in their EDID data
    - Don't crash if parsing monitor configuration fails
    - Don't crash if an extension tries to add the same window to a
      workspace more than once, such as auto-move-windows
    - Cope with monitor configuration changes during screencasting
    - Speed up workspace switching when many windows are open
    - Fix Xwayland windows not always appearing in the gnome-shell overview
    - Avoid warning spam and poor performance when unmanaging a window
      (probably Closes: #970295, LP: #1841774)

mutter (3.38.3-1) unstable; urgency=medium

  * Team upload
  * d/watch: Only watch for 3.38.x versions
  * New upstream release

 -- Marco Trevisan (Treviño) <email address hidden> Tue, 09 Feb 2021 04:59:11 +0100

Changed in mutter (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Jonathan Kamens (jik) wrote :

Even with that version of mutter installed I still don't see screen sharing as an option under sharing in the settings app when logged in under Wayland. Are there other packages that need to be updated before screen sharing will be available in Wayland sessions, and are there open bug tickets for those?

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

@jik, I think that you need the package gnome-remote-desktop, this has a MIR request in bug 1802614. And then another package will need to recommend it to have it installed by default, you can follow this on the Trello board here https://trello.com/c/NnUq5bHv/15-mir-gnome-remote-desktop-and-seed-recommend-it

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.