diff --git a/README.md b/README.md index e69de29..643ce9b 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,15 @@ +Allow to share screen over network with vnc on raspberrypi v1 or newer + +===Installation=== +Install Raspberry Pi OS Lite on raspberrypi or or debian without desktop) + +install vnctv_X.Y.Z_all.deb + +systemctl enable --now vnctv vnctv-web + +===Usage=== + +launch x11vnc on the computer + +connect to http://:8080 + diff --git a/debian/README b/debian/README index 50d47d5..05ef0e4 100644 --- a/debian/README +++ b/debian/README @@ -3,4 +3,4 @@ The Debian Package vnctv Comments regarding the Package - -- Thomas Leagy Sun, 03 Apr 2022 12:36:14 +0200 + -- Thomas Leagy Sun, 03 Apr 2022 12:36:14 +0200 diff --git a/debian/control b/debian/control index 51bb44b..3cb45b0 100644 --- a/debian/control +++ b/debian/control @@ -11,5 +11,5 @@ Rules-Requires-Root: no Package: vnctv Architecture: all -Depends: ${misc:Depends} +Depends: ${misc:Depends} directvnc Description: allow to share screen over network with vnc on raspberrypi v1 or newer diff --git a/debian/copyright b/debian/copyright index eebe543..a39215d 100644 --- a/debian/copyright +++ b/debian/copyright @@ -4,12 +4,11 @@ Upstream-Contact: Source: Files: * -Copyright: - +Copyright: 2022 thomas@lgy.fr License: GPL-3.0+ Files: debian/* -Copyright: 2022 Thomas Leagy +Copyright: 2022 Thomas Leagy License: GPL-3.0+ License: GPL-3.0+ @@ -28,12 +27,3 @@ License: GPL-3.0+ . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". - -# Please also look if there are files or directories which have a -# different copyright/license attached and list them here. -# Please avoid picking licenses with terms that are more restrictive than the -# packaged work, as it may make Debian's contributions unacceptable upstream. -# -# If you need, there are some extra license texts available in two places: -# /usr/share/debhelper/dh_make/licenses/ -# /usr/share/common-licenses/ diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..f988c00 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,4 @@ +#!/usr//bin/env bash + +id vnctv &> /dev/null || useradd vnctv -r -s /bin/false + diff --git a/vnctv b/vnctv index f8d68ba..246dc96 100644 --- a/vnctv +++ b/vnctv @@ -5,5 +5,5 @@ while true do HOST=$(nc -lp 4444 -s 127.0.0.1) echo $HOST - /usr/bin/directvnc $HOST --nolocalcursor --noshared #--encodings copyrect + /usr/bin/directvnc $HOST --nolocalcursor --noshared done