Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied to bind lan-mouse-socket #66

Closed
xf- opened this issue Jan 10, 2024 · 2 comments
Closed

Permission denied to bind lan-mouse-socket #66

xf- opened this issue Jan 10, 2024 · 2 comments

Comments

@xf-
Copy link

xf- commented Jan 10, 2024

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

@feschber
Copy link
Owner

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?

@xf-
Copy link
Author

xf- commented 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 :)

@xf- xf- closed this as completed Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants