Skip to content

Conversation

mishushakov
Copy link
Member

No description provided.

@mishushakov mishushakov requested a review from mlejva as a code owner September 25, 2025 09:15
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Missing Dependencies Cause Websockify Failures

The template is missing two installations from the original Dockerfile: pip install numpy, which websockify depends on, and the xorg package from the apt-get install list, which is essential for the X Window System. These omissions could cause websockify failures and desktop environment issues.

template/desktop/template.py#L22-L63

"apt-get update",
"apt-get install -y \
xserver-xorg \
x11-xserver-utils \
xvfb \
x11-utils \
xauth \
xfce4 \
xfce4-goodies \
util-linux \
sudo \
curl \
git \
wget \
python3-pip \
xdotool \
scrot \
ffmpeg \
x11vnc \
net-tools \
netcat \
x11-apps \
libreoffice \
xpdf \
gedit \
xpaint \
tint2 \
galculator \
pcmanfm \
software-properties-common \
apt-transport-https \
libgtk-3-bin",
]
)
# Setup NoVNC and websockify
.run_cmd(
[
"git clone --branch e2b-desktop https://github.com/e2b-dev/noVNC.git /opt/noVNC",
"ln -s /opt/noVNC/vnc.html /opt/noVNC/index.html",
"git clone --branch v0.12.0 https://github.com/novnc/websockify /opt/noVNC/utils/websockify",
]
)

Fix in Cursor Fix in Web


@mishushakov
Copy link
Member Author

@cursor resolve branch conflict template/e2b.toml

@mishushakov mishushakov removed the request for review from mlejva September 25, 2025 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant