I’m running an ubuntu 16.04 vm in hyper-v on my Dell XPS 15 (9560). The host OS is Windows 10 Pro. I have been just using the Windows Subsystem for Linux default installation to get a console to ssh into the VM running under hyper-v. The problem with that is the windows console used for the command line interface / bash session doesn’t behave like a normal X based terminal and becomes irritating for daily use in code development. A potential solution is to run an XServer for windows and use remote display capabilities to run an xterminal , in my case gnome-terminal. I settled on VcXsrv . After installing I found the rendering of the X windows a bit blurred. I’m running my windows display with 225% zoom on my 3840 x 2160 laptop display. The trick to fixing this is to set the DPI Scaling as shown below.
System A : host computer running windows 10 , VcXsrv, Windows Subsystem for Linux.
System B: Ubuntu 16.04 server with gnome-terminal and required dependencies installed.
on System A in Windows Subsystem for Linux terminal
export DISPLAY=localhost:0.0
ssh -X user@<System B ip>
then run gnome-terminal.
hints for configuring terminal font size
gsettings list-recursively | grep desktop | grep font
gsettings set org.gnome.desktop.wm.preferences titlebar-uses-system-font false
gsettings list-recursively | grep desktop | grep font
gsettings set org.gnome.desktop.wm.preferences titlebar-font ‘Cantarell 16’
gsettings set org.gnome.desktop.wm.preferences titlebar-font ‘Cantarell 16’
gsettings get org.gnome.desktop.interface text-scaling-factor
gsettings set org.gnome.desktop.interface text-scaling-factor 2.0
gsettings list-recursively | grep desktop | grep font
gsettings set org.gnome.desktop.interface font-name ‘Cantarell 16’