How to start the Cinnamon desktop environment from CentOS terminal?

I installed CentOS 7.2 using the minimal ISO. How to start the Cinnamon desktop environment from CentOS terminal? I installed, ran yum update and the following instructions all successfully though I have no idea how to start Cinnamon.

yum install epel-release
yum groupinstall "X Window System"
yum install cinnamon gdm liberation* gnome-terminal gnome-icon-theme-legacy.noarch
echo "exec /usr/bin/cinnamon-session" >> ~/.xinitrc
ln -s /etc/systemd/system/default.target /lib/systemd/system/runlevel5.target
yum update
reboot
2

1 Answer

You probably should use startx(1) (for X11 based desktops). Read also about xinit(1)

Notice that some distributions are switching to Wayland so the details would be different.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like