Working with you

How to Set Up xfreerdp to Access a Windows PC from Linux

xfreerdp

🧠 What Is xfreerdp?

xfreerdp is a free and open-source tool that lets you connect to a Windows computer remotely using Remote Desktop Protocol (RDP).

In simple terms:
👉 You can control your Windows PC from your Linux computer using only software — no extra hardware needed.

This is perfect if you:

  • Use Linux and Windows together

  • Want to share one keyboard, mouse, and monitor

  • Want to avoid buying USB switches or extra screens


🔹 What You Need Before Starting

  • A Linux computer

  • A Windows computer (Windows 10 / 11 Pro recommended)

  • Both computers connected to the same local network (Wi-Fi or Ethernet)

  • Administrator access on the Windows PC


PART 1 — Set Up Windows for Remote Access

Step 1: Enable Remote Desktop

On your Windows PC:

  1. Press Windows Key + I → Open Settings

  2. Go to:
    System → Remote Desktop

  3. Turn Remote Desktop ON

  4. Click Confirm


Step 2: Note Down Your Windows IP Address

  1. Press Windows Key + R

  2. Type:

     
     
    cmd
     
  3. Run:

     
     
    ipconfig
     
  4. Look for:

     
     
    IPv4 Address: 192.168.x.x
     

Save this — you’ll need it.


Step 3: Make Sure Your User Has a Password

Remote Desktop won’t work if your Windows account has no password.

If needed:

 
 
Settings → Accounts → Sign-in options → Set a password
 

PART 2 — Install xfreerdp on Linux

Ubuntu / Debian / Kali:

 
 
sudo apt update
sudo apt install freerdp2-x11 -y
 

Arch Linux:

 
 
sudo pacman -S freerdp
 

Fedora:

 
 
sudo dnf install freerdp
 

PART 3 — Connect to Windows Using xfreerdp

Now the magic happens ✨

Basic Command:

 
 
xfreerdp /u:USERNAME /p:PASSWORD /v:IP_ADDRESS
 

Example:

 
 
xfreerdp /u:isaac /p:1234 /v:192.168.1.20
 

✔ Replace:

  • USERNAME → Windows login name

  • PASSWORD → Windows password

  • IP_ADDRESS → Windows IP


PART 4 — Improve Experience (Recommended Options)

Full Screen Mode

 
 
xfreerdp /f /u:USERNAME /p:PASSWORD /v:IP
 

Auto-fit Screen Resolution

 
 
xfreerdp /dynamic-resolution /u:USERNAME /p:PASSWORD /v:IP
 

Clipboard Sharing (Copy & Paste)

 
 
xfreerdp +clipboard /u:USERNAME /p:PASSWORD /v:IP
 

Best Smooth Experience Command:

 
 
xfreerdp /f +clipboard /dynamic-resolution /u:USERNAME /p:PASSWORD /v:IP
 

PART 5 — Common Problems & Fixes

❌ Connection Failed?

Check:

  • Windows firewall allows Remote Desktop

  • Both machines are on same network

  • Correct IP address


❌ Black Screen?

Try:

 
 
xfreerdp /gfx /u:USERNAME /p:PASSWORD /v:IP
 

❌ Laggy Experience?

Solutions:

  • Use Ethernet cable instead of Wi-Fi

  • Reduce resolution:

 
 
/size:1280×720
 

WHY This Setup Is Powerful

This method lets you:

✔ Use one keyboard & mouse for two computers
✔ Use one monitor for both systems
✔ Avoid buying USB switch hardware
✔ Keep your desk clean
✔ Save money

All using free open-source software.


REAL-WORLD USE CASE

Perfect for:

  • Linux + Windows dual workflows

  • Developers

  • Network engineers

  • Cybersecurity students

  • Designers using Linux + Adobe tools on Windows

  • Anyone who wants efficient workstation setups


FINALY

xfreerdp proves that:

Smart thinking beats quick buying.

Instead of buying extra hardware, software solutions often exist — free, powerful, and elegant.

Related articles

Samsung Galaxy S24 Ultra vs iPhone 17 Pro Max

S24 Ultra vs iPhone 17 Pro Max

The Samsung Galaxy S24 Ultra and iPhone 17 Pro Max represent the pinnacle of smartphone technology in 2026. Both devices push the boundaries of performance, camera capabilities, and design. If you’re torn between Android and […]

Read More
Google Pixel 10 Pro vs Samsung Galaxy S26 Ultra

Google Pixel 10 Pro vs Samsung Galaxy S26 Ultra

📱 Two Android Kings. Two Different Philosophies. The Android world in 2026 is dominated by two heavyweights:Google Pixel 10 Pro and Samsung Galaxy S26 Ultra. They may sit in the same premium category…but they are […]

Read More

The Enduring Appeal of Gaming Classics

Nostalgia drives a resurgence in retro gaming, with classic video games finding new life on modern platforms. A wonderful tranquility has taken proprietorship of my entirety soul, like these sweet mornings of spring which I […]

Read More