How to configure VNC server to run without local login?
Posted: Sat Apr 18, 2020 6:55 am
I just wonder how to make the vnc server start and run properly if there is no local user logged in on the unit (a headless machine)?
On Raspbian it seems to work fine, but I have now tried to make the same work on a Ubuntu 18.04 installation and there it won't work unless I log in locally first.
I know VNC is part of the Raspbian managed items so raspi-config seems to fix it for you, but can someone please outline how it is done so I can replicate it also to my Ubuntu machine?
Raspi-config just has a single enabling item....
I only have one monitor and it is connected to my Windows 10 PC.
Then I also have a bunch of RPi units ranging from 2-3-4 and on these I can easily work from my PC using the VNC windows. It would be nice to be able to centralize handling of all of these.
On Raspbian it seems to work fine, but I have now tried to make the same work on a Ubuntu 18.04 installation and there it won't work unless I log in locally first.
I know VNC is part of the Raspbian managed items so raspi-config seems to fix it for you, but can someone please outline how it is done so I can replicate it also to my Ubuntu machine?
Raspi-config just has a single enabling item....
I only have one monitor and it is connected to my Windows 10 PC.
Then I also have a bunch of RPi units ranging from 2-3-4 and on these I can easily work from my PC using the VNC windows. It would be nice to be able to centralize handling of all of these.