Configuration Reference
Configuration file location: ~/.config/lamco-rdp-server/config.toml
Flatpak: ~/.var/app/io.lamco.rdp-server/config/lamco-rdp-server/config.toml
[server]
Server connection settings.
| Key | Type | Default | Description |
|---|---|---|---|
| bind_address | string | "0.0.0.0" | IP address to bind |
| port | integer | 3389 | TCP port |
| max_connections | integer | 10 | Maximum concurrent connections |
[server]
bind_address = "0.0.0.0"
port = 3389
max_connections = 10
bind_address = "0.0.0.0"
port = 3389
max_connections = 10
[security]
Security and authentication settings.
| Key | Type | Default | Description |
|---|---|---|---|
| tls_enabled | boolean | true | Enable TLS encryption |
| tls_cert | string | auto | Path to TLS certificate |
| auth_method | string | "pam" | Authentication method |
| allowed_ips | array | [] | IP whitelist |
[video]
Video encoding settings.
| Key | Type | Default | Description |
|---|---|---|---|
| codec | string | "avc420" | Video codec (avc420, avc444) |
| encoder | string | "auto" | Encoder (auto, software, vaapi, nvenc) |
| quality | integer | 80 | Quality 1-100 |
| max_fps | integer | 60 | Maximum frame rate |
[audio]
Audio streaming settings (v1.2.0+).
| Key | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | true | Enable audio streaming |
| codec | string | "opus" | Audio codec |
| sample_rate | integer | 48000 | Sample rate in Hz |
| buffer_ms | integer | 50 | Buffer size (milliseconds) |
[audio]
enabled = true
codec = "opus" # opus, pcm, adpcm, g711-ulaw, g711-alaw
sample_rate = 48000
channels = 2
buffer_ms = 50
enabled = true
codec = "opus" # opus, pcm, adpcm, g711-ulaw, g711-alaw
sample_rate = 48000
channels = 2
buffer_ms = 50