Replies: 3 comments 2 replies
-
What does your config file look like (with the password redacted)? Also, make sure that you set the |
Beta Was this translation helpful? Give feedback.
-
The config is same as in the example. I just specified exact paths to key/cert files, user and password. |
Beta Was this translation helpful? Give feedback.
-
I finally managed to launch wayvnc without errors (I exported |
Beta Was this translation helpful? Give feedback.
-
Hi @any1,
I messaged you in wayvnc channel a couple of days ago as vkuramshin. I work remotely and mostly on the dedicated servers but I also have my workstation in office. As I don't use it most of the time I decided to do some experiments, e.g. I installed Endeavour OS with sway. But at this point I met vnc connection issue. I found that I can use wayvnc for that. I've tried it but failed. As I wrote in IRC, first I couldn't start wayvnc and got "failed to bind address" error, then after your assumption that port 5900 could be busy (yes, qemu is using it) I specified port number as 5901 but got gnutls certificate error. You said that it's due to incorrect pem file. I'm not sure what am I doing wrong, you could see my openssl key/cert generate command, it's was taken from your GitHub readme. Anyway when I try wayvnc command remotely I get another error message: Failed to initialize wayland.
My openssl command was like:
openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes \ -keyout key.pem -out cert.pem -subj /CN=localhost \ -addext subjectAltName=DNS:localhost,DNS:<hostname>,IP:<myip>
I tried to replace all 'localhost' to my hostname but the result was the same.
I'll be happy if you help me with this.
Regards,
Vladimir Kuramshin
Beta Was this translation helpful? Give feedback.
All reactions