Skip to content

Commit

Permalink
[desktop-lite] Suggested usage of appPort instead of forwardPorts for…
Browse files Browse the repository at this point in the history
… devcontainer-cli (#1096)

* [desktop-lite] Suggested usage of appPort instead of forwardPorts for devcontainer-cli

* Update src/desktop-lite/NOTES.md

Co-authored-by: Samruddhi Khandale <[email protected]>

---------

Co-authored-by: Samruddhi Khandale <[email protected]>
  • Loading branch information
daniel-meilak and samruddhikhandale authored Aug 16, 2024
1 parent 5cb0d2d commit 808ee38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/desktop-lite/NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To set up the `6080` port from your `devcontainer.json` file, include the follow
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).
1. Forward the VNC server port (`5901` by default) to your local machine using either the `forwardPorts` property in `devcontainer.json` or the user interface in your tool (e.g., you can press <kbd>F1</kbd> or <kbd>Ctrl/Cmd</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> and select **Ports: Focus on Ports View** in VS Code to bring it into focus).
1. Forward the VNC server port (`5901` by default) to your local machine using either the `forwardPorts` property in `devcontainer.json` or the user interface in your tool (e.g., you can press <kbd>F1</kbd> or <kbd>Ctrl/Cmd</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> and select **Ports: Focus on Ports View** in VS Code to bring it into focus). If you are using the [Dev Container CLI](https://github.com/devcontainers/cli), you should instead use the `appPort` property in `devcontainer.json`.
1. Start your VNC Viewer and connect to localhost:5901. Note that you may need to bump up the color depth to 24 bits to see full color.
1. Enter the desktop password (`vscode` by default).

Expand Down

0 comments on commit 808ee38

Please sign in to comment.