<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 5 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-GB link=blue vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Did the kernel upgrade at the same time? Did you try booting into the older kernel and still get the problem? I have had something similar and I needed to add a boot flag, correctly boot and then update again but it’s tough to say without access. You’re able to login? So you can see a GUI at a login? </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I know this is not the time to say such a thing as it’s of no help to you now but it’s also a great place to plug using Btrfs and snapshots, you can have it automatically snapshot whenever you do a package manager command, if you destroy it, you can boot to the old snapshot. I recently did this while playing around with new wayland settings, destroyed it, couldn’t boot, went back to the last snapshot (taken automatically when I updated a wayland package) and I was back in the game. (running Arch)</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>From: </b><a href="mailto:kevin@indigospring.co.uk">Kevin Davidson</a><br><b>Sent: </b>20 September 2022 22:26<br><b>To: </b><a href="mailto:edlug@mailman.lug.org.uk">Edinburgh Linux Users Group</a><br><b>Subject: </b>Re: [EdLUG] Kubuntu Desktop broken after 'apt-get dist-upgrade'</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I think I missed the beginning of this, but if I were troubleshooting this, the first thing I'd try is to log in as a different user and see if you still have the problem, Create another temporary user account if you need to. If that works, then it’s not the software installation that’s the problem, it’s the configuration. Start looking through all the dot files and see what’s different between the config that works and the one that doesn’t. The .xsession-errors file ought to be a useful log of what went wrong.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Kevin<o:p></o:p></p><div><p class=MsoNormal><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>On 20 Sep 2022, at 21:54, Alistair <<a href="mailto:alistair@archerry.plus.com">alistair@archerry.plus.com</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>I am still struggling to understand how to recover the desktop in a refined manner.<br><br>Some of the sites I have found discuss re-installing the display manager and/or window manager and/or the desktop environment, but non of them mention kde plasma explicitly.<br>(I see the kde plasma logo and spinning cog wheel when I issue the 'startx' command. It just stops at a black screen.)<br><br>Taking a "blunderbuss" approach, I have looked at simply re-installing the kubuntu desktop. <br>Is this an acceptable approach? Or are there further questions I can ask to establish the system state and what needs fixing?<br><br>Using the simulation option of apt-get, I can compare what will be installed / re-installed on the system compared to another working setup:<br>Broken T480:<br>'sudo apt-get install -s --reinstall kubuntu-desktop<br><br>Reading package lists...<br>Building dependency tree...<br>Reading state information...<br>The following additional packages will be installed:<br> fonts-noto-unhinted haveged ibus-data kde-style-oxygen-qt5 kgamma5<br> kubuntu-settings-desktop libhavege2 libibus-1.0-5 liboxygenstyle5-5<br> liboxygenstyleconfig5-5 libscim8v5 libxcb-record0 plasma-desktop<br> plasma-desktop-data plasma-thunderbolt plasma-widgets-addons sddm<br> sddm-theme-breeze<br>Suggested packages:<br> ibus quota<br>The following NEW packages will be installed<br> fonts-noto-unhinted haveged ibus-data kde-style-oxygen-qt5 kgamma5<br> kubuntu-desktop kubuntu-settings-desktop libhavege2 libibus-1.0-5<br> liboxygenstyle5-5 liboxygenstyleconfig5-5 libscim8v5 libxcb-record0<br> plasma-desktop plasma-desktop-data plasma-thunderbolt plasma-widgets-addons<br> sddm sddm-theme-breeze<br>0 to upgrade, 19 to newly install, 0 to remove and 67 not to upgrade.'<br><br>Working T450:<br>'sudo apt-get install -s --reinstall kubuntu-desktop<br><br>Reading package lists... Done<br>Building dependency tree       <br>Reading state information... Done<br>0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 0 not to upgrade.<br>Inst kubuntu-desktop [1.398] (1.398 Ubuntu:20.04/focal [amd64])<br>Conf kubuntu-desktop (1.398 Ubuntu:20.04/focal [amd64])'<br><br>Regards,<br>Alistair<br><br>On Tuesday, 13 September 2022 21:10:09 BST Ken Robson wrote:<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>OK my bad .Xauthority is right one.<br><br><span style='font-family:"Cambria Math",serif'>⁣</span>Ken<br><br>Get BlueMail for Android ​<br><br>On 13 Sep 2022, 19:11, at 19:11, Alistair <<a href="mailto:alistair@archerry.plus.com">alistair@archerry.plus.com</a>> wrote:<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>Ken,<br>Thanks for the suggestion.<br>I cannot find a file called .xauth.<br>In the /home/alistair/ folder are the files:<br>.Xauthority and .xsession-errors.<br>I have 'rsync' these, and the output of 'dmesg' to another box so that<br>I may view them more easily.<br>What clues should I look for in these, or other files ?<br><br>Regards,<br>Alistair<br><br>On Tuesday, 13 September 2022 18:15:05 BST Ken Robson wrote:<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>I had a similar issue a few years ago. <br>Try renaming the ~/.xauth file (sudo mv ~/.xauth ~/xauth) and see if<o:p></o:p></p></blockquote><p class=MsoNormal>x will load then.<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><br><span style='font-family:"Cambria Math",serif'>⁣</span>Ken<br><br>Get BlueMail for Android ​<br><br>On 13 Sep 2022, 17:56, at 17:56, Alistair<o:p></o:p></p></blockquote><p class=MsoNormal><<a href="mailto:alistair@archerry.plus.com">alistair@archerry.plus.com</a>> wrote:<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>azmodie,<br><br>Thanks for the prompt reply.<br><br>"sudo dpkg --configure -a"<br>Reports no actions.<br><br>"sudo apt-get update", followed by <br>"sudo apt-get dist-upgrade" or "sudo apt-get install -f":<br>Both Reports<br>"0 to upgrade 0 to newly install 0 to remove and 13 not to upgrade"<br><br>So I need to dig deeper...<br><br>Regards,<br><br>Alistair<br><br><br>On Tuesday, 13 September 2022 15:26:18 BST azmodie wrote:<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>Hi Alistar,<br><br>I'd try the usual recovery commands.<br><br>sudo apt-get update<br>sudo apt-get upgrade<br><br>You may need to run<br><br>sudo dpkg --configure -a<br><br>or<br><br>sudo apt-get install -f<br><br>Regards,<br>azmodie<br><br><br>--<br><a href="http://gplus.to/azmodie">http://gplus.to/azmodie</a><br>"Since light travels faster than sound, people appear bright until<o:p></o:p></p></blockquote><p class=MsoNormal>you hear<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>them speak."  -- some bright spark<br><br><br>On Tue, 13 Sept 2022 at 14:23, Alistair<o:p></o:p></p></blockquote></blockquote></blockquote><p class=MsoNormal><<a href="mailto:alistair@archerry.plus.com">alistair@archerry.plus.com</a>><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>wrote:<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>Last week I updated my Thinkpad T480 (running Kubuntu 22.04)<o:p></o:p></p></blockquote></blockquote></blockquote></blockquote><p class=MsoNormal>using<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>the<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>command line. During the process the laptop crashed, and I am no<o:p></o:p></p></blockquote></blockquote><p class=MsoNormal>longer<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>able to access the desktop.<br>I can login to console after boot up, but when I try to start<o:p></o:p></p></blockquote></blockquote></blockquote></blockquote><p class=MsoNormal>the<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>desktop<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>with 'startx' I get a black screen. To get there it asks for a<o:p></o:p></p></blockquote></blockquote><p class=MsoNormal>Kwallet<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>password - (never previously used) and a wireless network<o:p></o:p></p></blockquote></blockquote></blockquote></blockquote><p class=MsoNormal>password.<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>The<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>mouse pointer is a black arrow  with a white outline, which does<o:p></o:p></p></blockquote></blockquote><p class=MsoNormal>follow<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>movements of the trackpad but does not respond to right or left<o:p></o:p></p></blockquote></blockquote><p class=MsoNormal>buttons.<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><br>I tried  'apt-get dist-upgrade' with the '-f' option to no<o:p></o:p></p></blockquote></blockquote></blockquote></blockquote><p class=MsoNormal>avail.<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><br>I think it stated that several packages would be held back<o:p></o:p></p></blockquote></blockquote></blockquote></blockquote><p class=MsoNormal>before<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>the<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>update. I booted into recovery mode, ran 'fsck', 'clean',<o:p></o:p></p></blockquote></blockquote></blockquote></blockquote><p class=MsoNormal>enabled<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>network,<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>then ran 'dpkg' which updated 41 packages, but still no proper<o:p></o:p></p></blockquote></blockquote><p class=MsoNormal>desktop.<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><br>How do I confirm the current state of the system, and then<o:p></o:p></p></blockquote></blockquote></blockquote></blockquote><p class=MsoNormal>recover<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>/<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal style='margin-bottom:12.0pt'>repair the Kubuntu desktop?<br><br>Regards,<br><br>Alistair<br><br><br><br>--<br>EdLUG mailing list<br><a href="mailto:EdLUG@mailman.lug.org.uk">EdLUG@mailman.lug.org.uk</a><br>https://lists.edlug.org.uk/mailman/listinfo/edlug<o:p></o:p></p></blockquote><p class=MsoNormal><o:p> </o:p></p></blockquote><p class=MsoNormal style='margin-bottom:12.0pt'><br><br><br><br><o:p></o:p></p></blockquote><p class=MsoNormal><o:p> </o:p></p></blockquote><p class=MsoNormal style='margin-bottom:12.0pt'><br><br><br><br><o:p></o:p></p></blockquote><p class=MsoNormal><o:p> </o:p></p></blockquote><p class=MsoNormal><br><br><br><br><br>-- <br>EdLUG mailing list<br><a href="mailto:EdLUG@mailman.lug.org.uk">EdLUG@mailman.lug.org.uk</a><br>https://lists.edlug.org.uk/mailman/listinfo/edlug<o:p></o:p></p></div></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><div><div><div><div><div><div><p class=MsoNormal><span class=apple-style-span><b><span style='font-size:13.5pt;font-family:"Helvetica",sans-serif;color:#80689E'>Kevin Davidson</span></b></span><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black'><o:p></o:p></span></p></div></div></div></div></div><p class=MsoNormal><span class=apple-style-span><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black'>Apple Certified System Administrator</span></span><span style='font-family:"Helvetica",sans-serif;color:black'><o:p></o:p></span></p><div><p class=MsoNormal><span class=apple-style-span><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black'>Director</span><o:p></o:p></span></p><div><div><div><div><div><p class=MsoNormal><span style='font-size:9.0pt'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span class=apple-style-span><b><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#80689E'>t</span></b></span><span class=apple-style-span><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#80689E'> </span></span><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black'>01506 668674<o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-style-span><b><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#80689E'>m</span></b></span><span class=apple-style-span><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#80689E'> </span></span><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black'>07813 149620<o:p></o:p></span></p></div><div><p class=MsoNormal><span class=apple-style-span><b><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#80689E'>w</span></b></span><span class=apple-style-span><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#80689E'> </span></span><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black'><a href="http://www.indigospring.co.uk">www.indigospring.co.uk</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div></div></div><p class=MsoNormal><span style='font-family:"Helvetica",sans-serif;color:black'>indigospring (Scotland) Ltd<br>Registered in Scotland No. SC398572<br>Registered office: 272 Bath Street, Glasgow, G2 4JR<br><br>Follow us on Twitter - <a href="http://twitter.com/indigospringIT">twitter.com/indigospringIT</a><br>Members of the Apple Consultants Network - <a href="http://consultants.apple.com/uk">consultants.apple.com/uk</a></span><span class=apple-style-span><o:p></o:p></span></p><div><div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black'><a href="http://www.indigospring.co.uk/terms-and-conditions">http://www.indigospring.co.uk/terms-and-conditions</a><o:p></o:p></span></p></div></div></div></div><p class=MsoNormal><span style='font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div></div><p class=MsoNormal><span style='font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>