Knowledgebase
emscom > emscom Help Desk > Knowledgebase

Search help:


Centos add Mate Desktop to minimal install

Solution

Download Centos 7 netinstall iso

Install Centos selecting minimal packages

Add useful packages

> yum -y install nano net-utils

Add epel repo

> yum install epel-release

Update Centos

> yum update

 

Install X11 and MATE desktop

> yum -y groupinstall "X Windows System" "MATE Desktop"

> yum install xorg-x11-server-Xorg

# drivers for keyboard and mouse

> yum install xorg-x11-drv-libinput xorg-x11-drv-evdev xorg-x11-drv-mouse

> yum install xorg-x11-drv-vmmouse xorg-x11-drv-vmware

 Create .xinitrc

> nano ~/.xinitrc

#!/bin/sh
# ~/.xinitrc
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi
#start desktop environment
exec /bin/mate-session

Test GUI

> startx

 

Install XRDP

> yum install xrdp

Create .Xclients

> nano ~/.Xclients

# ~/.XClients
# Executed by xrdp

mate-session

 

XRdp testing

> systemctl start xrdp

> systemctl enable xrdp

> systemctl stop firewalld

> systemctl disable firewalld

 

Firewall should be re-enabled with appropriate rules for production use

 
Was this article helpful? yes / no
Related articles XRDP
Webmin Install webmin
CentOS7 Yum Vault configuration
Debian setup cheat sheet
Connect IQ Simulator missing dependencies
Article details
Article ID: 136
Category: Linux
Date added: 15-11-2020 11:34:36
Views: 160
Rating (Votes): Article not rated yet (0)

 
« Go back

 
Powered by Help Desk Software HESK, in partnership with SysAid Technologies