In order to perform some remote operations on my normally headless-with-desktop-over-LAN Pi2, I signed up for a trial account at the raspi's default VNC cloud service. Now, with the trial having expired, cloud connections don't work, which is expected. Less expected is that the Pi now refuses all VNC connections, even those made directly over LAN, with a "Subscription expired" message.

Seeing as an unregistered, account-less VNC copy does accept LAN connections, I would like to somehow purge that account information, but I'm limited to doing so through SSH. I've tried basic operations like apt-get --purgeing some relevant packages and reinstalling, without success.

Likely solutions would include knowing in what directory the VNC service stores its account credentials, an alternative remote GUI where I can interact with VNC's windowed interface, or knowing a full list of VNC-related packages that might need --purgeing, since information about the latter is remarkably scarce.

1 Answer 1


Removing the /root/.vnc/config.d directory should do it, then restart the vnc server and you should be back to the default free mode which will allow tcp connections.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.