Logo

dev-resources.site

for different kinds of informations.

HiDPI In Kali Linux Through RDP | Hyper-V

Published at
9/2/2023
Categories
kali
hyperv
virtualmachine
rdp
Author
samerickson
Categories
4 categories in total
kali
open
hyperv
open
virtualmachine
open
rdp
open
Author
11 person written this
samerickson
open
HiDPI In Kali Linux Through RDP | Hyper-V

📃 HiDPI in Kali Linux Through RDP

To get started kali maintains a collection of “Pre-Built Virtual Machines” that we can download and use.

Screenshot of available pre-built virtual machines on the kali linux webpage: https://www.kali.org/get-kali/#kali-virtual-machines

In my case I downloaded the Hyper-V version by following the official documentation.

💻 Monitors

Once I got the pre-built virtual machine installed, and I started it up, I was pleased to see that the “Enhanced Session” was already enabled. This is a setting within Hyper-V that uses RDP to connect to the virtual machine. This gives us a bunch of nice features, like shared clipboard, and the ability to use all our connected monitors.

In my case using all connected monitors was an issue, since I have one 1080p monitor and one 4k monitor. So enabling Kali hiDPI Mode would make my 1080p monitor useless, but not enabling it would make the text on my 4k monitor way too small.

⚖️ Monitor Scaling Through Display Manger Settings

I was disappointed to find out that DPI scaling though XFCE display settings had no effect.

Image of XFCE display settings window.

Normally I would be able to set the scaling of my 4k monitor to 2x or 1.5x and leave my 1080p monitor to 1x, and things would appear correctly on both monitors, but since I could not get this to work I was left with configuring my Hyper-V settings to use only one monitor at a time. Then I can either use or disable Kali HiDPI Mode as required.

⚙️ Hyper-V Settings

In order to change the RDP settings used when you select “Connect” on a virtual machine within Hyper-V we can use the “Edit Session Settings…” button:

Screenshot of Hyper-V with a red box around the “Edit Session Settings…” button.

That will open the RDP Display Configuration window prior to connecting:

Screenshot of RDP Display Configuration window, showing the “use all my monitors” button and a “connect” button.

This allows us to configure RDP prior to connecting to our virtual machine. In this case we can un-check the “Use all my monitors” option and then connect. From there we can set Kali HiDPI Mode accordingly and we are done.

kali Article's
30 articles in total
Favicon
[Boost]
Favicon
Worms, Bots, and Botnets: How Hackers Take Over the Internet!
Favicon
Create a Powerful Hacking Lab: Install Kali Linux in Minutes!
Favicon
Kali Linux for Ethical Hacking: The Ultimate Toolkit for Cybersecurity Professionals
Favicon
Kali Linux For Beginner
Favicon
Install Kali NetHunter On Your Android Device
Favicon
Not bad but not good enough
Favicon
Beyond Basics: Traversing Kali Linux Tools
Favicon
Encrypt/Decrypt File Using Openssl
Favicon
Thrash with BASH
Favicon
Download Bluetooth in Kali Linux
Favicon
Realizando ataques de força bruta em containers docker usando hydra
Favicon
Deauthentication Attack using Kali Linux
Favicon
HiDPI In Kali Linux Through RDP | Hyper-V
Favicon
Kali Linux on Android Devices
Favicon
Mengatasi Install Kali Linux Berhenti di Detect Network Hardware
Favicon
Grub-customizer won't change your GRUB theme in Kali Linux? Try this
Favicon
Deploying your Kali-linux templates with Cloud-init, under Proxmox VE
Favicon
Linux top 15 shell commend.
Favicon
3 Easy Commands to Install Postman in Kali Linux
Favicon
Installing Snort on Kali Linux
Favicon
KALI LINUX: Common Commands that you should know : PART 2
Favicon
Kali vs Ubuntu
Favicon
Fast nmap scanning
Favicon
File upload bypass using MIME-type
Favicon
How to get Kali tools and Snap on a Chromebook
Favicon
Installing Libre Office in Kali Linux
Favicon
Adaptador de red wireless BCM4360 en Kali Linux
Favicon
Kali VPN Tweaks for TryHackMe
Favicon
Top 6 Ethical Hacking Tools

Featured ones: