Technical requirements
Generally, and in this case, it’s easier to build the OS being used with a graphical user interface (GUI). With this being said, you can still install a GUI if you didn’t build the server with a GUI originally. The following is a list of steps detailing how to add and configure a GUI:
- Install the GUI packages:
$ (sudo if not root) dnf groupinstall "Server with GUI"
- Set the GUI as the default target:
$ (sudo if not root) systemctl set-default graphical.target
- Set the GUI as the default startup source:
$ (sudo if not root) ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
- Restart the server:
$ (sudo if not root) reboot (or shutdown –r now)