Skip to content

Commit d6bf063

Browse files
committed
updated VNC from tightvncserver to RealVNC
Raspbian now comes with RealVNC server preinstalled, so the blocks for installing and using tightvncserver are no longer required.
1 parent 2b7fa8c commit d6bf063

File tree

11 files changed

+31
-74
lines changed

11 files changed

+31
-74
lines changed

info.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"compressedMD5": "56424ce5b2fe4c4a61fc6e2eaaada5f3",
44
"downloadUrl": "https://github.com/davidferguson/pibakery-blocks/releases/download/v0.3.1/pibakery-blocks.zip",
55
"loadOrder": [
6-
"vncserver",
7-
"vncstart",
6+
"vncenable",
87
"packageinstall",
98
"lampinstall",
109
"iqaudio",

vncenable/vncenable.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "vncenable",
3+
"text": "%1 VNC Server at Boot",
4+
"script": "vncenable.sh",
5+
"args": [
6+
{
7+
"type": "menu",
8+
"options": ["Enable", "Disable"]
9+
}
10+
],
11+
"network": false,
12+
"continue": true,
13+
"type": "software",
14+
"category":"software",
15+
"supportedOperatingSystems": [
16+
"raspbian-pibakery.img"
17+
],
18+
"shortDescription":"Enable or disable the built in VNC server.",
19+
"longDescription":"By default, the built in VNC server does not run on startup. Using this block you can enable it, or disable it if you have already enabled it."
20+
}

vncenable/vncenable.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
if [ "$1" == "Enable" ]
4+
then
5+
systemctl enable vncserver-x11-serviced.service
6+
systemctl start vncserver-x11-serviced.service
7+
else
8+
systemctl disable vncserver-x11-serviced.service
9+
systemctl stop vncserver-x11-serviced.service
10+
fi
-542 KB
Binary file not shown.

vncserver/vncInstall.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

vncserver/vncSetup.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

vncserver/vncserver.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

vncserver/xfonts-base_1.0.3_all.deb

-5.89 MB
Binary file not shown.

vncstart/vncPrerun.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

vncstart/vncRun.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

vncstart/vncstart.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)