aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMelissa Weber Mendonça <melissawm@gmail.com>2023-06-28 19:17:04 +0300
committerGitHub <noreply@github.com>2023-06-28 19:17:04 +0300
commit972fdffa717bad7d5db8d3f8e88a65d7953a34cc (patch)
treeb345266f90e1115ffa619f1588a31fa07ac497c3 /src
parentccce957d7e4bc1357559b361d4b219872ba57739 (diff)
Add instructions to set up port forwarding on devcontainer.json file (#593)
Diffstat (limited to 'src')
-rw-r--r--src/desktop-lite/NOTES.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/desktop-lite/NOTES.md b/src/desktop-lite/NOTES.md
index 891ce6c..9080c43 100644
--- a/src/desktop-lite/NOTES.md
+++ b/src/desktop-lite/NOTES.md
@@ -6,6 +6,16 @@ This feature provides two ways of connecting to the desktop environment it adds.
1. Open the ports view in your tool, select the noVNC port, and click the Globe icon.
1. In the browser that appears, click the **Connect** button and enter the desktop password (`vscode` by default).
+To set up the `6080` port from your `devcontainer.json` file, include the following:
+```json
+ "forwardPorts": [6080],
+ "portsAttributes": {
+ "6080": {
+ "label": "desktop"
+ }
+ }
+```
+
You can also connect to the desktop using a [VNC viewer](https://www.realvnc.com/en/connect/download/viewer/). To do so:
1. Connect to the environment from a desktop tool that supports the dev container spec (e.g., VS Code client).