Update README
This commit is contained in:
34
README.md
34
README.md
@@ -44,38 +44,30 @@ Future Goals:
|
|||||||
```sh
|
```sh
|
||||||
wget -qO- https://github.com/kasmtech/KasmVNC/releases/download/v0.9.1-beta/kasmvncserver_0.9.1~beta-1_amd64.deb
|
wget -qO- https://github.com/kasmtech/KasmVNC/releases/download/v0.9.1-beta/kasmvncserver_0.9.1~beta-1_amd64.deb
|
||||||
|
|
||||||
sudo dpkg -i kasmvncserver_0.9.1~beta-1_amd64.deb
|
sudo apt-get install ./kasmvncserver_0.9.1~beta-1_amd64.deb
|
||||||
sudo apt-get -f install
|
|
||||||
|
|
||||||
# We provide an example script to run KasmVNC at #
|
|
||||||
# /usr/share/doc/kasmvncserver/examples/kasmvncserver-easy-start. It runs a VNC
|
|
||||||
# server on display :10 and on interface 0.0.0.0. If you're happy with those
|
|
||||||
# defaults you can just use it as is:
|
|
||||||
sudo ln -s /usr/share/doc/kasmvncserver/examples/kasmvncserver-easy-start /usr/bin/
|
|
||||||
|
|
||||||
# Add your user to the ssl-cert group
|
# Add your user to the ssl-cert group
|
||||||
sudo addgroup $USER ssl-cert
|
sudo addgroup $USER ssl-cert
|
||||||
# You will need to re-connect in order to pick up the group change
|
# You will need to re-connect in order to pick up the group change
|
||||||
|
|
||||||
# Create ~/.vnc directory and corresponding files.
|
# Run KasmVNC on display :10 and on interface 0.0.0.0:
|
||||||
kasmvncserver-easy-start --debug && kasmvncserver-easy-start --kill
|
vncserver :10 -fp /bin -depth 24 -geometry 1280x1050 \
|
||||||
|
-cert /etc/ssl/certs/ssl-cert-snakeoil.pem \
|
||||||
|
-key /etc/ssl/private/ssl-cert-snakeoil.key -sslOnly -FrameRate=24 \
|
||||||
|
-interface 0.0.0.0 -httpd /usr/share/kasmvnc/www
|
||||||
|
|
||||||
# On the first run, kasmvncserver-easy-start will ask you to choose a desktop
|
# On the first run, vncserver will ask you to create a KasmVNC user and choose a desktop
|
||||||
# environment you want to run. It can detect Cinnamon, Mate, LXDE, KDE, Gnome,
|
# environment you want to run. It can detect Cinnamon, Mate, LXDE, KDE, Gnome,
|
||||||
# XFCE. You can also choose to manually edit xstartup.
|
# XFCE. You can also choose to manually edit xstartup.
|
||||||
# After you chose a desktop environment or to manually edit xstartup,
|
# After you chose a desktop environment or to manually edit xstartup,
|
||||||
# kasmvncserver-easy-start won't ask you again, unless you run it as:
|
# vncserver won't ask you again, unless you run it as:
|
||||||
kasmvncserver-easy-start --select-de
|
vncserver --select-de
|
||||||
|
|
||||||
# Overwrite xstartup to launch your environment of choice, in this example LXDE
|
# You can select a specific Desktop Environment like this:
|
||||||
# This may be optional depending on your system configuration
|
vncserver --select-de mate
|
||||||
echo -e '#!/bin/sh'"\n/usr/bin/lxsession -s LXDE &" > ~/.vnc/xstartup
|
|
||||||
|
|
||||||
# Start KasmVNC with debug logging:
|
# Stop KasmVNC you started on display :10:
|
||||||
kasmvncserver-easy-start -d
|
vncserver -kill :10
|
||||||
|
|
||||||
# Get usage information of the easy start script:
|
|
||||||
kasmvncserver-easy-start --help
|
|
||||||
|
|
||||||
# Tail the logs
|
# Tail the logs
|
||||||
tail -f ~/.vnc/`hostname`:10.log
|
tail -f ~/.vnc/`hostname`:10.log
|
||||||
|
|||||||
Reference in New Issue
Block a user