This post is also available at my personal web site: http://milosophical.me/blog/2009/02/20/xming-screen-size.html
The Xming X Server for Windows works well for this, although there are other X servers for Windows and they should also work. Download and install it on your Windows 10 PC to get started. I'm telling Xming to start an XDMCP session, and it does. Everything is fine and dandy. Now I'm trying to do the same over an SSH link. I have installed the OpenSSH server on Linux and PuTTY on Windows. X11 forwarding is enabled. I'm running Xming in the 'start a remote program' mode; the default/only choice for the remote program is xterm.
Xming Server
My work’s notebook (Windows XP) is running Xming as it’s X11 server, and it travels between work, home and on the train.
My work office has a docking station and a rotating second display. Typically if I start Xming with this display plugged in, Xming will adjust it’s screen size to use both displays, but if I start it without the screen plugged in, it’ll size to just the notebook screen. If I later add the 2nd screen (by docking the notebook), Xming won’t use it without a restart. Also if I rotate the screen, only the top 1200 pixels will be used by Xming.
Xming is licensed under the GNU General Public License version 2 (GPLv2), and comes packaged as Windows executables with easy-to-use installers. If all you want is an X Window Server — and not a complete Unix-type environment — Xming is a better choice than Cygwin/X. Download the latest version of Xming! Xming is one of the TOP-10 software products on our website and featured as one of the best titles in Network for Windows PC. More experienced users know that you can connect to a Linux server quite easily using a variety of SSH (Secure Shell) clients. That's all well and good but w.
Xming Vs Vcxsrv
The solution is to specify a screen size to begin with that is as wide and tall as both of the screens. On my docked notebook the two displays are the notebook’s display (1920×1200 pixels) and 2nd display (1600×1200 pixels, which rotates to 1200×1600). So that means the combined screen width is 3520 pixels, and the tallest screen hight is 1600 pixels. Specify this to Xming when it starts:
Xming Download
pathtoxming.exe :0 -clipboard -multiwindow -screen 0 3520x1600
Xming Alternative
Now I can add/remove/rotate the second screen and still use all of it without restarting Xming.