1

I have Virtual-Box VM where Debian Linux 11.11 is installed with Visual Code 1.99.3

I use MobaXterm v24.4 Personal Edition to login via ssh to the machine. If i start code, then the window displayed via the X11 server cannot be resized or moved on the desktop. Maximizing or minimizing the window works fine.

With an older versions of Visual Code 1.97.2 it works fine.

Has anybody an idea how to solve this problem ?

If i start code directly in the VM window, then moving and resizing the window works fine, but the position all windows of visual code are limited to the VM window. So using several monitors does not work well.

I have also made a test with cygwin. There i have the same problem with moving and resizing the window

  1. Install cygwin with x server as sdescribed by https://darrengoossens.wordpress.com/2023/02/17/minimal-cygwin-install-to-use-as-an-x-server/

  2. Start the xwin server command box at windows 11 with C:\cygwin64\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; exec /usr/bin/startxwin -- -listen tcp -nowgl"

  3. Start cygwin

  4. connect to the vm

    export DISPLAY=":0.0" ssh -X <username>@<IP-Address>

  5. start code code .

1

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.