mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-15 14:15:52 -06:00
[GH-ISSUE #207] Doesn't seem to work when being run as a Windows service. #94
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#94
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 @20excal07 on GitHub (Sep 29, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/207
I'd like to set this up as a Windows service via srvany-ng, but it seems like the app isn't doing anything once the service is started. I can see the
lan-mouse.exeprocess in Task Manager, but that's about it.The command I want to run is as follows:
C:\lan-mouse-windows\lan-mouse.exe -d -c C:\lan-mouse-windows\config.tomlAnd following the steps through
srvany-ng, these are the registry keys insideHKLM\SYSTEM\CurrentControlSet\Services\Lan-Mouse\Parameters:And here are the contents of
config.toml:And yes, I've tested running the command as-is through the CLI, it works just fine when it's run that way.
EDIT: I managed to run the app via a batch file, but still launched through the
srvany-ngservice, so I could get the log output, but there doesn't seem to be anything to indicate that there was an issue. Very strange...(should probably clarify that by "not working", i mean that it doesn't swap control to the other host after moving the cursor to the edge of the screen)
@feschber commented on GitHub (Oct 1, 2024):
I tried that and did not get it to work either (the service seems to be running but it wont allow input capturing).
@jonstelly commented on GitHub (Feb 5, 2026):
I've got the starting point of a windows service PR up at #373 . there are some extra things needed to work with UAC elevation prompts or login screen, it's working for me in the PR branch