yum groupremove 'GNOME Desktop Environment'
yum groupinstall XFCE
yum groupinstall LXDE
create the file with a editor
/etc/sysconfig/desktop
DISPLAYMANAGER=/usr/sbin/lxdm
PREFERRED=/usr/bin/startlxde
and reboot
to enable vnc session for remote users
/bin/su username -c "/usr/bin/vncserver :1 -geometry 1440x900"
also it can be added in the rc.local so they will be enabled at server startup
/bin/su username2 -c "/usr/bin/vncserver :2 -geometry 1440x900"
/bin/su username3 -c "/usr/bin/vncserver :3 -geometry 1440x900"
How do I change the default runlevel?
systemd uses symlinks to point to the default runlevel. You have to delete the existing symlink first before creating a new one rm /etc/systemd/system/default.target
Switch to runlevel 3 by default ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
Switch to runlevel 5 by default ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target