diff options
-rw-r--r-- | extras/ipmi/manifest.yaml | 2 | ||||
-rw-r--r-- | extras/vnc/manifest.yaml | 7 | ||||
-rw-r--r-- | web/share/svg/vnc.svg | 54 | ||||
-rw-r--r-- | web/vnc/index.html | 65 |
4 files changed, 127 insertions, 1 deletions
diff --git a/extras/ipmi/manifest.yaml b/extras/ipmi/manifest.yaml index 62748c9a..6b966c3c 100644 --- a/extras/ipmi/manifest.yaml +++ b/extras/ipmi/manifest.yaml @@ -4,4 +4,4 @@ icon: share/svg/ipmi.svg path: ipmi keyboard_cap: false daemon: kvmd-ipmi -place: 20 +place: 21 diff --git a/extras/vnc/manifest.yaml b/extras/vnc/manifest.yaml new file mode 100644 index 00000000..56735090 --- /dev/null +++ b/extras/vnc/manifest.yaml @@ -0,0 +1,7 @@ +name: VNC +description: Show VNC information +icon: share/svg/vnc.svg +path: vnc +keyboard_cap: false +daemon: kvmd-vnc +place: 20 diff --git a/web/share/svg/vnc.svg b/web/share/svg/vnc.svg new file mode 100644 index 00000000..d3d88866 --- /dev/null +++ b/web/share/svg/vnc.svg @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="456.793px" height="456.793px" viewBox="0 0 456.793 456.793" style="enable-background:new 0 0 456.793 456.793;"
+ xml:space="preserve">
+<g>
+ <g>
+ <path d="M448.947,218.474c-0.922-1.168-23.055-28.933-61-56.81c-50.707-37.253-105.879-56.944-159.551-56.944
+ c-53.673,0-108.845,19.691-159.551,56.944c-37.944,27.876-60.077,55.642-61,56.81L0,228.396l7.845,9.923
+ c0.923,1.168,23.056,28.934,61,56.811c50.707,37.254,105.878,56.943,159.551,56.943c53.672,0,108.844-19.689,159.551-56.943
+ c37.945-27.877,60.078-55.643,61-56.811l7.846-9.923L448.947,218.474z M228.396,312.096c-46.152,0-83.699-37.548-83.699-83.699
+ c0-46.152,37.547-83.699,83.699-83.699s83.7,37.547,83.7,83.699C312.096,274.548,274.548,312.096,228.396,312.096z
+ M41.685,228.396c9.197-9.872,25.32-25.764,46.833-41.478c13.911-10.16,31.442-21.181,51.772-30.305
+ c-15.989,19.589-25.593,44.584-25.593,71.782s9.604,52.193,25.593,71.782c-20.329-9.124-37.861-20.146-51.771-30.306
+ C67.002,254.159,50.878,238.265,41.685,228.396z M368.273,269.874c-13.912,10.16-31.443,21.182-51.771,30.306
+ c15.988-19.589,25.594-44.584,25.594-71.782s-9.605-52.193-25.594-71.782c20.33,9.124,37.861,20.146,51.771,30.305
+ c21.516,15.715,37.639,31.609,46.832,41.477C405.91,238.268,389.785,254.161,368.273,269.874z"/>
+ <path d="M223.646,168.834c-27.513,4-50.791,31.432-41.752,59.562c8.23-20.318,25.457-33.991,45.795-32.917
+ c16.336,0.863,33.983,18.237,33.59,32.228c1.488,22.407-12.725,39.047-32.884,47.191c46.671,15.21,73.197-44.368,51.818-79.352
+ C268.232,175.942,245.969,166.23,223.646,168.834z"/>
+ </g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+</svg>
diff --git a/web/vnc/index.html b/web/vnc/index.html new file mode 100644 index 00000000..9cf2b251 --- /dev/null +++ b/web/vnc/index.html @@ -0,0 +1,65 @@ +<!DOCTYPE html> +<!-- ========================================================================= +# # +# KVMD - The main Pi-KVM daemon. # +# # +# Copyright (C) 2018 Maxim Devaev <[email protected]> # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see <https://www.gnu.org/licenses/>. # +# # +========================================================================== --> + + +<html lang="en"> +<head> + <meta charset="utf-8" /> + <title>Pi-KVM VNC Info</title> + + <link rel="apple-touch-icon" sizes="180x180" href="/share/apple-touch-icon.png"> + <link rel="icon" type="image/png" sizes="32x32" href="/share/favicon-32x32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="/share/favicon-16x16.png"> + <link rel="manifest" href="/share/site.webmanifest"> + <link rel="mask-icon" href="/share/safari-pinned-tab.svg" color="#5bbad5"> + <meta name="msapplication-TileColor" content="#2b5797"> + <meta name="theme-color" content="#ffffff"> + + <link rel="stylesheet" href="../share/css/vars.css"> + <link rel="stylesheet" href="../share/css/main.css"> + <link rel="stylesheet" href="../share/css/start.css"> +</head> + +<body> + <div class="start-box"> + <div class="start"> + <a style="display: inline-block; margin-top: 4px; color:#5c90bc; text-decoration: none;" href="/"> + ← [ Pi-KVM Index ] + </a> + <hr> + <p class="text"> + This Pi-KVM device has running kvmd-vnc daemon and provides VNC port (default 5900) + for alternative access to the server other than the web interface. + </p> + <p class="text"> + <b>WARNING!</b> We strongly don't recommend you to use VNC in untrusted networks. + The current implementation does not use encryption, and your passwords are transmitted + over the network in a plain text. + </p> + <p class="text"> + Your VNC client must support Tight JPEG compression, password authentication and allow + connection without encryption. <a href="https://tigervnc.org">TigerVNC</a> is a good choice. + </p> + </div> + </div> +</body> +</html> |