Sharing Panel - Desktop sharing toggle should not stay on if the sharing didn't started
Failing to start the gnome-remote-desktop.service
doesn't give the user any information about the fact, that no sharing is actually running.
Relevant information
- GNOME Settings version
gnome-control-center 44.3
- Operating system (distribution)
NAME="Fedora Linux"
VERSION="38 (Workstation Edition)"
ID=fedora
VERSION_ID=38
VERSION_CODENAME=""
PLATFORM_ID="platform:f38"
PRETTY_NAME="Fedora Linux 38 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:38"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f38/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=38
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=38
SUPPORT_END=2024-05-14
VARIANT="Workstation Edition"
VARIANT_ID=workstation
- Error message
17:17:53.0315 cc-object-storage[963494]: DEBUG: Initializing object storage
17:17:53.0323 GLib-GIO[963494]: DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
17:17:53.1472 Gtk[963494]: DEBUG: Connecting to session manager
17:17:53.1513 GLib-GIO[963494]: DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
17:17:53.2367 GLib-GIO[963494]: DEBUG: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
17:17:53.2367 dconf[963494]: DEBUG: watch_fast: "/org/gnome/control-center/" (establishing: 0, active: 0)
17:17:53.2373 GLib-GIO[963494]: DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
17:17:53.2379 dconf[963494]: DEBUG: watch_established: "/org/gnome/control-center/" (establishing: 1)
17:17:53.3717 cc-firmware-security-panel[963494]: DEBUG: Firmware Security panel visible: yes as chassis was laptop
17:17:53.3719 cc-network-panel[963494]: DEBUG: Monitoring NetworkManager for Wi-Fi devices
17:17:53.3984 cc-object-storage[963494]: DEBUG: Adding object NMClient (CcObjectStorage::nm-client → 0x555841b2c270) to the storage
17:17:53.3985 cc-network-panel[963494]: DEBUG: Wi-Fi panel visible: yes
17:17:53.4149 cc-wacom-panel[963494]: DEBUG: Wacom panel visible: no
17:17:53.4165 cc-object-storage[963494]: DEBUG: Adding object MMManager (CcObjectStorage::mm-manager → 0x555841b83f40) to the storage
17:17:53.4165 cc-wwan-panel[963494]: DEBUG: Monitoring ModemManager for WWAN devices
17:17:53.4166 cc-wwan-panel[963494]: DEBUG: WWAN panel visible: no
17:17:53.4229 dconf[963494]: DEBUG: change_fast
17:17:53.5601 cc-window[963494]: DEBUG: Time to open panel 'Sharing': 0.137189s
17:17:53.6491 cc-diagnostics-panel[963494]: DEBUG: ABRT appeared
17:17:53.6524 cc-thunderbolt-panel[963494]: DEBUG: Thunderbolt panel visible: yes
17:17:53.6564 dconf[963494]: DEBUG: watch_fast: "/org/gnome/desktop/file-sharing/" (establishing: 0, active: 0)
17:17:53.6569 dconf[963494]: DEBUG: watch_established: "/org/gnome/desktop/file-sharing/" (establishing: 1)
17:17:53.6686 dconf[963494]: DEBUG: watch_fast: "/org/gnome/desktop/remote-desktop/rdp/" (establishing: 0, active: 0)
17:17:53.6694 dconf[963494]: DEBUG: watch_established: "/org/gnome/desktop/remote-desktop/rdp/" (establishing: 1)
17:17:53.6812 dconf[963494]: DEBUG: watch_fast: "/org/gnome/desktop/remote-desktop/rdp/" (establishing: 0, active: 1)
17:17:53.6830 dconf[963494]: DEBUG: unwatch_fast: "/org/gnome/desktop/remote-desktop/rdp/" (active: 2, establishing: 0)
17:17:53.6832 dconf[963494]: DEBUG: watch_fast: "/org/gnome/desktop/remote-desktop/rdp/" (establishing: 0, active: 1)
17:17:53.6832 dconf[963494]: DEBUG: change_fast
17:17:53.6845 GLib-GIO[963494]: DEBUG: _g_io_module_get_default: Found default implementation gnutls (GTlsBackendGnutls) for ‘gio-tls-backend’
17:17:53.6848 dconf[963494]: DEBUG: watch_fast: "/org/gnome/desktop/remote-desktop/rdp/" (establishing: 0, active: 2)
17:17:53.6868 dconf[963494]: DEBUG: unwatch_fast: "/org/gnome/desktop/remote-desktop/rdp/" (active: 3, establishing: 0)
17:17:53.6868 dconf[963494]: DEBUG: unwatch_fast: "/org/gnome/desktop/remote-desktop/rdp/" (active: 2, establishing: 0)
17:17:56.7782 dconf[963494]: DEBUG: watch_fast: "/org/gnome/desktop/remote-desktop/rdp/" (establishing: 0, active: 1)
17:17:56.7783 dconf[963494]: DEBUG: change_fast
17:17:56.7785 dconf[963494]: DEBUG: change_notify: /org/gnome/desktop/remote-desktop/rdp/enable
17:17:56.7856 dconf[963494]: DEBUG: unwatch_fast: "/org/gnome/desktop/remote-desktop/rdp/" (active: 2, establishing: 0)
17:18:00.4749 dconf[963494]: DEBUG: watch_fast: "/org/gnome/desktop/remote-desktop/rdp/" (establishing: 0, active: 1)
17:18:00.4751 dconf[963494]: DEBUG: change_fast
17:18:00.4755 dconf[963494]: DEBUG: change_notify: /org/gnome/desktop/remote-desktop/rdp/enable
17:18:00.4760 dconf[963494]: DEBUG: watch_fast: "/org/gnome/desktop/remote-desktop/rdp/" (establishing: 0, active: 2)
17:18:00.4805 dconf[963494]: DEBUG: unwatch_fast: "/org/gnome/desktop/remote-desktop/rdp/" (active: 3, establishing: 0)
17:18:00.5116 cc-sharing-panel[963494]: WARNING: Failed to enable remote desktop service: Failed to enable service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit file gnome-remote-desktop.service does not exist.
17:18:00.5117 dconf[963494]: DEBUG: unwatch_fast: "/org/gnome/desktop/remote-desktop/rdp/" (active: 2, establishing: 0)
Steps to reproduce:
cd /usr/lib/systemd/user && mv gnome-remote-desktop.service gnome-remote-desktop.service.old
- Start the Setings app in verbose mode:
- Toggle the Remote desktop on
- You will get an error message in the log:
17:14:01.5076 cc-sharing-panel[962367]: WARNING: Failed to enable remote desktop service: Failed to enable service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit file gnome-remote-desktop.service does not exist.
The Settings app doesn't give you any information if the service failed. (and/or why)
Edited by Ondřej Kolín