Setup ssh on Ubuntu
On Ubuntu computer, apt install ssh to install/enable sshd
check ip address of your Ubuntu computer using ifconfig
in my case, it is 192.168.11.103
Connect Ubuntu from Windows computer using Tera term via SSH
http://www.teraterm.org/
install Teraeterm Menu, and right click Teraterm Menu icon on system tray and add your Ubuntu computer ip address, username, password and enable ssh. left click Teraterm menu icon and choose your Ubuntu connection profile and connect to Ubuntu.
Determine your Windows computer IP address
run cmd and type ipconfig. my Windows computer IP is 192.168.11.199
Install Cygwin/X on Windows
Install Cygwin/X onto Windows computer https://x.cygwin.com/
Additionally install xterm and xhost from Cygwin setup
Open C:\cygwin64\bin\startxwin with text editor and modify
serverargs="" with
serverargs="+iglx -wgl -listen tcp"
On windows start menu, choose Cygwin-X → Xwin server to run Cygwin X server.
With Cygwin/X icon on system tray, choose System tools → XTerm to run xterm
Disable authentication
On XTerm window, run
xhost +
Connect Ubuntu from Windows computer using Teraterm via SSH
left click Teraterm menu and connect to Ubuntu.
Type on Ubuntu console
export DISPLAY="192.168.11.199:0"
gnome-session
to run gnome desktop session onto your Cygwin/X X server. Ubuntu desktop is shown on your Windows computer. Remote Ubuntu computer can be used as a local native Ubuntu computer from Windows