@ -9,32 +9,29 @@ tags: [helper, vnc, desktop]
# KasmVNC
# KasmVNC
Automatically install [KasmVNC ](https://kasmweb.com/kasmvnc ) in a workspace, and create an app to access it via the dashboard.
Automatically install [KasmVNC ](https://kasmweb.com/kasmvnc ) in a workspace, and create an app to access it via the dashboard. Add latest version of KasmVNC with [`lxde` ](https://www.lxde.org/ ) desktop environment:
```tf
module "kasmvnc" {
source = "registry.coder.com/modules/kasmvnc/coder"
version = "1.0.15"
agent_id = coder_agent.example.id
}
```
> **Note:** This module only works on debian-based workspaces.
> **Note:** This module only works on debian-based workspaces.
## Examples
## Examples
1. Add latest version of KasmVNC with [`lxde` ](https://www.lxde.org/ ) desktop environment:
1. Add specific version of KasmVNC with [`mate` ](https://mate-desktop.org/ ) desktop environment and custom port:
```hcl
module "kasmvnc" {
source = "registry.coder.com/modules/kasmvnc/coder"
version = "1.0.15"
agent_id = coder_agent.example.id
}
```
2. Add specific version of KasmVNC with [`mate` ](https://mate-desktop.org/ ) desktop environment and custom port:
```hcl
```tf
module "kasmvnc" {
module "kasmvnc" {
source = "registry.coder.com/modules/kasmvnc/coder"
source = "registry.coder.com/modules/kasmvnc/coder"
agent_id = coder_agent.example.id
agent_id = coder_agent.example.id
version = "1.0.15"
version = "1.0.15"
kasm_version = "1.3.1"
desktop_environment = "mate"
desktop_environment = "mate"
port = 6080
port = 6080
}
}
```
```