Unable to establish a connection with VNC

I modified the entries User=root and Environment=HOME=/root in the vncserver.service file, changing "root" to my username, and then rebooted the system. However, this adjustment hasn't resolved the issue. I'm still unable to establish a connection. What other changes should I make to ensure it works? Having a root desktop isn't desirable due to various restrictions and security concerns. Your assistance in resolving this matter would be greatly appreciated. Thank you.

Please fill out the troubleshoot template.
We don’t know which software you are using nor any info about your general system.