slint
slint copied to clipboard
open slint show preview in vs code from VM debian12 got Slint Language Server crashed
Invalid MIT-MAGIC-COOKIE-1 key
VMware: No 3D enabled (0, Success).
VMware: No 3D enabled (0, Success).
Using Skia OpenGL renderer
Rendering at 1280x800
thread 'main' panicked at tools/lsp/preview/native.rs:122:40:
called Result::unwrap()
on an Err
value: OtherError("Error presenting framebuffer on screen: Permission denied (os error 13)")
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
[Info - 10:39:54] Connection to server got closed. Server will restart.
true
The Slint Language Server crashed. This is a bug. Please open an issue on https://github.com/slint-ui/slint/issues
bug env vs code: 1.92.2 , OS: win 11 (windows NT x64 10.0.22621) VM : virtualbox 7.0.18 VM OS: debian 12 code lang: rust(cargo) 1.81.0
Reproduce
- open vs code , connect the VM debian12
- open the VM code project(folder) UI
- open the *.slint file
- Ctrl+shift+P , select the Slint show preview