Results 1 to 5 of 5

Thread: Remove Xfce4 and all GUI packages

  1. #1

    Default Remove Xfce4 and all GUI packages

    Good evening. Can someone please advise how I can remove Xfce4 and all of GUI apps/packages so that I can run Tumbleweed as a headless server (using the cli)? Thank you.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,067
    Blog Entries
    15

    Default Re: Remove Xfce4 and all GUI packages

    Quote Originally Posted by radumamy View Post
    Good evening. Can someone please advise how I can remove Xfce4 and all of GUI apps/packages so that I can run Tumbleweed as a headless server (using the cli)? Thank you.
    Hi
    Just boot to multi-user target (runlevel 3)?

    The following should clean it out...
    Code:
    rpm -qa xfce* --qf "%{name}\n" |xargs zypper rm -u
    zypper rm -t pattern xfce
    systemctl set-default multi-user.target
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,443

    Default Re: Remove Xfce4 and all GUI packages

    Quote Originally Posted by radumamy View Post
    Good evening. Can someone please advise how I can remove Xfce4 and all of GUI apps/packages so that I can run Tumbleweed as a headless server (using the cli)? Thank you.
    As already suggested, your goal (running "headless") will be satisfied by running in "Miulti-user mode" (YaST > System > System Services; at the top choose Muti User instead of Graphical and reboot).
    No need to remove any software.
    Henk van Velden

  4. #4

    Default Re: Remove Xfce4 and all GUI packages

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Just boot to multi-user target (runlevel 3)?

    The following should clean it out...
    Code:
    rpm -qa xfce* --qf "%{name}\n" |xargs zypper rm -u
    zypper rm -t pattern xfce
    systemctl set-default multi-user.target
    Thank you. I have been booting into server mode for a while. I have repurpused my Raspberry Pi 4 into a server. I would really like to remove all GUi apps (e.g. browsers including X.org server) so nothing is left behind. When it comes to upgrading Tumbleweed I am downloading loads of packages that I do not require anymore.

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,443

    Default Re: Remove Xfce4 and all GUI packages

    I do not know what you mean with "server mode". When you mean multi-user,target (former runlevel 3) then please use the terms that are native to Unix/Linux and that people are used to. This to avoid confusion.

    It is a bit difficult to decide which software packages to remove. Once they are there, there is not really a way to tell why they are there. You could e.g. see in YaST > Software > Software Management from the Patterns View which packages belong to e.g. the Patterns XFCE and X Window system and check all those for removal. But that a package is going to be installed by a specific Pattern does not mean it is not needed by another pattern (or by something outside the Patterns).
    Also you may have installed additional GUI packages and those do not belong to any of those Patterns.

    E.g. I see Mozilla Firefox mentioned in XFCE Desktop Pattern as well as X Windows Pattern. Meaning that when you remove all packages belonging to XFCE Pattern, you will also remove Firefox and the X Windows Pattern is not complete anymore. It depends then on you to decide if that is OK or not.

    IMHO the best thing to do is to handle this at installation. To begin with you can already very early b the installation process decide if you want no desktop and even if you want no X at all. Further you can later in detail add/remove packages from what is proposed for installation. I have done this a few times to install a tex only system.

    And as a very personal remark: I would never use Tumbleweed for a, to be rock stable, system which main task seems to be running servers for clients on other systems. And the large and frequent zypper dup sessions that come with Tumbleweed are only one of the arguments.
    Last edited by hcvv; 06-Oct-2021 at 03:18.
    Henk van Velden

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •