[GH-ISSUE #66] Permission denied to bind lan-mouse-socket #18

Closed
opened 2026-05-05 22:04:18 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @xf- on GitHub (Jan 10, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/66

Can't find anything about it in issue tracker or README.

Tired to connect via cargo run --release -- --frontend cli

INFO  lan_mouse::config] using config: "config/lan-mouse/config.toml"
INFO  lan_mouse] Press Ctrl+Alt+Shift+Super to release the mouse
ERROR lan_mouse] failed to bind lan-mouse-socket: Permission denied (os error 13)
  • config.toml only sets a port and first tries I had no config and same error.
  • Used barrier so far and stop it.
  • Can't find an open port, and it is not used (also tried different ports)

Running Wayland with latest commit on remote side. X11 on client side

Originally created by @xf- on GitHub (Jan 10, 2024). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/66 Can't find anything about it in issue tracker or README. Tired to connect via `cargo run --release -- --frontend cli` ``` INFO lan_mouse::config] using config: "config/lan-mouse/config.toml" INFO lan_mouse] Press Ctrl+Alt+Shift+Super to release the mouse ERROR lan_mouse] failed to bind lan-mouse-socket: Permission denied (os error 13) ``` - `config.toml` only sets a port and first tries I had no config and same error. - Used barrier so far and stop it. - Can't find an open port, and it is not used (also tried different ports) Running Wayland with latest commit on remote side. X11 on client side
Author
Owner

@feschber commented on GitHub (Jan 10, 2024):

The error is about the internal Unix Domain Socket that is communicating between the GUI / CLI and the service.
So port should not matter here.

Can you tell me what $XDG_RUNTIME_DIR points to on your system? (Thats where the socket is created)
And can you manually create files in that directory?

<!-- gh-comment-id:1884834068 --> @feschber commented on GitHub (Jan 10, 2024): The error is about the internal Unix Domain Socket that is communicating between the GUI / CLI and the service. So port should not matter here. Can you tell me what `$XDG_RUNTIME_DIR` points to on your system? (Thats where the socket is created) And can you manually create files in that directory?
Author
Owner

@xf- commented on GitHub (Jan 10, 2024):

It was on 0 for what ever reason. Now it is correct.

Now it complains about libei not being available (installed 1.2.0) and UnknownMethod ConnectToEIS (xdg desktop portal is installed).
Try to find the issue and get it to work :)

<!-- gh-comment-id:1885933237 --> @xf- commented on GitHub (Jan 10, 2024): It was on 0 for what ever reason. Now it is correct. Now it complains about libei not being available (installed 1.2.0) and UnknownMethod ConnectToEIS (xdg desktop portal is installed). Try to find the issue and get it to work :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#18
No description provided.