Git Product home page Git Product logo

ansible-xrdp-gui's Introduction

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

ansible-xrdp-gui's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.