Cannot run yast on a fresh install

On my fresh installation (xfc4) I am unable to run yast:


$ /sbin/yast2 
This application failed to start because it could not find or load the Qt platform plugin "xcb" in "".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Reinstalling the application may fix this problem.
/sbin/yast2: line 462:  6009 Aborted                 (core dumped) $y2ccbin $Y2UI_ARGS "$@"

You can probably still run the ncurses version of Yast.

At a root command line, use the command “yast”.

How did you install? You say that you installed “xfc4” which is not an install option. Perhaps that means XFCE, which is also not an install option. Usually, to install XFCE, one should select “Generic Desktop” and then add appropriate XFCE patterns. But “Generic Desktop” should already allow Yast to run.

Since you say this is a fresh install,
You probably didn’t install XFCE correctly…

I complained often in numerous places without response just prior to the 15.1 launch(bugzilla, these Forums) that for whatever reason the new install flow did not follow the superior and proper flow which was introduced when installing 15.0 using online repos approx Jan/Feb 2019… which would lead to likely problems installing any Desktop other than KDE or Gnome.

During the install,
On the page that allows you to choose your Desktop,
You should choose “Generic Desktop.”
Most or at least many people get this far.

But, in the 15.0 install,
When you choose “Generic Install”
You were then shown the YaST Software Install screen where you could select the Desktop pattern you wished (And you could choose XFCE here if you wished).
You’d continue to a successful install conclusion.

But, in the 15.1 install,
You’re not presented with the Software Install screen, this is skipped.
Instead,
when you reach the Installation Summary screen,
The User is supposed to magically know that you have to click on the “Software” link which displays the default page for the Software Installer,
Then click on the “Details” button in the bottom left of the screen
And then assuming that the Patterns screen displays you can choose your Desktop(else you’d have to select the Patterns view).

Got all that?
I wouldn’t expect a new User unfamiliar with the openSUSE install to divine how to do the above…

From your current situation,
You can try the following which attempts to force re-install your XFCE desktop…

zypper in -t pattern -f xfce

HTH,
TSU

Please post:

zypper lr -d
zypper se -si yast
zypper se -s libyui

BTW -
Following up on my previous post,

This is why you’ll find the peculiar order in my slide deck for openSUSE Newbies
The slide deck is based on a typical openSUSE installation and you’ll find the actual Desktop selection slides <after> the Installation Summary slide and not immediately after the “System Role” slide…

https://slides.com/tonysu/opensuse#

In fact,
I’d recommend a quick look at my slide deck by anyone new to openSUSE, it describes not only the install but recommended first steps after installation…

TSU

Thank you for the quick responses, slides, pointers and apologies for not providing enough information.

On installation, I did choose the “generic desktop” option and then selected the xfce option in software. I am guessing one just needs to install some additional package, but I have no idea which.

Please find the outputs from the commands requested by @Sauerland below:


$ zypper lr -d
#  | Alias                     | Name                               | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                      | Service
---+---------------------------+------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------+--------
 1 | openSUSE-Leap-15.1-1      | openSUSE-Leap-15.1-1               | No      | ----      | ----    |   99     | rpm-md | cd:/?devices=/dev/disk/by-id/ata-hp_DVDRW_SU208FB_S15P6YJFA01N48         |        
 2 | packman-essentials        | packman-essentials                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.1/Essentials               |        
 3 | packman-multimedia        | packman-essentials                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.1/Multimedia               |        
 4 | repo-debug                | Debug Repository                   | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.1/repo/oss/      |        
 5 | repo-debug-non-oss        | Debug Repository (Non-OSS)         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.1/repo/non-oss/  |        
 6 | repo-debug-update         | Update Repository (Debug)          | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.1/oss/                 |        
 7 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.1/non-oss/             |        
 8 | repo-non-oss              | Non-OSS Repository                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/        |        
 9 | repo-oss                  | Main Repository                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/oss/            |        
10 | repo-source               | Source Repository                  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.1/repo/oss/     |        
11 | repo-source-non-oss       | Source Repository (Non-OSS)        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.1/repo/non-oss/ |        
12 | repo-update               | Main Update Repository             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.1/oss                        |        
13 | repo-update-non-oss       | Update Repository (Non-Oss)        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.1/non-oss/                   |        

$ zypper se -si yast
Loading repository data...
Reading installed packages...

