vikozo
Posts: 37
Joined: Thu Aug 07, 2014 5:52 am

Raspberry Pi 3 - Desktop pixel - vnc problem

Tue Jun 25, 2019 6:23 pm

Hello
i have a
Machine model: Raspberry Pi3 Model B Plus Rev 1.3
followed this
https://www.raspberrypi.org/forums/view ... p?t=166806

apt dist-upgrade
apt install -y rpi-chromium-mods
apt install -y python-sense-emu python3-sense-emu
apt install -y python-sense-emu-doc
apt install -y realvnc-vnc-viewer
apt install -y realvnc-vnc-server

i use a vnc client on my Windows computer
it will connect i do login but then i got a

"Cannot Currently show the desktop"

so do i have to config something on the Pi to show the desktop?
have a nice day
vinc
Last edited by vikozo on Wed Jun 26, 2019 5:36 am, edited 1 time in total.

vikozo
Posts: 37
Joined: Thu Aug 07, 2014 5:52 am

Re: Raspberry Pi 3 - Desktop pixel - vnc problem

Tue Jun 25, 2019 6:31 pm

Operating System: Raspbian GNU/Linux 9 (stretch)
Kernel: Linux 4.19.42-v7+

Andyroo
Posts: 3304
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Raspberry Pi 3 - Desktop pixel - vnc problem

Tue Jun 25, 2019 6:36 pm

One fix is to run

Code: Select all

sudo raspi-config
then Advanced / Resolution and set the screen size you want VNC to be in there - you will have to reboot though.

Note you will have to use SSH to do this.

If this is not enabled then power off the Pi, pull the SD card and pop it into a PC / Mac and add an empty file called ssh (no extension needed) into the boot disk that shows up.

Start the Pi again and it will enable SSH for you.

Edit: this does assume you have the desktop enabled to start - set that in raspi-config as well :lol:
Need Pi spray - these things are breeding in my house...

vikozo
Posts: 37
Joined: Thu Aug 07, 2014 5:52 am

Re: Raspberry Pi 3 - Desktop pixel - vnc problem

Tue Jun 25, 2019 7:23 pm

thanks for your fast response.

3 Boot Option
B1 Desktop / CLI
B4 Desktop Autologin

5 Interface Option
P3 VNC
would you like to enable [yes]

i change the resolution and in vnc it shows (the fonts are smaller) this also but still the message show
Cannot currently show the desktop

Andyroo
Posts: 3304
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Raspberry Pi 3 - Desktop pixel - vnc problem

Tue Jun 25, 2019 7:51 pm

What value did you set the resolution to?

Are you sure you are connecting to the correct Pi? (Would not be the first or last :lol: )
Need Pi spray - these things are breeding in my house...

vikozo
Posts: 37
Joined: Thu Aug 07, 2014 5:52 am

Re: Raspberry Pi 3 - Desktop pixel - vnc problem

Tue Jun 25, 2019 8:10 pm

7 Advance Options
A5 Resolution
DMT Mode 16 1024x768 60Hz 4:3 (but also used other resolution)

yes sure with ssh and VNC Connect i use the same IP Adress
(there is no Problem because going to another ip Range?)

Andyroo
Posts: 3304
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Raspberry Pi 3 - Desktop pixel - vnc problem

Tue Jun 25, 2019 11:36 pm

I fear you may have messed up the VNC server - by default it is loaded and started in Raspbian so I do not know why you felt it needed to be loaded as per the OP...

Do you know if the service has started? Try the following:

Code: Select all

ps -aux | grep vnc
This gives me

Code: Select all

root       434  0.0  0.2   5688  2584 ?        Ss   Jun23   0:00 /usr/bin/vncserver-x11-serviced -fg
root       466  0.0  1.6  35772 15836 ?        Sl   Jun23   0:35 /usr/bin/vncserver-x11-core -service
root       505  0.0  0.4   8528  4392 ?        S    Jun23   0:00 /usr/bin/vncagent service 13
pi         684  0.0  1.3  28132 12528 ?        S    Jun23   0:01 /usr/bin/vncserverui service 17
pi         702  0.0  1.5  27808 15080 ?        S    Jun23   0:00 /usr/bin/vncserverui -statusicon 7
Need Pi spray - these things are breeding in my house...

vikozo
Posts: 37
Joined: Thu Aug 07, 2014 5:52 am

Re: Raspberry Pi 3 - Desktop pixel - vnc problem

Wed Jun 26, 2019 10:43 am

@Andyroo
thanks for your feedback and your patience.
i will give a try tonight back at home.
but i do connect, i think, i just don't get a nice Desktop back

have a nice day
vinc

vikozo
Posts: 37
Joined: Thu Aug 07, 2014 5:52 am

Re: Raspberry Pi 3 - Desktop pixel - vnc problem

Wed Jun 26, 2019 12:11 pm

# ps -aux | grep vnc

Code: Select all

root       554  0.0  0.2   5688  2648 ?        Ss   13:03   0:00 /usr/bin/vncserver-x11-serviced -fg
root       564  0.0  1.5  27824 14368 ?        S    13:03   0:00 /usr/bin/vncserver-x11-core -service
root       878  0.0  0.0   4368   572 pts/0    S+   13:10   0:00 grep vnc

vikozo
Posts: 37
Joined: Thu Aug 07, 2014 5:52 am

Re: Raspberry Pi 3 - Desktop pixel - vnc problem

Wed Jun 26, 2019 12:25 pm

i have installed this tooo

apt install raspberrypi-ui-mods :)

and it would show up the desktop, except the Mouse :(
i mean the mouse curser change when on the Pi Desktop and could move around but can't klick

Andyroo
Posts: 3304
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Raspberry Pi 3 - Desktop pixel - vnc problem

Wed Jun 26, 2019 4:04 pm

I think it’s the apt dist-upgrade that broke bits by removing some of the dependencies but I’m guessing at this point as they should have been picked up again as part of the server install...

RealVNC say that you should set the GPU with at least 128MB but I’ve not see any difference with lower values.

It may be worth seeing if you have any log files in ~/.vnc/ These are normally named <computer>:<display number>.log

Other than that, I’m stumped...
Need Pi spray - these things are breeding in my house...

Andyroo
Posts: 3304
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Raspberry Pi 3 - Desktop pixel - vnc problem

Wed Jun 26, 2019 4:06 pm

Sorry, there are few other error hunting tips in https://www.raspberrypi.org/forums/view ... 8&t=216737 despite their errors not being the same.
Need Pi spray - these things are breeding in my house...

vikozo
Posts: 37
Joined: Thu Aug 07, 2014 5:52 am

Re: Raspberry Pi 3 - Desktop pixel - vnc problem

Fri Jun 28, 2019 7:41 pm

strange after a couple of switch off an on and some reboot it worked :o

Andyroo
Posts: 3304
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Raspberry Pi 3 - Desktop pixel - vnc problem

Fri Jun 28, 2019 10:05 pm

Glad you are working :D

Hate it when you cannot find out why though :twisted: :lol:
Need Pi spray - these things are breeding in my house...

Return to “Beginners”