SDB:Convert server to desktop

Jump to: navigation, search

You have installed openSUSE in server mode. Now you want to use GUI desktop on it. Here is what you need to do.

Install desktop environment

Install KDE

sudo zypper install patterns-kde-kde

Install GNOME

sudo zypper install patterns-gnome-gnome

Install Xfce

sudo zypper install patterns-xfce-xfce

Install LXQt

sudo zypper install patterns-lxqt-lxqt

Install LXDE

sudo zypper install patterns-lxde-lxde

Install MATE

sudo zypper install patterns-mate-mate

Install Enlightenment

sudo zypper install patterns-enlightenment-enlightenment

Install LeechCraft

sudo zypper install patterns-leechcraft-leechcraft

Change systemd target

You have a desktop environment now. But openSUSE won't boot into desktop. It is controlled by systemd and we need to change default systemd target to graphical:

sudo rm /etc/systemd/system/default.target
sudo ln -s /usr/lib/systemd/system/graphical.target /etc/systemd/system/default.target
sudo reboot

One day if you want to change back to server mode, just link default target to multi-user (text mode):

sudo rm /etc/systemd/system/default.target
sudo ln -s /usr/lib/systemd/system/multi-user.target /etc/systemd/system/default.target
sudo reboot

External links