S  | Name                         | Type    | Version                             | Arch   | Repository            
---+------------------------------+---------+-------------------------------------+--------+-----------------------
i+ | autoyast2-installation       | package | 4.1.6-lp151.1.1                     | noarch | Main Repository       
i+ | patterns-yast-x11_yast       | package | 20190409-lp151.1.1                  | x86_64 | Main Repository       
i+ | patterns-yast-yast2_basis    | package | 20190409-lp151.1.1                  | x86_64 | Main Repository       
i+ | yast2                        | package | 4.1.72-lp151.2.7.1                  | x86_64 | Main Update Repository
i+ | yast2-add-on                 | package | 4.1.13-lp151.2.10.1                 | noarch | Main Update Repository
i  | yast2-alternatives           | package | 4.0.0-lp151.2.2                     | x86_64 | Main Repository       
i+ | yast2-apparmor               | package | 4.1.7-lp151.1.1                     | noarch | Main Repository       
i+ | yast2-auth-client            | package | 4.1.1-lp151.1.1                     | noarch | Main Repository       
i+ | yast2-auth-server            | package | 4.1.0-lp151.1.1                     | noarch | Main Repository       
i+ | yast2-bootloader             | package | 4.1.24-lp151.1.1                    | x86_64 | Main Repository       
i+ | yast2-control-center         | package | 4.1.7-lp151.1.2                     | x86_64 | Main Repository       
i+ | yast2-control-center-qt      | package | 4.1.7-lp151.1.2                     | x86_64 | Main Repository       
i  | yast2-core                   | package | 4.1.0-lp151.1.5                     | x86_64 | Main Repository       
i+ | yast2-country                | package | 4.1.13-lp151.2.3.1                  | x86_64 | Main Update Repository
i  | yast2-country-data           | package | 4.1.13-lp151.2.3.1                  | x86_64 | Main Update Repository
i+ | yast2-firewall               | package | 4.1.12-lp151.1.1                    | noarch | Main Repository       
i  | yast2-hardware-detection     | package | 4.1.0-lp151.1.1                     | x86_64 | Main Repository       
i+ | yast2-installation           | package | 4.1.46-lp151.2.3.1                  | noarch | Main Update Repository
i+ | yast2-iscsi-client           | package | 4.1.7-lp151.1.1                     | noarch | Main Repository       
i+ | yast2-journal                | package | 4.1.5-lp151.1.1                     | noarch | Main Repository       
i+ | yast2-ldap                   | package | 4.1.0-lp151.1.1                     | x86_64 | Main Repository       
i  | yast2-logs                   | package | 4.1.72-lp151.2.7.1                  | x86_64 | Main Update Repository
i+ | yast2-mail                   | package | 4.1.0-lp151.1.1                     | noarch | Main Repository       
i+ | yast2-metapackage-handler    | package | 4.1.0-lp151.1.1                     | noarch | Main Repository       
i+ | yast2-network                | package | 4.1.51-lp151.2.3.1                  | noarch | Main Update Repository
i+ | yast2-nfs-client             | package | 4.1.5-lp151.1.1                     | noarch | Main Repository       
i  | yast2-nfs-common             | package | 4.1.0-lp151.1.1                     | noarch | Main Repository       
i+ | yast2-nis-client             | package | 4.1.1-lp151.1.1                     | x86_64 | Main Repository       
i+ | yast2-ntp-client             | package | 4.1.9-lp151.2.3.1                   | noarch | Main Update Repository
i+ | yast2-online-update          | package | 4.1.0-lp151.1.1                     | noarch | Main Repository       
i+ | yast2-online-update-frontend | package | 4.1.0-lp151.1.1                     | noarch | Main Repository       
i+ | yast2-packager               | package | 4.1.47-lp151.2.3.1                  | x86_64 | Main Update Repository
i+ | yast2-pam                    | package | 4.1.0-lp151.1.1                     | noarch | Main Repository       
i  | yast2-perl-bindings          | package | 4.1.0-lp151.1.1                     | x86_64 | Main Repository       
i  | yast2-pkg-bindings           | package | 4.1.2-lp151.1.1                     | x86_64 | Main Repository       
i+ | yast2-printer                | package | 4.1.1-lp151.1.1                     | x86_64 | Main Repository       
i+ | yast2-proxy                  | package | 4.1.0-lp151.1.1                     | noarch | Main Repository       
i  | yast2-python3-bindings       | package | 4.1.0-lp151.1.1                     | x86_64 | Main Repository       
i  | yast2-qt-branding-openSUSE   | package | 15.1-lp151.2.2                      | noarch | Main Repository       
i  | yast2-ruby-bindings          | package | 4.1.4-lp151.1.1                     | x86_64 | Main Repository       
i+ | yast2-samba-client           | package | 4.1.2-lp151.1.1                     | noarch | Main Repository       
i+ | yast2-samba-server           | package | 4.1.3-lp151.1.1                     | noarch | Main Repository       
i+ | yast2-scanner                | package | 4.1.0-lp151.1.1                     | x86_64 | Main Repository       
i+ | yast2-security               | package | 4.1.2-lp151.1.1                     | noarch | Main Repository       
i+ | yast2-services-manager       | package | 4.1.14-lp151.1.1                    | noarch | Main Repository       
i+ | yast2-slp                    | package | 4.1.0-lp151.1.1                     | x86_64 | Main Repository       
i+ | yast2-sound                  | package | 4.1.1-lp151.1.9                     | x86_64 | Main Repository       
i+ | yast2-storage-ng             | package | 4.1.85-lp151.2.6.1                  | x86_64 | Main Update Repository
i+ | yast2-sudo                   | package | 4.1.0-lp151.1.1                     | noarch | Main Repository       
i+ | yast2-support                | package | 4.1.1-lp151.2.3.1                   | noarch | Main Update Repository
i+ | yast2-sysconfig              | package | 4.1.2-lp151.1.1                     | noarch | Main Repository       
i+ | yast2-tftp-server            | package | 4.1.7-lp151.1.1                     | noarch | Main Repository       
i  | yast2-theme                  | package | 4.2.0-lp151.1.1                     | noarch | Main Repository       
i  | yast2-trans-en               | package | 84.87.20190511.bc4a9329cc-lp151.1.1 | noarch | Main Repository       
i  | yast2-trans-en_US            | package | 84.87.20190511.bc4a9329cc-lp151.1.1 | noarch | Main Repository       
i  | yast2-trans-en_US            | package | 84.87.20190511.bc4a9329cc-lp151.1.1 | noarch | Main Repository       
i  | yast2-trans-stats            | package | 2.19.0-lp151.2.1                    | noarch | Main Repository       
i  | yast2-transfer               | package | 4.1.0-lp151.1.1                     | x86_64 | Main Repository       
i+ | yast2-tune                   | package | 4.1.0-lp151.1.1                     | x86_64 | Main Repository       
i+ | yast2-update                 | package | 4.1.10-lp151.2.3.1                  | x86_64 | Main Update Repository
i+ | yast2-users                  | package | 4.1.13-lp151.2.3.1                  | x86_64 | Main Update Repository
i+ | yast2-vpn                    | package | 4.1.0-lp151.1.1                     | noarch | Main Repository       
i  | yast2-x11                    | package | 4.1.0-lp151.1.1                     | x86_64 | Main Repository       
i  | yast2-xml                    | package | 4.1.0-lp151.1.1                     | x86_64 | Main Repository       
i  | yast2-ycp-ui-bindings        | package | 4.1.0-lp151.1.4                     | x86_64 | Main Repository       
i  | yast2_basis                  | pattern | 20190409-lp151.1.1                  | x86_64 | Main Repository       

$ zypper se -s libyui
Loading repository data...
Reading installed packages...

S | Name                            | Type    | Version           | Arch   | Repository     
--+---------------------------------+---------+-------------------+--------+----------------
  | libyui-devel                    | package | 3.4.2-lp151.1.2   | x86_64 | Main Repository
  | libyui-doc                      | package | 3.4.2-lp151.1.1   | noarch | Main Repository
  | libyui-ncurses-devel            | package | 2.50.4-lp151.1.1  | x86_64 | Main Repository
  | libyui-ncurses-doc              | package | 2.50.4-lp151.1.1  | noarch | Main Repository
  | libyui-ncurses-pkg-devel        | package | 2.48.9-lp151.1.4  | x86_64 | Main Repository
  | libyui-ncurses-pkg-doc          | package | 2.48.9-lp151.1.1  | noarch | Main Repository
i | libyui-ncurses-pkg9             | package | 2.48.9-lp151.1.4  | x86_64 | Main Repository
  | libyui-ncurses-tools            | package | 2.50.4-lp151.1.1  | x86_64 | Main Repository
i | libyui-ncurses9                 | package | 2.50.4-lp151.1.1  | x86_64 | Main Repository
  | libyui-qt-devel                 | package | 2.49.16-lp151.1.1 | x86_64 | Main Repository
  | libyui-qt-doc                   | package | 2.49.16-lp151.1.1 | noarch | Main Repository
  | libyui-qt-graph-devel           | package | 2.44.9-lp151.1.3  | x86_64 | Main Repository
  | libyui-qt-graph-doc             | package | 2.44.9-lp151.1.1  | noarch | Main Repository
i | libyui-qt-graph9                | package | 2.44.9-lp151.1.3  | x86_64 | Main Repository
  | libyui-qt-pkg-devel             | package | 2.45.27-lp151.1.1 | x86_64 | Main Repository
  | libyui-qt-pkg-doc               | package | 2.45.27-lp151.1.1 | noarch | Main Repository
i | libyui-qt-pkg9                  | package | 2.45.27-lp151.1.1 | x86_64 | Main Repository
i | libyui-qt9                      | package | 2.49.16-lp151.1.1 | x86_64 | Main Repository
i | libyui9                         | package | 3.4.2-lp151.1.2   | x86_64 | Main Repository
  | ruby2.5-rubygem-libyui-rake     | package | 0.1.14-lp151.1.1  | x86_64 | Main Repository
  | ruby2.5-rubygem-libyui-rake-doc | package | 0.1.14-lp151.1.1  | x86_64 | Main Repository

Using strace, I found a solution: the last library loaded was /usr/lib64/qt5/plugins/platforms/libqxcb.so and ldd revealed that libxcb-icccm.so.4 was not missing. Running zypper in libxcb-icccm4 did the trick.

Is there a way to mark this thread as resolved?

Not realy. The fact that you explain you are satisfied (as you did) is enough.

It helps to see if a thread has been resolved when searching for solutions to problems. Don’t take this as a critique, just a suggestion, the user support in this forum has been great. Thank you.