MaximilianSchmitt
Posts: 3
Joined: Wed Mar 20, 2019 6:39 pm

VNC isn't working

Sat Mar 23, 2019 6:35 am

After installing a graphical interface on the RaspberryPi I wanted to set up VNC. I had forgotten that "raspi-config" should actually offer that, but it was no longer displayed in my menu.

I typed:

Code: Select all

sudo apt-get install vnc4server vnc-java 
sudo apt-get install xfonts-base 
sudo vncpasswd 
vncserver
According to the console "raspberrypi: 1 (pi)" was started on the desktop.

It is also a port opened:

Code: Select all

tcp        0      0 127.0.0.1:5901          0.0.0.0:*               LISTEN 
Why can not I access the RaspberryPi? I have tried several viewers.

Andyroo

Re: VNC isn't working

Sat Mar 23, 2019 8:29 am

Do you have a monitor / keyboard / mouse attached to the Pi?

If not - can you pop them on and try again? Strange request but I just want to double check some advice I’ve been giving out is still valid and I’m stuck for kit again as my daughter is here (eats, sleeps, borrows bits - such is daddy’s girls role in life)

fruitoftheloom
Posts: 21072
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: VNC isn't working

Sat Mar 23, 2019 9:35 am

MaximilianSchmitt wrote:
Sat Mar 23, 2019 6:35 am
After installing a graphical interface on the RaspberryPi I wanted to set up VNC. I had forgotten that "raspi-config" should actually offer that, but it was no longer displayed in my menu.

I typed:

Code: Select all

sudo apt-get install vnc4server vnc-java 
sudo apt-get install xfonts-base 
sudo vncpasswd 
vncserver
According to the console "raspberrypi: 1 (pi)" was started on the desktop.

It is also a port opened:

Code: Select all

tcp        0      0 127.0.0.1:5901          0.0.0.0:*               LISTEN 
Why can not I access the RaspberryPi? I have tried several viewers.

If you are running Raspbian Stretch you ideally should use RealVNC:

https://www.realvnc.com/en/raspberrypi/
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

MaximilianSchmitt
Posts: 3
Joined: Wed Mar 20, 2019 6:39 pm

Re: VNC isn't working

Sat Mar 23, 2019 6:57 pm

RealVNC works :)
I thank you

Return to “Beginners”