Posts

Showing posts from February, 2019

VNC Configuration using Ansible in CentOS 6

Image
1. Install epel repo on CentOS 6 system:     # yum install epel-release  -y 2. Install ansible using yum:     # yum install ansible  -y 3. Go to the '/etc/ansible/roles' directory and run the below command to create the required directory structure:     # ansible-galaxy  init  vnc6  --offline        - vnc6 was created successfully   # tree vnc6        vnc6     ├── defaults     │   └── main.yml     ├── files     ├── handlers     │   └── main.yml     ├── meta     │   └── main.yml     ├── README.md     ├── tasks     │   └── main.yml     ├── tests     │   ├── inventory     │   └── test.yml     └── vars         └── main.yml     4....

xRDP configuration on Ubuntu 16.04, 18.04 & 20.04 LTS Server and Desktop

Image
xRDP is one of the most commonly used opensource remote desktop protocol (rdp). By following the below steps it can easily be configured on different flavors of Ubuntu system. Configuration : a. Login to the Ubuntu server as 'root' and run the update: # apt-get update && apt-get upgrade -y b. Install the 'xfce4' desktop environment: # apt-get install xfce4 xfce4-goodies -y c. Install the 'xrdp' package: # apt-get install xorgxrdp xrdp -y d. Enable the 'xfce4-session' for both 'ubuntu' and 'root' user: # echo xfce4-session >~/.xsession # su - ubuntu $ echo xfce4-session >~/.xsession Now the system is ready. You can login to the system using RDP via 'root' or 'ubuntu' user along with their own password. NOTE : If 'ufw' is enabled, make sure to allow the network access to RDP this system. To check the 'ufw' status: # ufw status To allo...