Red Hat

show OS version
lsb_release -a

Red Hat setup
mkdir /media/rhel7-repo-iso
# VMware: make sure Device Status checkbox named Connected is checked!
mount /dev/cdrom /media/rhel7-repo-iso/
# or mount the iso file:
mount -o loop /root/rhel-server-7.1-x86_64-dvd.iso /media/rhel7-repo-iso/
# create the repo file:
touch /etc/yum.repos.d/RHEL_7_Disc.repo
# fill in the following content:
cat /etc/yum.repos.d/RHEL_7_Disc.repo
[RHEL_7_Disc] -> make sure to be unique among /etc/yum.repos.d/*.repo
# view the new repository:
yum repolist
# clear the related caches:
yum clean all
subscription-manager clean
# see
# do My CentOS setup
# do Nux Dextop
# no desktop will work with VMWare 12.1.0 on ASRock with Intel N3150 (including MATE Desktop) but XFCE with xrdp will work!
# Now you will be able to install new software on your unregistered RHEL 7 linux box.
yum group list hidden | grep -iP "GNOME|KDE|MATE|XFCE|Cinnamon"
yum -y groups install "Xfce"

remote desktop
# Install first EPEL and Nux Desktop repositories.
yum -y install xrdp tigervnc-server
firewall-cmd --permanent --zone=public --add-port=3389/tcp
firewall-cmd --reload
chcon --type=bin_t /usr/sbin/xrdp
chcon --type=bin_t /usr/sbin/xrdp-sesman
systemctl start xrdp.service
netstat -antup | grep xrdp
systemctl enable xrdp.service
Replace ". /etc/X11/..." with "startxfce4" in /etc/xrdp/
sudo sed -i s/"\. \/etc\/X11\/Xsession"/"#\. \/etc\/X11\/Xsession\n\tstartxfce4"/ /etc/xrdp/
sudo sed -i s/"\. \/etc\/X11\/xinit\/Xsession"/"#\. \/etc\/X11\/Xsession\n\tstartxfce4"/ /etc/xrdp/
sudo sed -i s/"\. \/etc\/X11\/xdm\/Xsession"/"#\. \/etc\/X11\/Xsession\n\tstartxfce4"/ /etc/xrdp/
# Make sure you use module “sesman-Xvnc” when conncting with your remote desktop client.

missing compat-libstdc++-33 required by Oracle
yum repolist all
yum-config-manager --enable rhel-7-server-optional-rpms
# anyway it didn't work ...
# so I found it here:
wget -O compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.