Skip to content

Commit 808ee38

Browse files
[desktop-lite] Suggested usage of appPort instead of forwardPorts for 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 <samruddhikhandale@github.com> --------- Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
1 parent 5cb0d2d commit 808ee38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/desktop-lite/NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To set up the `6080` port from your `devcontainer.json` file, include the follow
1919
You can also connect to the desktop using a [VNC viewer](https://www.realvnc.com/en/connect/download/viewer/). To do so:
2020

2121
1. Connect to the environment from a desktop tool that supports the dev container spec (e.g., VS Code client).
22-
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).
22+
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`.
2323
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.
2424
1. Enter the desktop password (`vscode` by default).
2525

0 commit comments

Comments
 (0)