How to install KDE from offline sources?

Hello! I have a Leap 15.6 server that got it’s terminal bonked (see https://forums.opensuse.org/t/garbled-text-after-boot/188491) so I’m trying to save it by accessing via GUI (not sure if it’s a good idea but worth a shot)

I spun up a Leap VM, and ran zypper in -d -t pattern kde kde_plasma then I copied all the contents of /var/cache/zypp/packages to a pendrive and copied it my bonked server.

On the server, I went to /var/cache/zypp/packages/openSUSE-Leap-15.6-1/noarch and ran zypper in patterns-kde* but when I reboot the machine, don’t get a login screen.
Since I never used a GUI on Linux, not sure how this deal works. Do I have to edit the file /etc/sysconfig/displaymanager and set DISPLAYMANAGER=“sddm” ?

And what do you get?

1 Like

Will be set with:

update-alternatives --config default-displaymanager
1 Like

Sorry! I get this:

Thank you! Will try this and report back. Thanks!

Don’t have that option, only update-alternatives --config default-xession.desktop which errors out saying there is only one alternative.

It’s no problem to install a second or third Displaymanager and get them working with the command.

linux64:/home/stephan # LANG=C update-alternatives --config default-displaymanager 
There are 5 choices for the alternative default-displaymanager (providing /usr/lib/X11/displaymanagers/default-displaymanager).

  Selection    Path                                  Priority   Status
------------------------------------------------------------
* 0            /usr/lib/X11/displaymanagers/sddm      25        auto mode
  1            /usr/lib/X11/displaymanagers/console   5         manual mode
  2            /usr/lib/X11/displaymanagers/gdm       25        manual mode
  3            /usr/lib/X11/displaymanagers/lightdm   15        manual mode
  4            /usr/lib/X11/displaymanagers/sddm      25        manual mode
  5            /usr/lib/X11/displaymanagers/xdm       10        manual mode

Press <enter> to keep the current choice[*], or type selection number: 
linux64:/home/stephan # 

Does X11get installed when I install KDE? I think I’m missing that. Since the server I want to install the GUI on has no internet access, all I could do was downloading the KDE pattern with Yast on a VM with internet access, and installing them on the server with no internet access.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.