Complete Guide to Chrome Remote Desktop
Complete Guide to Chrome Remote Desktop
Setup • Share your screen • Access another computer
What is Chrome Remote Desktop?
Chrome Remote Desktop lets you control a computer from anywhere through a browser. It works across platforms—Linux, Windows, macOS, even mobile.
Think of it as:
a secure bridge between two machines using your Google account.
PART 1 — Setting up Chrome Remote Desktop (Host machine)
This is the machine you want to access remotely (your Arch Linux system).
Step 1: Install required packages (Linux / Arch)
sudo pacman -S xfce4 xfce4-goodies xorg-server-xvfb xorg-xauth xorg-xsetrootXFCE is used because it’s lightweight and stable for remote sessions.
Step 2: Configure session file
nano ~/.chrome-remote-desktop-sessionAdd:
export $(dbus-launch)
exec startxfce4This ensures:
- proper desktop session
- working DBus (fixes crashes, audio issues)
Step 3: Register your machine
Go to:
https://remotedesktop.google.com/headless/
Copy the command and run it:
DISPLAY= /opt/google/chrome-remote-desktop/start-host --code="..." ...You will:
- set a PIN
- register the device to your Google account
Step 4: Start the service
systemctl enable chrome-remote-desktop@$USER
systemctl start chrome-remote-desktop@$USERCheck status:
systemctl status chrome-remote-desktop@$USERYou want:
Active: active (running)
PART 2 — Access your computer (from Windows)
On the Windows machine:
Option A: Browser (easiest)
Open: https://remotedesktop.google.com/access
Steps:
- Login with same Google account
- Select your computer
- Enter PIN
Option B: Use a browser like:
- Google Chrome
- Microsoft Edge
Best compatibility and performance.
What happens behind the scenes
- Linux runs a virtual display (
:20) - XFCE desktop starts
- Browser streams it securely
PART 3 — Share your screen with another user
You have two methods, depending on your goal.
Method 1: Temporary sharing (recommended)
Go to: https://remotedesktop.google.com/support
On your machine:
- Click “Share this screen”
- Generate a one-time code
On Windows user:
- Enter that code
- Instantly connect
No account sharing required.
Method 2: Permanent access
If you trust the user:
- Share your Google account or
- Add their Google account to your machine
Then they:
- log in
- see your system
- connect anytime with PIN
Important behavior
- Only one session per host
- All users see the same desktop
- It’s not multi-user like a server
PART 4 — Access another user’s screen
If you want to access someone else:
Option A: They share code
- Ask them to open: https://remotedesktop.google.com/support
- They generate code
- You enter it
Instant access
Option B: They enable remote access
They:
- install CRD
- set PIN
You:
- log into their account
- connect from Access page
Troubleshooting
Infinite PIN loop
Cause:
- setup command running inside service
Fix:
- run setup manually in terminal
Black screen
Cause:
- no desktop environment
Fix:
exec startxfce4No audio / DBus errors
Fix:
export $(dbus-launch)Service not running
Check:
journalctl -u chrome-remote-desktop@$USER -eAdvanced Tips
Reduce RAM usage
Switch XFCE → lightweight WM:
- Openbox
- i3
Security tips
- Use strong PIN
- Don’t share Google account casually
- Prefer temporary codes for strangers
Access from mobile
Install:
- Chrome Remote Desktop
Final Understanding
- Not a VM → it’s your real system
- Not multi-user → shared session
- Not local-only → works over internet
Summary
| Task | How |
|---|---|
| Setup | Install + session file + headless command |
| Access | Use Access page + PIN |
| Share screen | Support page + one-time code |
| Access others | Enter their code |