I install Raspbian with a NOOB SD card. Then I updated it, following a guide. I installed tightvncserver on the Raspberry Pi and configured it.
Then, with my Windows pc using putty, I connected to the Raspberry Pi.
Using the command: vncserver :0 -geometry 1920x1080 -depth 24
causes the message:
Warning: raspberrypi:0 is taken because of /tmp/.X0-lock
Remove this file if there is no X server
raspberrypi:0
A VNC server is already running as :0
but using the same command replacing 0 with 1 the server seems to work. When I'm going to begin a connection from a Windows PC to the RaspberryPi with a VNC viewer I have the message connection refused
.
What do I have to do to have a VNC connection with the Raspberry Pi and use it from my Windows PC?
Thank you for helping me! Yes! With putty the connection to raspi works. With putty everything is ok.. But when i try to use vnc it doesn't work and vnc viewer give the message "connect: connection refused(10061)"...
But putty is working and with putty i can use my raspi and i already saw that on raspberry the vnc is started and is working.