![]() ![]() The ability to connect to the machine with standard console or enhanced one is important if you encounter problem with software running in an xrdp session.īut the question is: after all this work, do I really have more than a standard WSL2 machine that I could have started in mere minutes?. As a proof you can turn down network connection entirely, but you still can control your machine through xrdp.įigure 5: No interface is connected but I still able to access the machine through xrdp It is imperative to know that even if you are using xrdp server, connection is not done through network interface, this allow you to have the VM in a complete different network of your host, but at the same time being able to use without problem. When you enable enhanced connection you have the ability to decide which connection type you want to use. In Figure 4 you can see that the enhanced connection button is now active, you can press to switch to enhanced connection mode. If you close that Window you can connect with the usual console, you should see a standard login but you can switch back to enhanced connection with the standard icon.įigure 4: Standard console connection for the VM Now I suggest you to shutdown VM, close Hyper-V console, then restart the machine, this time when you open the console you should be prompted with a box that ask you the resolution you want to use.įigure 3: Enhanced connection is now active on the vmĪs you can see from Figure 3 the icon of the Enhanced connection seems to be disabled, but if it is asking you display configuration, the console is trying to connect with xrdp. Set-VM -VMName -EnhancedSessionTransportType HvSocket Now do not forget to try to start xrdp service, verify if it is running correctly and enable to have it autostart with the VM. Basically you need to tweak /etc/xrdp/xrdp.ini to fix fsock configuration. Thanks to This article I’ve found the solution. In latest Kali Linux version this is not enough, because a systemctl status rvice usually shows that the service failed to start. But here I was missing a nice piece of the puzzle, you can enable the enhanced connection in Hyper-V console, you just need to clone this repository, go to linux-vm-tools/ubuntu/18.4 and run install.sh script. I used in the past VmWare ESXi because it has a better support with management console, while in Hyper-V you are usually stuck with FullHD maximum resolution, sluggish mouse, and unable to resize. ![]() I always preferred VmWare virtualization system for Desktop Linux VMs, due to superior GUI performance. That is the network where I have VM to play with security, like connecting to Hack The Box or TryHackMe VPN and so on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |