Skip to content

Commit cff3829

Browse files
fix(claude-desktop): ventana no aparece — render GPU falla en KasmVNC
Tras arreglar libffmpeg, Claude Desktop arrancaba pero no mostraba ventana: la GPU falla en el entorno sin aceleración (KasmVNC/Xvfb) con "Failed to send GpuControl.CreateCommandBuffer" y "WebGL1/WebGL2 blocklisted", y sin contexto GPU no se crea la ventana. Arreglo: el wrapper añade flags de render por software (igual que el wrapper de Chrome en la imagen): --no-sandbox --disable-gpu-sandbox --use-gl=angle --use-angle=swiftshader --enable-unsafe-swiftshader --ignore-gpu-blocklist --disable-dev-shm-usage Verificado con Xvfb: se crea la ventana "Claude" 1200x800 y desaparecen los errores GPU/WebGL. Aplicado en Developer, DeveloperAndroid, Maker, OpenClaw, AdvancedHostDANGER. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent bcf215b commit cff3829

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎workspaces/AdvancedHostDANGER/main.tf‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ EOF
217217
#!/bin/sh
218218
$${CLAUDE_WRAP_TAG}
219219
exec env ELECTRON_DISABLE_SANDBOX=1 ELECTRON_OZONE_PLATFORM_HINT="$${ELECTRON_OZONE_PLATFORM_HINT:-auto}" COWORK_VM_BACKEND="$${COWORK_VM_BACKEND:-host}" \
220-
/usr/lib/claude-desktop/claude-desktop "$$@"
220+
/usr/lib/claude-desktop/claude-desktop --no-sandbox --disable-gpu-sandbox --use-gl=angle --use-angle=swiftshader --enable-unsafe-swiftshader --ignore-gpu-blocklist --disable-dev-shm-usage "$$@"
221221
EOF
222222
sudo chmod 0755 /usr/bin/claude-desktop
223223
sudo rm -f /usr/bin/claude-desktop.real

‎workspaces/Developer/main.tf‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ EOF
260260
#!/bin/sh
261261
$${CLAUDE_WRAP_TAG}
262262
exec env ELECTRON_DISABLE_SANDBOX=1 ELECTRON_OZONE_PLATFORM_HINT="$${ELECTRON_OZONE_PLATFORM_HINT:-auto}" COWORK_VM_BACKEND="$${COWORK_VM_BACKEND:-host}" \
263-
/usr/lib/claude-desktop/claude-desktop "$$@"
263+
/usr/lib/claude-desktop/claude-desktop --no-sandbox --disable-gpu-sandbox --use-gl=angle --use-angle=swiftshader --enable-unsafe-swiftshader --ignore-gpu-blocklist --disable-dev-shm-usage "$$@"
264264
EOF
265265
sudo chmod 0755 /usr/bin/claude-desktop
266266
sudo rm -f /usr/bin/claude-desktop.real

‎workspaces/DeveloperAndroid/main.tf‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ EOF
235235
#!/bin/sh
236236
$${CLAUDE_WRAP_TAG}
237237
exec env ELECTRON_DISABLE_SANDBOX=1 ELECTRON_OZONE_PLATFORM_HINT="$${ELECTRON_OZONE_PLATFORM_HINT:-auto}" COWORK_VM_BACKEND="$${COWORK_VM_BACKEND:-host}" \
238-
/usr/lib/claude-desktop/claude-desktop "$$@"
238+
/usr/lib/claude-desktop/claude-desktop --no-sandbox --disable-gpu-sandbox --use-gl=angle --use-angle=swiftshader --enable-unsafe-swiftshader --ignore-gpu-blocklist --disable-dev-shm-usage "$$@"
239239
EOF
240240
sudo chmod 0755 /usr/bin/claude-desktop
241241
sudo rm -f /usr/bin/claude-desktop.real

‎workspaces/Maker/main.tf‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ EOF
251251
#!/bin/sh
252252
$${CLAUDE_WRAP_TAG}
253253
exec env ELECTRON_DISABLE_SANDBOX=1 ELECTRON_OZONE_PLATFORM_HINT="$${ELECTRON_OZONE_PLATFORM_HINT:-auto}" COWORK_VM_BACKEND="$${COWORK_VM_BACKEND:-host}" \
254-
/usr/lib/claude-desktop/claude-desktop "$$@"
254+
/usr/lib/claude-desktop/claude-desktop --no-sandbox --disable-gpu-sandbox --use-gl=angle --use-angle=swiftshader --enable-unsafe-swiftshader --ignore-gpu-blocklist --disable-dev-shm-usage "$$@"
255255
EOF
256256
sudo chmod 0755 /usr/bin/claude-desktop
257257
sudo rm -f /usr/bin/claude-desktop.real

‎workspaces/OpenClaw/main.tf‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ EOF
200200
#!/bin/sh
201201
$${CLAUDE_WRAP_TAG}
202202
exec env ELECTRON_DISABLE_SANDBOX=1 ELECTRON_OZONE_PLATFORM_HINT="$${ELECTRON_OZONE_PLATFORM_HINT:-auto}" COWORK_VM_BACKEND="$${COWORK_VM_BACKEND:-host}" \
203-
/usr/lib/claude-desktop/claude-desktop "$$@"
203+
/usr/lib/claude-desktop/claude-desktop --no-sandbox --disable-gpu-sandbox --use-gl=angle --use-angle=swiftshader --enable-unsafe-swiftshader --ignore-gpu-blocklist --disable-dev-shm-usage "$$@"
204204
EOF
205205
sudo chmod 0755 /usr/bin/claude-desktop
206206
sudo rm -f /usr/bin/claude-desktop.real

0 commit comments

Comments
 (0)