Results 1 to 9 of 9

Thread: Fresh 13.1: Yast / Qt problem

  1. #1

    Default Fresh 13.1: Yast / Qt problem

    Hi all !

    I just made a fresh install of openSUSE 13.1 64bit, with KDE,
    on Fujitsu-Siemens Esprimo (Pentium Dual-Core E5200,
    intel onboard graphics).

    In the software section of the installer I removed the entries
    for libreoffice and the games.

    If I click the icon for YAST in the SUSE-menu, it pops up the password box but then after correct entry, nothing happens.

    I opened a terminal, became root using su, and

    Code:
    myHost:/ # /sbin/yast2
    I only get YaST in text mode.
    OK, at least something ...

    I could check that the openssl library is the one fixed for the heartbleed bug
    (the lib of Apr.8 2014).

    When I left text-based yast, in the terminal I got

    Code:
    myHost:/ # /sbin/yast2
    Qt GUI wanted but not found, falling back to ncurses.
    myHost:/ #
    Entering text-based yast again, I saw that the package 'libqt4' is installed,
    as well as package 'libqt4-qt3support'.

    What is wrong?

    Many thanks
    Mike

  2. #2

    Default AW: Fresh 13.1: Yast / Qt problem

    Quote Originally Posted by ratzi View Post
    I opened a terminal, became root using su, and
    If you use "su" to switch to root, yast might not find the correct X display and may start in ncurses mode because of that.
    Try "su -" (notice the '-') to switch to root.

    Code:
    myHost:/ # /sbin/yast2
    Qt GUI wanted but not found, falling back to ncurses.
    myHost:/ #
    Entering text-based yast again, I saw that the package 'libqt4' is installed,
    as well as package 'libqt4-qt3support'.

    What is wrong?
    libqt4 alone is not enough for YaST-Qt.
    You need "libyui-qt5" and "libyui-qt-pkg5" as well, and "yast2-control-center-qt" of course.
    Last edited by wolfi323; 15-Apr-2014 at 12:52.

  3. #3

    Default Re: AW: Fresh 13.1: Yast / Qt problem

    Hi wolfi323 !

    Thank you for your reply !

    Quote Originally Posted by wolfi323 View Post
    If you use "su" to switch to root, yast might not find the correct X display and may start in ncurses mode because of that.
    Try "su -" (notice the '-') to switch to root.
    Entering 'su -' (with the '-') in the terminal I end up with the same results:
    YaST in text-based mode.

    Quote Originally Posted by wolfi323 View Post
    libqt4 alone is not enough for YaST-Qt.
    You need "libyui-qt5" and "libyui-qt-pkg5" as well, and "yast2-control-center-qt" of course.
    Installed these two.

    Hey, it works !

    Thank you very much !
    Mike

  4. #4

    Default Re: AW: Fresh 13.1: Yast / Qt problem

    Quote Originally Posted by ratzi View Post
    Installed these two.
    I was talking about "libyui-qt5" and "libyui-qt-pkg5".

    "yast2-control-center-qt" insn't installed.

    But "yast2-control-center-qt3" is.

    Thanks again !
    Mike

  5. #5

    Default Re: Fresh 13.1: Yast / Qt problem

    Quote Originally Posted by ratzi View Post
    "yast2-control-center-qt" insn't installed.

    But "yast2-control-center-qt3" is.
    "yast2-control-center-qt3" uses qt3 as the name implies, not libqt4. It's mainly there for KDE3 users.

    But this only affects yast-control-center, which is the overview window where you can click on the specific module to run.

  6. #6

    Default Re: Fresh 13.1: Yast / Qt problem

    Quote Originally Posted by wolfi323 View Post
    "yast2-control-center-qt3" uses qt3 as the name implies, not libqt4. It's mainly there for KDE3 users.

    But this only affects yast-control-center, which is the overview window where you can click on the specific module to run.
    Hmm...
    Besides KDE4 I have 'kdebase3-session' installed.
    Perhaps that's the reason that it works for me without "yast2-control-center-qt" ?

  7. #7

    Default Re: Fresh 13.1: Yast / Qt problem

    Quote Originally Posted by ratzi View Post
    Hmm...
    Besides KDE4 I have 'kdebase3-session' installed.
    Perhaps that's the reason that it works for me without "yast2-control-center-qt" ?
    No.
    kdebase3-session is just for listing the KDE3 session on the login screen.

    I get the Qt3 Control Center here as well when installing "yast2-control-center-qt3" even though I do _not_ have kdebase3-session installed.

    I would suggest to install "yast2-control-center-qt" instead, especially if you are using KDE4 anyway.
    All the YaST modules do use libqt4 regardless of which yast2-control-center you have installed. At the moment only your main YaST window uses the KDE3 style/look.

    That Qt3 version is only available from the KDE3 repo anyway, and is still at version 2.17.3, whereas all the rest of YaST including yast2-control-center-qt is at version 3.x already (with all the modules translated to ruby).
    Last edited by wolfi323; 15-Apr-2014 at 14:47.

  8. #8

    Default Re: Fresh 13.1: Yast / Qt problem

    Quote Originally Posted by wolfi323 View Post
    No.
    kdebase3-session is just for listing the KDE3 session on the login screen.
    Hmm...
    There are more packages installed than only this one if one chooses it.

    Quote Originally Posted by wolfi323 View Post
    I get the Qt3 Control Center here as well when installing "yast2-control-center-qt3" even though I do _not_ have kdebase3-session installed.

    I would suggest to install "yast2-control-center-qt" instead, especially if you are using KDE4 anyway.
    I'm not always using KDE4.

    Quote Originally Posted by wolfi323 View Post
    All the YaST modules do use libqt4 regardless of which yast2-control-center you have installed. At the moment only your main YaST window uses the KDE3 style/look.

    That Qt3 version is only available from the KDE3 repo anyway, and is still at version 2.17.3, whereas all the rest of YaST including yast2-control-center-qt is at version 3.x already (with all the modules translated to ruby).
    Yes, I have the KDE3 repo active

    OK.
    Trying to install "yast2-control-center-qt" gives Warning (have to type it, no copy&paste):

    'installed yast2-control-center-qt3-2.17.3-9.3.x86_64 obsoletes yast2-control-center-qt provided by yast2-control-center-qt-3.0.0-2.1.3.x86_64.....'

    For 'Conflict Resolution' I now choose 'deinstallation of yast2-control-center-qt3-2.17.3-9.3.x86_64'.

    Did it.

    YaST's graphical interface runs fine again.

    Thanks again !
    Mike

  9. #9

    Default Re: Fresh 13.1: Yast / Qt problem

    Quote Originally Posted by ratzi View Post
    Hmm...
    There are more packages installed than only this one if one chooses it.
    Of course, you need more KDE3 packages than just this one to run KDE3, or even install KDE3 applications.

    Btw, the reason why you the Qt3 version ran even on KDE4 is that yast2-control-center-qt and yast2-control-center-qt3 contain the same program file /usr/lib/YaST2/bin/y2controlcenter. (that's also the reason why you cannot install both at the same time)
    Of course in one case it's the old unmaintained qt3 version, in the other case the current qt4 version.

    When you run YaST on KDE (3 or 4), it just tries to run /usr/lib/YaST2/bin/y2controlcenter (or /usr/lib/YaST2/bin/y2controlcenter-gnome on GNOME), and falls back to the other one or the ncurses version if that fails.

    /sbin/yast2 is just a shell script btw, so you can have a look yourself if you want to.

Posting Permissions

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