Skip to content

kogulan/ubuntu-xrdp-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

46 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ–₯️ Ubuntu 24.04 Remote Desktop Setup

Welcome! This repository provides easy-to-use scripts to transform your Ubuntu 24.04 LTS server into a fully functional remote desktop workstation. Whether you need a lightweight environment or a full-featured VPS setup, we've got you covered! πŸš€

🌟 Why Use This?

Setting up a remote desktop can be tricky. These scripts automate the entire process:

  • βœ… One-Command Setup: No need to manually install dozens of packages.
  • βœ… Lightweight & Fast: Uses XFCE, a high-performance desktop environment that's perfect for servers.
  • βœ… Secure: Automatically configures your firewall (UFW) to allow only necessary traffic.
  • βœ… Ready-to-Use: Connect from any standard RDP client (Windows, macOS, or Linux).

πŸ› οΈ Choose Your Script

We offer two versions depending on your needs:

1. Basic Setup (setup-xrdp-xfce.sh)

Perfect for those who want a clean, minimal desktop environment.

  • Installs: XFCE Desktop, XRDP.
  • Features: Interactive user creation, optional sudo privileges, and cleanup of conflicting desktop environments.
  • Best for: Most users and standard server configurations.

2. Full VPS Setup (vps.sh)

Designed for a complete workstation experience, often optimized for ARM64 environments (like Oracle Cloud or AWS Graviton).

  • Installs: Everything in the Basic Setup PLUS:
    • Apps: Firefox, Chromium, VLC, LibreOffice, and Visual Studio Code (ARM64).
    • Fonts: A comprehensive collection of fonts for better readability and emoji support.
  • Best for: Developers and power users who want a "ready-to-go" workspace.

πŸš€ Getting Started

Prerequisites

  • A server running Ubuntu 24.04 LTS.
  • sudo access.

Installation

  1. Download the preferred script:

    wget https://raw.githubusercontent.com/kogulan/ubuntu-xrdp-setup/master/setup-xrdp-xfce.sh
    # OR
    wget https://raw.githubusercontent.com/kogulan/ubuntu-xrdp-setup/master/vps.sh
  2. Make it executable:

    chmod +x setup-xrdp-xfce.sh
    # OR
    chmod +x vps.sh
  3. Run the script:

    sudo ./setup-xrdp-xfce.sh
    # OR
    sudo ./vps.sh

πŸ’» How to Connect

Once the script finishes, it will display your server's IP address. Use any RDP client to connect:

  • Computer/Host: YOUR_SERVER_IP
  • Port: 3389
  • Username: The username you chose during setup (default: kogulan).
  • Password: The password you set during setup.

Recommended Clients: Windows Remote Desktop Connection, Microsoft Remote Desktop (macOS/iOS), or Remmina (Linux).

πŸ”’ Security Tips

Stay safe while working remotely:

  • πŸ”‘ Use Strong Passwords: Ensure your RDP user has a complex password.
  • πŸ›‘οΈ IP Whitelisting: If possible, restrict port 3389 in UFW to only your specific IP address.
  • πŸ”„ Keep Updated: Regularly run sudo apt update && sudo apt upgrade to stay secure.

🀝 Contribute & Support

We love community involvement!

  • ⭐ Star the Repo: If this script helped you, please give it a star! It helps others find the project.
  • πŸ› Report Issues: Found a bug? Open an issue.
  • πŸ’‘ Suggestions: Have an idea for a new feature? Let us know!
  • πŸ› οΈ Contribute: Pull requests are welcome. Feel free to help improve the scripts!

Maintained with ❀️ for the Ubuntu community.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages