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

AI Agents Are Raising New Privacy Fears

AI Agents Are Raising New Privacy Fears

Why Regulators Are Investigating OpenAI, Google and Meta AI agents are supposed to be the next great leap forward — autonomous software that can browse the web, book your appointments, and handle complex tasks on […]

Read More
Samsung One UI 9

10 New Features Galaxy Users Need to Know

Your Galaxy just got a lot smarter — and a little more nosy about your privacy. Samsung officially began rolling out One UI 9 on September 16, 2026, starting with the Galaxy S26, S26+, and […]

Read More
Developers Are Quietly Abandoning

Why Developers Are Quietly Abandoning Their Desktop Apps

Remember when launching a new software product meant building a macOS .dmg, a Windows .exe, and maybe a Linux package, praying they didn’t crash, and begging users to download them? Those days are quietly, rapidly coming […]

Read More