We are using an SLES 12.3 VM running on a XenServer 7.5 as a database server. It has been unfortunately installed with all graphical components like GNOME, Firefox and others..

Due to the fact we connect for maintenance only via ssh to this server we would like to remove all unnecessary GUI components which are each time updated even never needed so the server is reachable only via pure SSH.

Is there on an already installed server a simple way or isn't it possible anymore? Running the server in runlevel 3 doesn't really solve my problem because the packages remain on the server and are kept in the update process.

When I try - for example - to remove with yast the package mozilla I receive lot of dependencies issues and I don't continue because I simple don't know what I would do.