pi-top Web VNC Tool
Project description
pt-web-vnc
Serve displays and particular applications via VNC & http using x11vnc & novnc.
Usage
pt-web-vnc <COMMAND> --display-id <DISPLAY_ID> --HEIGHT <SCREEN_HEIGHT> --WIDTH <SCREEN_WIDTH> --ssl-certificate <SSL_CERTIFICATE> --window-title <WINDOW_TITLE> --run <RUN_COMMAND> --background-colour <COLOUR> --with-window-manager
where:
COMMAND: {start, stop, url, clients}
--display-id DISPLAY_ID: integer, id for the display to use/create.
--height SCREEN_HEIGHT: integer, height in pixels for the virtual display to create. Defaults to 1080.
--width SCREEN_WIDTH: integer, width in pixels for the virtual display to create. Defaults to 1920.
--depth SCREEN_DEPTH: integer, pixel depth for the virtual display to create. Defaults to 24.
--ssl-certificate SSL_CERTIFICATE: path to combined SSL certificate & key file. Optional.
--window-title WINDOW_TITLE: Title of a window in a display to share over VNC. Optional.
--run RUN_COMMAND: Command to run before starting VNC server.
--background-colour COLOUR: string with a colour name to use as background for the virtual display.
--with-window-manager: start a window manager in the specified DISPLAY_ID. For now, the window manager used is 'bspwm'.
Examples
Start a virtual display with custom dimensions and background
$ pt-web-vnc start --display-id 100 --height 500 --width 1000 --background-colour red
# Get the URL to connect
$ pt-web-vnc start --display-id 100
http://pi-top.local:61100/vnc.html?autoconnect=true
$ pt-web-vnc stop --display-id 100
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pt-web-vnc-0.0.1.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for pt_web_vnc-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b1964b57be8ca8eb78eb2555ca4dcdf56b22159ae39e57f2b0a1dc649a3fd92 |
|
MD5 | ba60cf0ef765aa46107ae91a1f85ce0e |
|
BLAKE2b-256 | 39becf89f29430a8a04a12f51a231f29de9d37db3c6603420eee0605bade1ebc |