Install XRDP & VirtualBox Linux Centos7
2 min readSep 30, 2021
Guide Step by step installation Desktop and VirtualBox at Linux Centos7
- Enable Virtualization on for a Virtual Machine
https://medium.com/@pistol.air32/enable-virtualization-on-virtual-machine-google-cloud-492a32769729
2. Create google cloud instance with image centos7 already created
3. Open Virtual Machine using SSH
4. Configure Virtual Machine :
a. Install Desktop & Utilities
sudo yum update
sudo yum groupinstall -y “Xfce”
sudo yum install -y firefox htop
b. Install XRDP and configure
sudo yum install -y xrdp
sudo systemctl enable xrdp
sudo systemctl disable firewalld
echo “xfce4-session” >~/.Xclients
chmod a+x ~/.Xclients
c. Basic security for XRDP
sudo passwd {userid}
sudo -i
sudo usermod -aG wheel {userid}
sudo reboot
d. Install VirtualBox Prerequisites
sudo yum groupinstall “Development tools”
sudo yum install kernel-headers qemu-kvm patch gcc kernel-devel make perl
e. Download Latest Version of VirtualBox
Connect via RDP open browser,
go to VirtualBox website download centos7 .rpm file
f. Install VirtualBox
start a terminal
cd Downloads
sudo yum localinstall VirtualBox-[version].rpm
sudo reboot
By PistolAir