You are not logged in.

#1 2024-10-03 12:53:29

madderhatter
Member
Registered: 2023-04-24
Posts: 49

No such interface "org.freedesktop.portal.RemoteDesktop" [SOLVED]

SOLVED: https://github.com/hyprwm/xdg-desktop-p … issues/252

portal.RemoteDesktop interface is not implemented

Someone is working on the backend for the portal so patience is the solution because I don't know how to program it myself.


EDIT 10/4/24 - Added log from connecting machine
EDIT 10/5/24 - Added link to issue on xdg-desktop-portal-hyprland on github


When I connect to Hyprland with Rustdesk it throws the following error:

No such interface "org.freedesktop.portal.RemoteDesktop" on object at path /org/freedesktop/portal/desktop

I had narrowed the issue down some to xdg-desktop-portal-hyprland.service being inactive

systemctl status --user xdg-desktop-portal-hyprland

Returns:

● xdg-desktop-portal-hyprland.service - Portal service (Hyprland implementation)
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal-hyprland.service; stat>
     Active: active (running) since Thu 2024-10-03 05:52:02 CDT; 57min ago
 Invocation: 8bac9d0e644144749dae0d8ccadb9d43
   Main PID: 3073 (xdg-desktop-por)
      Tasks: 5 (limit: 9164)
     Memory: 6.5M (peak: 7M)
        CPU: 104ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/xdg-desktop>
             └─3073 /usr/lib/xdg-desktop-portal-hyprland

Here is the log from KDE Wayland trying to establish connection to my Hyprland desktop:

flutter: launch args: []
flutter: initializing FFI main
flutter: _appType:main,info1-id:19d09510fa5543598f5e841e46da24ae,info2-name:Arch Linux,dir:/home/r**/Documents
flutter: _globalFFI init
flutter: _globalFFI init end
flutter: registerEventHandler native_ui native_ui
flutter: registerEventHandler callback_query_onlines recent peer
flutter: registerEventHandler load_recent_peers recent peer
flutter: no window position saved, ignoring position restoration
flutter: handled by uni links: false
flutter: [MultiWindowHandler] active window changed: {0}
flutter: [MultiWindowHandler] active window changed: {0, 1}
flutter: launch args: [multi_window, 1, {"type":1,"id":"1123415615","password":null,"forceRelay":false}]
flutter: initializing FFI remote
flutter: _appType:remote,info1-id:19d09510fa5543598f5e841e46da24ae,info2-name:Arch Linux,dir:/home/r**/Documents
flutter: _globalFFI init
flutter: _globalFFI init end
flutter: registerEventHandler theme theme
flutter: registerEventHandler language language
flutter: registerEventHandler native_ui native_ui
flutter: no window position saved, ignoring position restoration
flutter: CustomTouchGestureRecognizer init
flutter: onFocusChange(window active:true) true
flutter: no window position saved, ignoring position restoration
flutter: create pixelbuffer texture: peerId: 1123415615 display:0, textureId:1026938896, texturePtr:1026938896
flutter: onFocusChange(window active:true) false
flutter: isMaximized true
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: LateInitializationError: Local 'position' has not been initialized.
#0      LateError._throwLocalNotInitialized (dart:_internal-patch/internal_patch.dart:189)
#1      saveWindowPosition.setPreFrame (package:flutter_hbb/common.dart:1695)
#2      saveWindowPosition (package:flutter_hbb/common.dart:1719)
<asynchronous suspension>
#3      _DesktopTabState._saveFrame (package:flutter_hbb/desktop/widgets/tabbar_widget.dart:410)
<asynchronous suspension>

flutter: onFocusChange(window active:true) true
flutter: onFocusChange(window active:true) false
flutter: onFocusChange(window active:true) true
flutter: onFocusChange(window active:true) false
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: LateInitializationError: Local 'position' has not been initialized.
#0      LateError._throwLocalNotInitialized (dart:_internal-patch/internal_patch.dart:189)
#1      saveWindowPosition.setPreFrame (package:flutter_hbb/common.dart:1695)
#2      saveWindowPosition (package:flutter_hbb/common.dart:1719)
<asynchronous suspension>
#3      _DesktopTabState._saveFrame (package:flutter_hbb/desktop/widgets/tabbar_widget.dart:410)
<asynchronous suspension>

Thank you V1del

I've read the Arch wiki concerning xdg-desktop-portal and a slew of reports from google search. I saw a couple of suggestions such as installing xdg-desktop-portal-gtk and pipewire-media-session. However I'd like to get some input rather than throwing possibilities at my machine to see if anything sticks at this point. Thank you for any help.

Last edited by madderhatter (2024-10-05 16:51:11)


We're all mad down here Georgie...

Offline

Board footer

Powered by FluxBB