vacano
Posts: 4
Joined: Fri Apr 22, 2016 7:58 am

Can'r Enable VNC

Thu Oct 20, 2016 5:08 am

Good day guys,

just wanted to say that I am glad to be part of such a great community and really happy with my RP3 and the projects you can do with it.

I have an issue with VNC, I am trying to make it run so that I would be able to connect to my RP3 which has no display attached and to start GUI apps remotely but on the RP3 because when I do it via Remote Desktop from my mac it is impossible.

I am following RP website VNC instructions but my VNC daemon is greyed out and cant be enabled from the configuration.

I would appreciate any help on the matter why cant it be enabled.

Thanks.
Attachments
Screen Shot 2016-10-20 at 08.05.25.jpg
Screen Shot 2016-10-20 at 08.05.25.jpg (38.41 KiB) Viewed 6663 times

klricks
Posts: 7135
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Can'r Enable VNC

Fri Oct 21, 2016 1:31 am

Do an update and try again:

Code: Select all

sudo apt-get update
sudo apt-get upgrade
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

User avatar
sconemad
Posts: 233
Joined: Thu Apr 28, 2016 1:47 pm
Location: Cambridge, UK
Contact: Website

Re: Can'r Enable VNC

Fri Oct 21, 2016 5:02 am

If it's greyed out I think that means you don't have the package installed.

You can install it with:

Code: Select all

sudo apt-get update
sudo apt-get install realvnc-vnc-server

vacano
Posts: 4
Joined: Fri Apr 22, 2016 7:58 am

Re: Can'r Enable VNC

Fri Oct 21, 2016 5:13 am

Thanks for your quick reply.
Unfortunately did as you said, but still VNC is greyed out in my RP config tab :(

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

Re: Can'r Enable VNC

Fri Oct 21, 2016 5:41 am

vacano wrote:Thanks for your quick reply.
Unfortunately did as you said, but still VNC is greyed out in my RP config tab :(
Which version of Raspbian Jessie are you running ?

There were changes made with the release of the Pixel Desktop !!

https://www.raspberrypi.org/blog/introducing-pixel
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

MarkyV
Posts: 97
Joined: Wed Sep 21, 2016 1:52 pm
Location: Buckingham, UK
Contact: Website

Re: Can'r Enable VNC

Sat Oct 22, 2016 10:46 am

I installed Tight VNC http://www.tightvnc.com/ on my Pi and it works like a dream - but Pixel has Real VNC built in.
My RaspberryPi Blog: http://thepimaker.online

MarkyV
Posts: 97
Joined: Wed Sep 21, 2016 1:52 pm
Location: Buckingham, UK
Contact: Website

Re: Can'r Enable VNC

Sat Oct 22, 2016 10:53 am

I'm assuming you are running Pixel (I've just swapped my Pixel card into my Pi3 - my version has VNC available) - so I'm guessing that your networking is not starting properly - Do you have anything plugged into the Pi that might cause this?
My RaspberryPi Blog: http://thepimaker.online

User avatar
sconemad
Posts: 233
Joined: Thu Apr 28, 2016 1:47 pm
Location: Cambridge, UK
Contact: Website

Re: Can'r Enable VNC

Sat Oct 22, 2016 12:47 pm

Hi,

As I understand it, the only reason that the VNC buttons would be greyed out is if you don't have the realvnc-vnc-server package installed.

Can you confirm that you have installed this? (as a test, you could try running "vnclicense" from a terminal, which would only run if you have the package installed). Then, if you find you don't have it then you can install it with "sudo apt-get install realvnc-vnc-server".

KMyers
Posts: 35
Joined: Fri Nov 09, 2012 9:46 pm

Re: Can'r Enable VNC

Sat Oct 22, 2016 6:36 pm

I had no issues with running the Pixel version of Real vnc. Make sure you set up your network ssid and pass phrase. After that from command line type sudo vncserver :1

Works fine on Pixel and tightvnc on Jessie for me.

vacano
Posts: 4
Joined: Fri Apr 22, 2016 7:58 am

Re: Can'r Enable VNC

Sun Oct 23, 2016 7:09 am

klricks wrote:Do an update and try again:

Code: Select all

sudo apt-get update
sudo apt-get upgrade

I guess something was messed up, this did the job!

Thank you all for the replies I appreciate the help!

AussieSusan
Posts: 36
Joined: Tue Aug 28, 2012 10:48 pm

Re: Can'r Enable VNC

Mon Oct 24, 2016 3:02 am

Not quite related but several times I've tried to enable VNC from the config GUI and it has worked until the next boot.
The only way I've managed to get the VNC option to stick is to use the 'raspi-config' command form a terminal.
(Latest Raspbian PIXEL release as of today)
Susan

User avatar
sconemad
Posts: 233
Joined: Thu Apr 28, 2016 1:47 pm
Location: Cambridge, UK
Contact: Website

Re: Can'r Enable VNC

Mon Oct 24, 2016 8:51 am

AussieSusan wrote:Not quite related but several times I've tried to enable VNC from the config GUI and it has worked until the next boot.
The only way I've managed to get the VNC option to stick is to use the 'raspi-config' command form a terminal.
(Latest Raspbian PIXEL release as of today)
Susan
Hi,
This sounds like a known issue with the init scripts that was fixed by a package update shortly after the PIXEL release. Can you try doing:

Code: Select all

sudo apt-get update
sudo apt-get upgrade
Then re-enable VNC from the configuration GUI, and it should work!

William Stevenson
Posts: 11
Joined: Thu Oct 20, 2016 5:53 pm

Re: Can'r Enable VNC

Tue Oct 25, 2016 2:18 pm

This may help others who, like me, don't really know what they're doing. I had RDP working for both a Pi3B and a Pi1B. I did an update to Pixel on the 3B and the RDP kept working, but the Pixel update on 1B caused a problem and I had to do a clean install from NOOBS. I couldn't then get the 1B to operate via RDP. After a lot of comparison and messing about, I found that the Real VNC installed as default on a NOOBS Pixel install somehow stops RDP, so I installed tightvncserver (which was still on the 3B) on the 1B and RDP is working again.
Interestingly, the xrdp on the Pi does not seem to require a working vncserver to run the RDP session

joekslam
Posts: 2
Joined: Tue Apr 04, 2017 3:39 am

Re: Can'r Enable VNC

Tue Apr 04, 2017 3:57 am

VCN is built-in Rasbian.
What you need is
1. sudo apt-get update
2. sudo apt-get dist-upgrade
3. sudo raspi-config
4. Enable VNC Server by doing the following:
a. Navigate to Interfacing Options.
b. Scroll down and select VNC > Yes.
5. Wait and Done!

Return to “Beginners”