update after firt commit

This commit is contained in:
thomas 2022-04-06 01:10:30 +02:00
parent bb93557693
commit fe16c7e1b9
6 changed files with 24 additions and 15 deletions

View File

@ -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://<server ip or hostname>:8080

2
debian/README vendored
View File

@ -3,4 +3,4 @@ The Debian Package vnctv
Comments regarding the Package
-- Thomas Leagy <thomas@unknown> Sun, 03 Apr 2022 12:36:14 +0200
-- Thomas Leagy <thomas@lgy.fr> Sun, 03 Apr 2022 12:36:14 +0200

2
debian/control vendored
View File

@ -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

14
debian/copyright vendored
View File

@ -4,12 +4,11 @@ Upstream-Contact: <preferred name and address to reach the upstream project>
Source: <url://example.com>
Files: *
Copyright: <years> <put author's name and email here>
<years> <likewise for another author>
Copyright: 2022 thomas@lgy.fr
License: GPL-3.0+
Files: debian/*
Copyright: 2022 Thomas Leagy <thomas@unknown>
Copyright: 2022 Thomas Leagy <thomas@lgy.fr>
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/

4
debian/postinst vendored Executable file
View File

@ -0,0 +1,4 @@
#!/usr//bin/env bash
id vnctv &> /dev/null || useradd vnctv -r -s /bin/false

2
vnctv
View File

@ -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