Skip to content

Commit 3fd8107

Browse files
committed
plugins/openvscode-drive: Fix inability to display most GUI applications via VNC
Tested by opening http://localhost:6081 and doing the following from a VSCode terminal: $ cat <<-tac >Dialog.java import javax.swing.JOptionPane; public class Dialog { public static void main(String[] args) { JOptionPane.showMessageDialog(null, "Test"); } } tac $ javac Dialog.java $ java Dialog
1 parent 7d89016 commit 3fd8107

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugins/openvscode-drive

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ cd
2828

2929
if which novnc_proxy >/dev/null
3030
then
31+
mkdir /tmp/.cache
32+
mkdir -p .cache
33+
mount -B /tmp/.cache .cache
34+
3135
Xvnc -SecurityTypes None -localhost -nolisten local ":$display" &
3236
novnc_proxy --vnc ":$((X11_PORT + display))" --listen $((VNC_PORT + display)) &
3337

0 commit comments

Comments
 (0)