mirror of https://github.com/pikvm/pikvm.git
Update cookbook.md
This commit is contained in:
parent
a149e3ddd7
commit
22fdb9763e
|
|
@ -1,4 +1,34 @@
|
||||||
# Some random and useful recipes
|
# Some random and useful recipes
|
||||||
|
|
||||||
|
## Disabling authorization
|
||||||
|
Edit the file `/etc/kvmd/override.yaml`:
|
||||||
|
```yaml
|
||||||
|
kvmd:
|
||||||
|
auth:
|
||||||
|
enabled: false
|
||||||
|
```
|
||||||
|
then restart `kvmd`:
|
||||||
|
```
|
||||||
|
[root@pikvm ~]# systemctl restart kvmd
|
||||||
|
```
|
||||||
|
|
||||||
|
## Disabling ATX and hiding the menu
|
||||||
|
If you don't need ATX power control you can disable the relevant Web-UI menu in `/etc/kvmd/override.yaml`:
|
||||||
|
```yaml
|
||||||
|
kvmd:
|
||||||
|
atx:
|
||||||
|
type: disabled
|
||||||
|
```
|
||||||
|
then restart `kvmd`:
|
||||||
|
```
|
||||||
|
[root@pikvm ~]# systemctl restart kvmd
|
||||||
|
```
|
||||||
|
|
||||||
|
## Disabling webterm
|
||||||
|
```
|
||||||
|
[root@pikvm ~]# systemctl disable --now kvmd-webterm
|
||||||
|
```
|
||||||
|
|
||||||
## Take a HDMI screenshot via console on Pi-KVM
|
## Take a HDMI screenshot via console on Pi-KVM
|
||||||
```
|
```
|
||||||
# curl --unix-socket /run/kvmd/ustreamer.sock http://localhost/snapshot -o screen.jpg
|
# curl --unix-socket /run/kvmd/ustreamer.sock http://localhost/snapshot -o screen.jpg
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue