VNC4 Unencrypted Connection

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
ben61694
Posts: 20
Joined: Tue Oct 30, 2018 2:06 pm

VNC4 Unencrypted Connection

Post by ben61694 »

I recently set up an Odroid C2 using Dietpi. I'm getting an error stating that The connection to this VNC Server will not be encrypted. I have no issues with encryption on my Raspberry Pi using Raspbian.

Also, I've read the tutorial to set up VNC Server here:
viewtopic.php?p=408#p408

I have my dietpi auto-start set to automatic login and I'm using LXDE as the desktop. However when I set the following line from 0 to 1:
SOFTWARE_VNCSERVER_SHARE_DESKTOP=1

trying to connect will return an error saying that the connection was refused by the computer. It doesn't matter if I connect to Local_IP::5901 or Local_IP:1, I get both errors. Any idea how to fix this?

Edit: I also have an issue where connecting to VNC after the device has been idle for a while results in a black screen or the taskbar will be black. I can still connect through putty and use it, but the desktop isn't working. Also the VNC config pops up every time if I do see the screen.
Post Reply