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"

 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 Webmin Install webmin
Connect IQ Simulator missing dependencies
Centos avahi mdns
Yun user setup
Windows 2012 Interact With Desktop
Article details
Article ID: 136
Category: Linux
Date added: 15-11-2020 08:34:36
Views: 10
Rating (Votes): Article not rated yet (0)

 
« Go back

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