Summary
As written in the desktop-init.sh , the entrypoint script will use user-defined VNC_RESOLUTION if provided. But even if I include the env definition in both containerEnv and remoteEnv, the entrypoint script always uses the default setting.
Screenshot

Steps to reproduce
.devcontainer used.
{
"name": "Ubuntu",
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"features": {
"ghcr.io/devcontainers/features/desktop-lite:1": {}
},
"containerEnv": {
"VNC_RESOLUTION": "1920x1080x32"
},
"remoteEnv": {
"VNC_RESOLUTION": "1920x1080x32"
},
"forwardPorts": [
5901,
6080
],
"containerUser": "vscode"
}
Log
[2024-04-15T13:06:53.341Z] Start: Run: docker run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=/home/docker_test,target=/workspaces/docker_test --mount type=volume,src=vscode,dst=/vscode -e VNC_RESOLUTION=1920x1080x32 -u vscode --init --entrypoint /bin/sh vsc-docker_test-07c641cc479b026b86df51ee3bad1935608dd8988b8d00265001f60892599974-features-uid -c echo Container started
Summary
As written in the
desktop-init.sh, the entrypoint script will use user-definedVNC_RESOLUTIONif provided. But even if I include the env definition in bothcontainerEnvandremoteEnv, the entrypoint script always uses the default setting.Screenshot
Steps to reproduce
.devcontainerused.Log