92 82 | I have recently installed CentOS 7 (Minimal Install without GUI) and now I want to install a GUI environment in it. How can I install Desktop Environments on previously installed CentOS7 without reinstalling it? | |||
|
2 Answers
164accepted | 1. Installing GNOME-Desktop:
How to use GNOME Shell?The default GNOME Desktop of CentOS 7 starts with classic mode but if you'd like to use GNOME Shell, set like follows: Option A: If you start GNOME with # echo "exec gnome-session" >> ~/.xinitrc# startx Option B: set the system graphical login and reboot the system. After system starts
2. Installing KDE-Desktop:
3. Installing Cinnamon Desktop Environment:
4. Installing MATE Desktop Environment:
5. Installing Xfce Desktop Environment:
| |||
|
17 | Rather than make use of the hacking of a To accomplish this simply do the following: $ sudo yum groupinstall "GNOME Desktop"$ ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target Then simply reboot. The last bit will associate the runlevel 5 target as your default with respect to Systemd. Doing it with SystemdYou can also use Systemd to accomplish this. This is arguably the better method since you're managing the state of the system directly through Systemd and its CLIs. You can see what your current default target is: $ sudo systemctl get-defaultmulti-user.target And then change it to graphical: $ sudo systemctl set-defaultgraphical.target TargetsIn Systemd the targets runlevel5.target and graphical.target are identical. So too are runlevel2.target and multi-user.target. Runlevel Target Units Description0 runlevel0.target, poweroff.target Shut down and power off the system.1 runlevel1.target, rescue.target Set up a rescue shell.2 runlevel2.target, multi-user.target Set up a non-graphical multi-user system.3 runlevel3.target, multi-user.target Set up a non-graphical multi-user system.4 runlevel4.target, multi-user.target Set up a non-graphical multi-user system.5 runlevel5.target, graphical.target Set up a graphical multi-user system.6 runlevel6.target, reboot.target Shut down and reboot the system. References |
dhclient
works on virtual box for network client not running.. andyum groupinstall X11
is needed, at least for XFCE install... your answer helped a lot, thanks :) – Oct 7 '16 at 10:42