mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-15 14:15:52 -06:00
[GH-ISSUE #74] KDE prompts Remote Control Request muliple times and answer doesn't matter. #23
Labels
No labels
Xorg
documentation
enhancement
macos
pull-request
question
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/lan-mouse#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CupricReki on GitHub (Jan 15, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/74
I'm getting multiple Remote Control Request every time I launch lan-mouse from the CLI.
Log
Remote Control Request prompt shows a second time.
Notes
@feschber commented on GitHub (Jan 15, 2024):
The reason it shows up twice is that it first tries to connect to Libei, which is done through the same RemoteDesktopPortal interface as the actual remote desktop portal backend.
KDE does not implement Libei yet so that fails. Then the remote desktop portal requests access again.
It would be possible to work around this by simply requesting the remote desktop portal on KDE directly instead of Libei (I actually did this in earlier versions until I changed it to this fallback based system) but I'd rather leave it like this until KDE supports libei (I dont know how long that is going to take maybe I can look into it if I have the time).
As far as I have seen, KDE does not ask again once the permission has been granted once for a specific application so I dont think this should be a large issue but let me know your thoughts.
@CupricReki commented on GitHub (Jan 17, 2024):
I'm not sure what triggers the permission prompt to be again after being accepted the first time. Perhaps the issue will go away now that that I'm installing/updating via the AUR.
Keeping this open for now.
@CupricReki commented on GitHub (Jan 17, 2024):
Bummer about Libei. But it looks like it might come to Plasma 6.1 https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/issues/12.
@feschber commented on GitHub (Jan 19, 2024):
Did you test this? I am not getting prompts after accepting it for the first time.
@feschber commented on GitHub (Mar 16, 2024):
something must have changed because I see the prompt everytime now as well. Will see what I can do about that
@CupricReki commented on GitHub (Mar 17, 2024):
Did you update to Plasma 6?
On Sat, Mar 16, 2024, 7:59 PM Ferdinand Schober @.***>
wrote:
@feschber commented on GitHub (Mar 17, 2024):
Yes but I can not say 100% if that was the point where it started. Will need to check
@svillar commented on GitHub (Apr 10, 2024):
I've seen the same in GNOME FWIW
@feschber commented on GitHub (Apr 10, 2024):
What version of GNOME are you using? Starting at 45, it should only ask once as libei is now supported.
I also changed the behaviour in 0.7 now, such that it asks again if the request is cancelled. So technically it now works as intended.
I could maybe look into merging the backends into one or reuse the same portal but idk if thats actually possible even.
@svillar commented on GitHub (Apr 10, 2024):
Ah maybe that's the reason, I've 45-46 in one machine but 43 in another one. Actually I couldn't make the software work at all, clients are detected but cannot share the keyboard/mouse among them. I've tried both Wayland and X11 sessions (actually the reason to try lan-mouse is the wayland support, because for X11 Ilaready have
barrierworking fine) I've installed libei in all the computers but shows still as unsupported@feschber commented on GitHub (Apr 10, 2024):
Yeah libei alone won't help because gnome does not implement the input capture portal until version 45.
@svillar commented on GitHub (Apr 10, 2024):
And should it work using any other fallback? I'm just trying to know whether this mix of GNOME 45 with 43 should work and then the problem is my configuration, or instead, I should wait till GNOME 45 in stable
@feschber commented on GitHub (Apr 10, 2024):
Unfortunately not, no. Gnome does not support the layer-shell protocol.
@CupricReki commented on GitHub (Apr 16, 2024):
Since updating to Plasma 6 I see two prompts every time we I start lan mouse
@hoergen commented on GitHub (Aug 1, 2024):
I'm running Plasma 6.1.3 / Framework 6.4.0 and Wayland and still getting the request every time I start lan-mouse. I had to create "/.config/lan-mouse/config.toml" manually, because it wasn't created automatically.
When I start lan-mouse on two computers they can't find each other.
This is what I get, when I start lan-mouse in the terminal. There are a lot errors, but I don't know how to solve it.
Maybe somebody else, already have an idea how to solve it?
@feschber commented on GitHub (Aug 1, 2024):
Did you configure your clients? You need to add the corresponding device on both ends (device B on device A and device A on device B).
@gnespolino commented on GitHub (Oct 28, 2024):
EDIT: actually I was running PC B in X11 sessions, so just ignore my comment