CentOS/Red-Hat/Oracle Linux 7 How to Switch Between Server and Desktop

June 28, 2014 | By the+gnu+linux+evangelist.

Starting X on Boot on Red Hat 7 Linux Baesd Systems

The Tip Show How to Automatically Switch between Server and Graphical Desktop Environment on Boot for CentOS/Red-Hat/Oracle Enterprise 7.x GNU/Linux Systems.

The Systems make use by default of systemd, and systemd uses ‘targets’ instead of runlevels.

CentOS-Red-Hat-Oracle Linux 7 How to Start X on Boot - Featured
  1. Switching Desktop

    To Switch to:

    • Graphical Desktop
      su -c "ln -f /lib/systemd/system/graphical.target /etc/systemd/system/default.target"
    • Server
      su -c "ln -f /lib/systemd/system/multi-user.target /etc/systemd/system/default.target"

QuickChic Theme • Powered by WordPress