Summary: | KRFB on Wayland, Have to confirm "Select what to share" and "New connection" even if you select "Enable Unattended Access" | ||
---|---|---|---|
Product: | [Applications] krfb | Reporter: | nl.smart <nl.smart.sam01> |
Component: | general | Assignee: | George Goldberg <grundleborg> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | henrik, jacek.jagosz, julien.dlq, kdebugs, lee295012, stephane.treboux |
Priority: | NOR | ||
Version: | 22.04.3 | ||
Target Milestone: | --- | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
nl.smart
2022-08-23 04:48:47 UTC
Hi, unfortunately krfb + wayland doesn't work for months now. Please add a function to disable the share function pop up on start with krfb, the last issue with this function is the crash of the device, the desktop is block after select it, the screen freeze. http://corky47.free.fr/ASSET/IMG/WEB/2022.08.15_KRFB_Wayland_Select_what_to_share.png I forgot with the last post KDE plasma version 5.26.3 KDE frameworks version 5.99.0 Qt version 5.15.7 kernel 5.15.78-1 krfb 22.08.3-1 I also had problems with this. Then I set different passwords for attended vs unattended access. If I use the password for unattended access it worked ok. Could you try that? I think krfb for wayland is broken due to https://bugs.kde.org/show_bug.cgi?id=451086 I could only get krfb working on KDE by using the xcb and X11 Hej Hej, Thanks for your message, and the tips. The unattended access password is working, because I set krfb with the xcb ! Thanks a lot for your help, it works ! Unfortunately, I did a test with wayland activated on the shared device, krfb and the desktop environment crash when I select ok on the pop up "Select what to share" I observe the same issue after updating from Kubuntu 23.04 (lunar, 4:22.12.3-0ubuntu1) to Kubuntu 23.10 (mantic, 4:23.08.1-0ubuntu1). When using Wayland, with each start krfb needs local interaction to grant access to the screen and input devices, even if "Enable Unattended Access" is ticked. Another way to put it is that "Enable Unattended Access" stays ticked but does effectively nothing (it does not enable unattended access). This does not happen with X11. This is a problem for remote machines without physical access. Hi, Thanks for your report, you are welcome to confirm this issue on the new kde forum. https://discuss.kde.org/t/krfb-on-wayland-have-to-confirm-remote-control-requested/2650 Hi, KDE 6 is alive, congratulations to the dev ! So, I did a test with krfb on wayland, I have to confirm the share screen on the devices running krfb on Wayland. I hope soon a solution :-) KDE Plasma Version: 6.0.1 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.6.21-1 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Celeron® J4105 CPU @ 1.50GHz Memory: 7,6 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 600 [nls@ody ~]$ krfb --version krfb 24.02.0 [nls@ody ~]$ Edit : I found a bug on KDE 6, my taskbar is on the top screen, can’t access to the settings by doing enter edit mode, the settings windows are superimpose, see below the screenshot https://discuss.kde.org/t/krfb-on-wayland-have-to-confirm-remote-control-requested/2650/7 Hi, Someone on KDE discuss wrote a patch to solve this issue, thanks a lot to him for his help, not tested, I'm not dev. Find below the KDE discuss link https://discuss.kde.org/t/krfb-on-wayland-have-to-confirm-remote-control-requested/2650/9 Find below the code to solve the issue diff --git a/src/remotedesktop.cpp b/src/remotedesktop.cpp index 9c27b10..100d6f3 100644 --- a/src/remotedesktop.cpp +++ b/src/remotedesktop.cpp @@ -136,10 +136,6 @@ uint RemoteDesktopPortal::Start(const QDBusObjectPath &handle, Utils::setParentWindow(remoteDesktopDialog->windowHandle(), parent_window); Request::makeClosableDialogRequest(handle, remoteDesktopDialog.get()); connect(session, &Session::closed, remoteDesktopDialog.data(), &RemoteDesktopDialog::reject); - - if (!remoteDesktopDialog->exec()) { - return 1; - } } if (session->screenSharingEnabled()) { The code for Nixos nixpkgs.overlays = [(final: prev: { libsForQt5 = prev.libsForQt5.overrideScope (final: prev: { plasma5 = prev.plasma5.overrideScope (final: prev: { xdg-desktop-portal-kde = prev.xdg-desktop-portal-kde.overrideAttrs (prev: { patches = (prev.patches or []) ++ [ ./krfb.patch ]; }); }); xdg-desktop-portal-kde = final.plasma5.xdg-desktop-portal-kde; }); })]; I hope it will be helpfull to solve it :-) |