Installed 1/2 year old SUSE tumbleweed, then "zypper up", now no graphical login possible
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
Installed 1/2 year old SUSE tumbleweed, then "zypper up", now no graphical login possible
Well, topic says about all. Install went with no problems, update changed 1900+ files. Boot stops on the console where ususally the graphical mode is started, I can (there) login in the console. "startx" gives an error. "dmesg" shows no errors. Where to look?
<edit> Come to think of it, seems sddm is not starting. How to revive? </edit>
First, what is your hardware. You have more than one computer listed. What is the graphics card? May be that the correct driver isn't loading. "lsmod" will show you the loaded drivers and what they are used by.
Second, you said there was an error after running "startx". What is the error output? You are running "startx" as root?
Assuming that "x" is running, although it probably isn't, have you tried running "sddm" or "kdm" directly from the command line? That may give hints.
What repositories do you use?
Just to be clear, did you run "zypper up" or "zypper dup"? I ask because 1900 packages seems like a lot unless you haven't upgraded in a long time.
I would assume that the kernel was among the long list of updates. openSUSE's standard policy is to save the old kernel to boot from in case the newer one breaks something. Have you tried using the grub2 menu to select the older kernel?
Just to make sure that the update went correctly, you could try "zypper verify".
More information will likely bring better answers.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Original Poster
Rep:
Quote:
Originally Posted by purevw
First, what is your hardware. You have more than one computer listed. What is the graphics card?
It's the PC with a msi graphic card (Radeon 7/360 etc.).
Quote:
Originally Posted by purevw
May be that the correct driver isn't loading. "lsmod" will show you the loaded drivers and what they are used by.
I'll reboot and then come back in a few minutes.
Quote:
Originally Posted by purevw
Second, you said there was an error after running "startx". What is the error output? You are running "startx" as root?
Running startx as root I get:
Code:
xauth: file /root/.serverauth.1998 does not exist
X: error while loading shared libraries: /usr/lib64/libfreetype.so.6 file too short
xinit: giving up
xinit: unable to connect to the X-server: connection refused
xinit: failed. /usr/bin/Xorg is not setuid. Maybe that's the reason?
If so, either use a display manager (strongly recommended) or adjust
/etc/permissions.local and run chkstat --system --set afterwards.
I chmod'ed /usr/bin/Xorg to setuid and retried starx -- no joy.
Quote:
Originally Posted by purevw
Assuming that "x" is running, although it probably isn't, have you tried running "sddm" or "kdm" directly from the command line? That may give hints.
I tried sddm. No reaction at all.
Quote:
Originally Posted by purevw
What repositories do you use?
SUSE's defaults.
Quote:
Originally Posted by purevw
Just to be clear, did you run "zypper up" or "zypper dup"? I ask because 1900 packages seems like a lot unless you haven't upgraded in a long time.
"zypper up". As I wrote, the iso is an old download (of july 2015 I think). You get hundreds of updates even in a few days for tumbleweed.
Quote:
Originally Posted by purevw
I would assume that the kernel was among the long list of updates. openSUSE's standard policy is to save the old kernel to boot from in case the newer one breaks something. Have you tried using the grub2 menu to select the older kernel?
I'll have to look, be back shortly.
Quote:
Originally Posted by purevw
Just to make sure that the update went correctly, you could try "zypper verify".
I'll have to look, be back shortly.
Quote:
Originally Posted by purevw
More information will likely bring better answers.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Original Poster
Rep:
Okay, here comes the rest of the answers you wanted:
lsmod: about 90 entries, among them "radeon 1605632 1"
kdm: command not found
old kernel: not present in appropriate grub2 menu
zypper verify: error while loading shared libraries /usr/lib64/liblber-2.4.so.2 file too short
Due to the Linux kernel being updated very frequently, users who rely on proprietary graphic drivers should not use the Tumbleweed distribution unless they are familiar with updating these drivers from source on their own. See articles NVIDIA and ATI, section "The hard way", for how to do this if you are interested. Note that the additional Packman repositories are available for Tumbleweed!
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Original Poster
Rep:
Well, I had it downloaded and I wanted to save bandwith.
Are you meaning to say that the changes in packageing break the ability to update the system? Because that's what I did, installing a version a little older and updating it subsequently.
I gave up on Tumbleweed a couple of years ago because I much prefer the fglrx driver and it was a headache to have to rebuild it every time there was a kernel update. I suppose it all depends on how "cutting edge" you want to be and whether or not you are willing to put in the time and effort to keep it current. I currently run Leap and am quite satisfied with it.
Quote:
zypper verify: error while loading shared libraries /usr/lib64/liblber-2.4.so.2 file too short
That worries me. It is possible that zypper is broken, and that would truly be a serious problem. To test, I would just run "zypper refresh" and see if it completes without errors. After the refresh, assuming it completes, don't download anything just yet.
Thanks to John VV for the Tumbleweed Project link he posted. I'll add the link for the page with the install instructions:
The instructions seem easy enough to follow. I would make very sure that you follow everything in the order written, including removal of your existing repositories prior to adding the new ones. John VV might chime back in to offer an opinion as to whether or not to do a network upgrade to Leap before going back to the Tumbleweed project. My instinct would say "yes" just to get a stable base, but that could end up being large downloads followed by more large downloads. If zypper is truly broken on your system, then a network upgrade to Leap may be the only way to save your system.
Please note that if all goes well and you are able to get the new repositories set up, you should run "zypper dup", rather than "zypper up". It also recommends that you run "zypper dup" from a terminal login rather than a graphical interface, in case "X" crashes during the upgrade and kills zypper or Yast2.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Original Poster
Rep:
Ah, no, nothing changed: zypper verify: error while loading shared libraries /usr/lib64/liblber-2.4.so.2 file too short.
So, no chance to upgrade/update.
Just to make it plain: I installed tumbleweed using a tumbleweed-download in the first place. I did not touch any repositories. I ran zypper up. Then I was hip deep in ... where I am now.
I wanted to use tumbleweed, since both kmail5 and thunderbird are broken on Leap 42.1 (since months and I posted on bugzilla) but which I know to work both on my netbook on tumbleweed.
I guess I'll revert to 13.2 as my working horse (which worked beautifully prior to my experiments with the newer versions). It only lacks kmail5 which is so much improved over kmail4.
I'll download a newer version of tumbleweed and experiment further there. Seems we are in for a depression of performance again until SUSE gets its act pulled together again -- seems to happen every few years...
*sigh*
I wanted to use tumbleweed, since both kmail5 and thunderbird are broken on Leap 42.1 (since months and I posted on bugzilla) but which I know to work both on my netbook on tumbleweed.
I have used Thunderbird forever and never encountered a bug in Leap. Do you have the bugzilla bug number? I would be interested in seeing what this bug is all about.
Quote:
Just to make it plain: I installed tumbleweed using a tumbleweed-download in the first place. I did not touch any repositories. I ran zypper up.
When you originally went to Tumbleweed, did you upgrade an existing openSUSE installation or did you do a fresh install? I personally recommend always doing a fresh install and also recommend deleting everything in your /home folder except for what you really need to keep such as documents and your e-mail (the .thunderbird folder). There are usually left over user config files from the original system in your /home that may cause future problems. To install any new version of openSUSE, I format the "/" partition, clean my "/home" without formatting, and then install the system. Please note that I always use a separate /home partition to avoid losing important documents.
If you are set on tumbleweed, I would follow the instructions on the installation page, linked above, to the letter. Install from the ISO (preferably the "network install ISO"), clean the repositories as instructed and add the Tumbleweed repositories, and then "zypper dup". Best of luck.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Original Poster
Rep:
Quote:
Originally Posted by purevw
I have used Thunderbird forever and never encountered a bug in Leap. Do you have the bugzilla bug number? I would be interested in seeing what this bug is all about.
I'll dig it up these days, right now I'm in a hurry.
Quote:
Originally Posted by purevw
When you originally went to Tumbleweed, did you upgrade an existing openSUSE installation or did you do a fresh install?
Fresh install on a newly re-partitioned and formatted disk / partition.
Quote:
Originally Posted by purevw
I ... recommend deleting everything in your /home folder except for what you really need to keep such as documents and your e-mail (the .thunderbird folder). There are usually left over user config files from the original system in your /home that may cause future problems.
I never had problems when staying with the same brand of distribution. E.g. openSUSE 12.3 - 13.1 - 13.3 - leap don't impede each other -- how else could upgrades work? It may be different when one adds e.g. fedora, mint ... but I always could set things right by deleting ~/.kde or analogs.
Quote:
Originally Posted by purevw
Please note that I always use a separate /home partition to avoid losing important documents.
So do I.
Quote:
Originally Posted by purevw
If you are set on tumbleweed, I would follow the instructions on the installation page, linked above, to the letter. Install from the ISO (preferably the "network install ISO"), clean the repositories as instructed and add the Tumbleweed repositories, and then "zypper dup". Best of luck.
Thanks, I'll shortly re-install a newly downloaded tumbleweed. This one seems to be not recoverable since zypper is broken.
Thanks for the link. The author of the linked post mentioned that gnome was running. It's apparently something that happens in Thunderbird under the gnome desktop environment? That may explain why I had no knowledge of it. I've always used KDE, or LXDE at times.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Original Poster
Rep:
Ahm, no. This is a misunderstanding. I installed Gnome parallel to KDE shortly before the crashes started, because some of the fonts are managed(?) by gnome/GTK. I wanted to have identical font sizes in all applications, so I installed Gnome. I'm using KDE practically exclusively. I mentioned this only for the maintainers as a possible source for the trouble.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.