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

Bind to other address than 0.0.0.0 fails, if defined in config file #284

Open
cRoCx opened this issue Jan 4, 2024 · 0 comments
Open

Bind to other address than 0.0.0.0 fails, if defined in config file #284

cRoCx opened this issue Jan 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cRoCx
Copy link

cRoCx commented Jan 4, 2024

The config file doesn't seem to accept addresses other than 0.0.0.0. Tried it with localhost, 192.168.0.0, 192.168.0.100 (own ip address), ::1 and localhost,192.168.0.100,2466:44:2234::100.

  • Version:
    wayvnc: 0.7.2
    neatvnc: 0.7.1
    aml: 0.3.0

  • Try to reproduce while capturing a trace log:

    • wayvnc -Ltrace | tee wayvnc-crash.log
    • Output:

error: XDG_RUNTIME_DIR is invalid or not set in the environment.
ERROR: ../src/main.c: 402: WAYLAND_DISPLAY is not set in the environment
ERROR: ../src/main.c: 1495: Failed to initialise wayland

  • Describe how to reproduce the problem
    Fresh install of Raspberry Pi OS Bookworm on Raspberry Pi 5. Enabled VNC via raspi-config (enables wayvnc). In /home/username/.config/wayvnc/config changed address=0.0.0.0 to address=192.168.0.0 or anything else. Restart (sudo reboot).

My goal was actually to try binding to localhost, a custom IPv4 VPN address and another custom IPv6 VPN address (address=localhost,192.168.0.100,2466:44:2234::100) and then disable the authentication. I wanted to test this, since address=0.0.0.0 and adding user=test and pw=test also doesn't work. The latter is another problem I might report later in a seperate issue.

The only combination that works is address=0.0.0.0 and having enable_auth= either true with default certificates and default user auth (no seperate credentials in config file) or false.

@cRoCx cRoCx added the bug Something isn't working label Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant