Skip to content

Instantly share code, notes, and snippets.

@subhendu-de
Last active December 29, 2022 14:00
Show Gist options
  • Save subhendu-de/b63a660b5665793b9cd8e624e44df3ed to your computer and use it in GitHub Desktop.
Save subhendu-de/b63a660b5665793b9cd8e624e44df3ed to your computer and use it in GitHub Desktop.
#!/bin/bash
# Install the xRDP packages
sudo apt install xrdp
# Create the .xsession file under the home directory with the desktop environment information
echo "xfce4-session" | tee .xsession
# Check the status of the xRDP daemon service
systemctl status xrdp
# Restart the xRDP daemon service
sudo systemctl restart xrdp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment