Monday, February 2, 2015

Install Cinnamon, LightDM to CentOS 7 Minimal Install

yum install -y epel-release
yum groupinstall "X Window System"
yum install -y cinnamon gnome-icon-theme-legacy.noarch
yum groupinstall Fonts

(execute this command as a ordinary user / not as root)
echo "exec /usr/bin/cinnamon-session" >> ~/.xinitrc

yum install -y lightdm
systemctl set-default rm '/etc/systemd/system/'
# ln -s '/usr/lib/systemd/system/' '/etc/systemd/system/'
# systemctl enable lightdm.service
# startx

When resume from hibernate, all open applications always gone.
If I switched to text mode by pressing Ctrl+Alt+F2
then pm-hibernate or systemctl hibernate,
the applications will still alive.

So Here is how I fix it:

vi /etc/systemd/system/display-manager.service


No comments:

Post a Comment