Skip to content

RHEL7 and CentOS 7 XRDP Ansible project with some extra theming

Notifications You must be signed in to change notification settings

DRN88/ansible-xrdp-gui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible XRDP GUI Project

Update

# Add this to the end of your /etc/bashrc to allow apps to run as root with gui
xhost +si:localuser:root 2> /dev/null

# Then you can just run this: sudo caja

XRDP provides great:

  • RDP Protocol compatibility
  • TLS encrytion
  • Good performance
  • Remote drives redirection

Vagrant quick start on Windows + Virtualbox

  • Install Vagrant
  • Install Virtualbox
  • Install Vagrant plugin: vagrant plugin install vagrant-vbguest
  • Run vagrant up
  • Run mstsc /v:localhost:13389
    • Username: vagrant
    • Password: vagrant

Build

cd vagrant
vagrant plugin install vagrant-vbguest
vagrant up

Destroy

vagrant halt -f
vagrant destroy -f

Quick start on a CentOS 7 test box

  • Make sure ansible-pull can become root without password (edit visudo)
yum -y install git ansible htop
sudo ansible-pull --purge --clean --force --url="https://github.com/DRN88/ansible-xrdp-gui.git" --checkout="master" --inventory="environments/local/inventory" playbooks/local.yml

Custom Themes available

Added 2 backgrounds and reusing some built-in themes:

  • Light1 (default)
  • Dark1

Known issues

  • Drive redirection does not work every time
    • Workaround in: /usr/libexec/xrdp/startwm-mate-session.sh with fusermount -u "$HOME/redirected_drives"
  • If Printers is enabled on Local devices and resources redirection it breaks the rest of the resources (Clipboard, Drive redirections). Please untick Printers

Recommended RDP connection settings on Windows 10

  • Set username in advance
  • Set screen to Fullscreen
  • Set Color depth 24bit
  • Enable remote audio
  • Enable clipboard
  • Click on More... button --> Enable drive redirection

mstsc1mstsc2

mstsc3

mstsc4

mstsc5

mstsc5

About

RHEL7 and CentOS 7 XRDP Ansible project with some extra theming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published