[10:37] <avro> Hello I need help
[10:38] <guiverc> avro, ask your Lubuntu support question, people will answer as they're able to
[10:38] <avro> I have installed Lubuntu on an old laptop, it goes to sleep every minute or so
[10:39] <avro> It's a fresh install
[10:39] <guiverc> you haven't said what release
[10:39] <avro> Lts
[10:40] <avro> I am from phone now
[10:41] <avro> What can I do to troubleshoot?
[10:41] <guiverc> 20.04 LTS?
[10:41] <avro> Yes
 Boot without acpi? (re @lubuntu_bot: (irc) <avro> What can I do to troubleshoot?)
 Show us dmesg?
[10:41] <avro> How to do it?
[10:42] <avro> Dmesg thing
[10:43] <guiverc> I would firstly test the hardware; ie. run the system from live media to ensure the box is reliable... run memory test for a day or two for example.. does it shutdown/sleep if asked to run memtest...  
 Run dmesg in shell, redirect output and upload on gist.github.com
[10:44] <avro> I could install from the USB no problem
[10:47] <avro> Screen saver shows up
[10:48] <avro> And it goes to sleep
[10:52] <guiverc> just a thought - but i had a thinkpad with fan issue.. if it got too hot it would turn off; screensaver tended to cause heat to grow, so disabling it would delay heat issue (fix was replacing fan)
[10:52] <avro> During memtest its okay
[10:52] <avro> No sleep
[10:53] <avro> It's been 4 minutes now
[10:53] <guiverc> switching from default flurry to blank screen may also help... memtest I suggested was for day or so - confirm box is reliable over time; not just a single cycle or two.. but 12-48 hours
[10:54] <avro> It is reliable
[10:54] <avro> It's my old laptop
[10:55] <guiverc> as emergencyrussia made offer to help; I'd take that up.. I said what I'd likely do (I usually run 2-3 days just to prove box is reliable usually)
[10:56] <avro> I tried to disable screen saver in power options, it didn't work
[10:57] <guiverc> it's not in power; https://manual.lubuntu.me/lts/3/3.2/3.2.20/screensaver.html
[11:01] <tomreyn> so the problem you seem to describe is that this laptop which runs lubuntu 20.04 LTS, boots up fine, then, only when you do not use it for a minute or two, the screensaver turns on. and, immediately after that, the system goes to sleep. what exactly do you mean by "sleep"? is it still powered up then? what are the power saving options set to? is this a new issue, when it worked fine before? if so, what changed in between? if not, how long have 
[11:01] <tomreyn> you had it happen?
[11:03] <itu> dmesg | nc termbin.com 9999    #  then paste the url   
[11:12] <avro> I tried to run dmesg
[11:13] <avro> It says acpi found 3 idle states
[11:13] <avro> Disabling screensaver did nothing
[11:15] <avro> Ah my browser keeps resetting
 It's avro
 Here it's more reliable
 https://matterbridge.lubuntu.me/89b9c474/file_3042.jpg
 I can't connect the PC to internet
 It goes to sleep sooner
 It goes to sleep even when I use it
 That is the problem
 It is powered on and the led blinks
[11:24] <tomreyn> Hozyain_Radugi: do what itu said: dmesg | nc termbin.com 9999
[11:24] <tomreyn> this will post the full output of dmesg to termbin.com, a website where you can post text
[11:24] <tomreyn> it will return a url where we can then read it
 I don't have net there
[11:25] <tomreyn> i see, that makes helping a lot more difficult. can you get it online?
 I try
 Try ethernet
 It should connect automatically
 I can't I am using hotspot
 Disable acpi
 How
 Then boot and configure wifi
 Then reboot normally and upload logs as mentioned above
 Add acpi=off to the Linux command line (re @Hozyain_Radugi: How)
 In bootloader
[11:27] <tomreyn> !kernelparm
[11:28] <tomreyn> according to the hostname, this is a Clevo M5X0N laptop (last but one character is a "zero", not an "oh")
 Yeah
 Acpi off fixed it
[11:35] <tomreyn> this model seems to have a broken lid detection. there is a linux kernel patch acpi-i915-blacklist-clevo-m5x0n-bad_lid-state.patch to overcome it, but this seems to have been in linux since 2.6.33 at least
 Https://termbin.com/k310
 What do I need to do to apply the patch?
[11:39] <tomreyn> i would assume it should already be there. if it wasn't, you might need to rebuild the kernel.
[11:40] <tomreyn> but before you look into that, you'd rather try to better understadn the situation
 It works fine now
[11:40] <tomreyn> this kernel version you are running is from january. you need to install pending updates
 Okay
[11:41] <tomreyn> sudo apt update && sudo apt full-upgrade
 I am checking for updates now
 It's downloading
 Where can I change mirror?
 Default one is slow
