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

Failed to create IPv6 VNC socket: Error binding to address: Invalid argument #87

Open
ghost opened this issue Aug 19, 2019 · 6 comments

Comments

@ghost
Copy link

ghost commented Aug 19, 2019

I have listen-address=10.1.2.3 but it still tries to use IPv6 for some reason.

@repomaa
Copy link

repomaa commented Apr 15, 2020

I'm having the same issue. Did you figure it out by now?

@RussianNeuroMancer
Copy link

Did you tried to completely disable IPv6 on host?

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

@paralin
Copy link

paralin commented Mar 2, 2022

I have the same issue (but can't turn off ipv6 to fix it). It for some reason tries to use ipv6 even if listen-address is ipv4.

It's probably a bug? @ghost @repomaa did you find a fix?

@sldenazis
Copy link

sldenazis commented Dec 15, 2022

Same issue here, disabling ipv6 does not help.

My config:

[VNCServer]
enabled=true
command=Xvnc -rfbauth /etc/vncpasswd
port=5900
listen-address=localhost
width=1024
height=768
depth=24

I tried with listen-address=127.0.0.1, 0.0.0.0 & my public IP with the same results.

@Artiom-M
Copy link

Same error. And I need IPv6.

@Artiom-M
Copy link

I have created a hostname resolvable to both : IPv6 and IPv4.
ping works correctly, with the same name it pings IPv6 or IPv4 with matching switch..
lightdm still cannot start VPN:
lightdm[16068]: Failed to create IPv4 VNC socket: Error binding to address [:myIPv6here:]:5900: Address family not supported by protocol

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

5 participants