[11:47] <tomreyn> /etc/apt/sources.list
[11:47] <tomreyn> or using the updater GUI
 GUI would be preferred
 Thank you so much for the help
[11:58] <tomreyn> i assume software-properties-gtk or software-properties-kde will be installed on your system, and should enable you to configure apt sources graphically
[12:17] <itu> now i installed  lubuntu-20.04.2 (integritiy checked)  on that old laptop and the hdd on which i have installed it is not found by the bios while trying to boot ....
[12:24] <itu> hmm .. looks like there is no boot flag im MBR 
[12:25] <tomreyn> did you install in (legacy) bios or uefi mode, though?
[12:25] <tomreyn> how old is that old computer?
[12:25] <itu> old laptop , no UEFI
[12:26] <itu> 2007  ..
[12:26] <tomreyn> 14 years, not bad
[12:26] <tomreyn> most dont last that long
[12:28] <tomreyn> i'll say / repeat the obvious: if the laptop's bios is unable to boot off the device you installed the boot loader to, then you won't be able to boot this computer off this devcie.
[12:28] <tomreyn> you could boot off a different device, though, by installing grub there.
[12:29] <tomreyn> is this some kind of modern storage that you installed ubuntu to? or some removable storage?
[12:30] <itu> yeah ...booting  ... it was the missing bootflag
 What do I need to do after the upgrade is complete?
 Just reboot?
[12:33] <tomreyn> Hozyain_Radugi: probably, but can you show this first of all:   sudo ls -l /boot | nc termbin.com 9999
 Now or when the upgrade is done?
[12:34] <tomreyn> when it's done
 Okay
 It's done, tomreyn, https://termbin.com/t2v2
 Can I reboot now?
[13:48] <tomreyn> Hozyain_Radugi: hmm, that's still the wrong kernel version for 20.04 LTS
 What do I need to do?
[13:49] <tomreyn> apt list --installed linux* | nc termbin.com 9999
[13:49] <tomreyn> post the termbin.com url returned by this
 Https://termbin.com/lg78
 Done
[13:56] <apt-ghetto> Kernel 5.8.0.63 is not wrong for 20.04 => https://packages.ubuntu.com/focal-updates/linux-generic-hwe-20.04
 Maybe I will reboot and see?
[14:01] <apt-ghetto> Yes
 It went to sleep
 It didn't fix it
 Maybe I should put acpi off permanently?
[14:06] <apt-ghetto> The problem with "acpi=off" is, that it could damage your hardware.
 Oh
 Then I need that patch thing
[14:07] <apt-ghetto> You can check the list of possible kernel parameters => https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt
[14:08] <apt-ghetto> There are a lot of acpi parameters
 I am a total Linux noob
 So if possible, I need step by step instructions to patch it
 Thank you in advance
[14:14] <apt-ghetto> Either you search in the internet for similar problem with the motherboard you have
[14:15] <apt-ghetto> or you try different options out
[14:16] <apt-ghetto> For example you can try acpi_osi="Linux" or apm=off
 Apm off didn't help
[14:27] <itu> problem: how to always get all the windows/programs restored on the desktop after reboot?
 How can I edit logind file?
 I can't save it
 It says permission denied
 I have fixed the issue
 I edited logind file
 I set close lid events to ignore
 Maybe it will help someone
[16:41] <JuhayerAlWasif[m> I am getting very slow speed in my terminal,any fix for this?
[17:00] <tomreyn> JuhayerAlWasif[m: probably, but you'll need to get a better idea of what's causing it first of all.
[17:01] <tomreyn> JuhayerAlWasif[m: is it always this way, or just currently?
[17:02] <tomreyn> if you run    journalctl -f    in a terminal, it should shows what's being added to your system log in near real time (until you press ctrl-c to stop it). this can help identify ongoing errors.
[17:56] <JuhayerAlWasif[m> <tomreyn "if you run    journalctl -f    i"> it's always happening
[17:58] <JuhayerAlWasif[m> <tomreyn "if you run    journalctl -f    i"> okay,what should be my next step?
[19:40] <tomreyn> JuhayerAlWasif[m: was there constant output on the journalctl -f ? i.e. was it scrolling quickly?
[19:40] <tomreyn> if so, what was it saying?
[19:42] <tomreyn> if not, post the address returned by this   journalctl -b | nc termbin.com    and this   journalctl -b -p4 | nc termbin.com 9999
[19:48]  * JuhayerAlWasif[m  < https://libera.ems.host/_matrix/media/r0/download/libera.chat/1642939e54772ac7226e78a775de6d4823517325/message.txt >
[19:49] <JuhayerAlWasif[m> this was the result after running  journalctl -f