Linux Lite Forums

Software - Support => Installing Linux Lite => Topic started by: OzarkJoe on April 27, 2022, 04:34:08 PM

Title: Recommended CLI Commands to Execute for Error Log?
Post by: OzarkJoe on April 27, 2022, 04:34:08 PM
I'm running Linux Lite 6.0 rc. Everything has been going fine until I played around too much. I made some changes in the display UI and my laptop froze. Upon reboot it sent me to the infamous login loop. I used Ctrl+Alt+F2 and was able to successfully login - username and password worked. Account/credentials are good. I'm now at the CLI.

As mentioned above this seems to be set off by me playing with the graphics settings.

Here’s the question... What commands do I need to run that will help diagnose the problem?

Thank you.

Joe

Code: [Select]
CPU:
  Topology: Dual Core model: AMD E-300 APU with Radeon HD Graphics bits: 64
  type: MCP arch: Bobcat L2 cache: 512 KiB bogomips: 5190
  Speed: 1298 MHz min/max: 780/1300 MHz Core speeds (MHz): 1: 1298 2: 782
  Flags: 3dnowprefetch abm aperfmperf apic arat clflush cmov cmp_legacy
  constant_tsc cpuid cr8_legacy cx16 cx8 de extapic extd_apicid fpu fxsr
  fxsr_opt ht hw_pstate ibs lahf_lm lbrv lm mca mce misalignsse mmx mmxext
  monitor msr mtrr nonstop_tsc nopl npt nrip_save nx pae pat pausefilter
  pdpe1gb pge pni popcnt pse pse36 rdtscp rep_good sep skinit sse sse2 sse4a
  ssse3 svm svm_lock syscall tsc vme vmmcall wdt

-Computer-
• Processor : AMD E-300 APU with Radeon(tm) HD Graphics
• Memory : 7724MB (988MB used)
• Machine Type : Notebook
• Operating System : Linux Lite 6.0
• Date/Time : Tue 26 Apr 2022 12:55:59 PM CDT

-Display-
• Resolution : 1366x768 pixels
• OpenGL Renderer : AMD PALM (DRM 2.50.0 / 5.15.0-27-generic, LLVM 13.0.1)
• X11 Vendor : The X.Org Foundation

-Audio Devices-
• Audio Adapter : HDA-Intel - HD-Audio Generic

-Input Devices-
• Power Button
• Lid Switch
• Power Button
• AT Translated Set 2 keyboard
• Video Bus
• SynPS/2 Synaptics TouchPad
• HD-Audio Generic Mic
• HD-Audio Generic Headphone
• TOSHIBA Web Camera - HD: TOSHIB

• Sent from my Android phone using Tapatalk •
Title: Re: Recommended CLI Commands to Execute for Error Log?
Post by: OzarkJoe on April 27, 2022, 05:44:55 PM
Update...

I booted from the Linux Lite 6.0 USB Stick install source. Once I was at the trial version desktop went to my system snapshots and I'm installing my first clean setup from there.

Once the snapshot is complete I'll report back my results.

I'm also gathering all the CLI tutorials I can find. I may not know the answers, but I'll know where to find them.

Thanks.

Joe

• Sent from my Android phone using Tapatalk •

Title: Re: Recommended CLI Commands to Execute for Error Log?
Post by: OzarkJoe on April 27, 2022, 06:01:48 PM
Nope, that didn't fix my login problem. My laptop returned to the same username/password page as before. It should automatically login. The boot loops continue.

I'm not that far in to do a complete new/fresh install.(https://uploads.tapatalk-cdn.com/20220427/502b15ebb9a4ba679b0941f9c807c448.jpg)

• Sent from my Android phone using Tapatalk •

Title: Re: Recommended CLI Commands to Execute for Error Log?
Post by: firenice03 on April 27, 2022, 08:49:12 PM
If you reverted a snapshot or backup?? was that prior to setting auto login?
When you log on is this a normal login or a tty session (Ctrl+Alt+F2) ... To exit or return to GUI try -  Ctrl+Alt+F7 ..
- Should you attempt to undo or fix via the tty...
Might be worth a try log in and set up auto login again??
Title: Re: Recommended CLI Commands to Execute for Error Log?
Post by: stevef on April 28, 2022, 02:15:30 AM
Trying to understand the issue a bit more.

Quote
I made some changes in the display UI

What tweaks were done just before the machine froze.

Quote
Upon reboot it sent me to the infamous login loop

A description of what happens might help.

Quote
went to my system snapshots and I'm installing my first clean setup from there'

Is this using Timeshift aka System Restore Utility or DejaDup aka Backups or something else

Just a suggestion, but  after logging in to the tty via ctrl+alt+f2 maybe try the command

Code: [Select]
startx
Followed by return and post the result with any error messages

Title: Re: Recommended CLI Commands to Execute for Error Log?
Post by: OzarkJoe on April 28, 2022, 05:31:50 PM


Trying to understand the issue a bit more.

Quote
I made some changes in the display UI

What tweaks were done just before the machine froze.

Quote
Upon reboot it sent me to the infamous login loop

A description of what happens might help.

Quote
went to my system snapshots and I'm installing my first clean setup from there'

Is this using Timeshift aka System Restore Utility or DejaDup aka Backups or something else

Just a suggestion, but  after logging in to the tty via ctrl+alt+f2 maybe try the command

Code: [Select]
startx
Followed by return and post the result with any error messages

A) I changed the desktop display settings. Display > Scale: 1x (changed to 2x) > clicked apply. System froze and the only option was to do a hard reboot (press power button until the laptop power goes off).

B) After the above mentioned forced reboot, I did a search of the Linux Lite forum for issues where the auto-login is ignored and boots to the user account and password login... (selecting my username and entering my password followed by clicking enter) sends the user back to the same page. This is where I discovered the Ctrl+Alt+F2 feature.

C) I used the pre-installed Timeshift/Snapshot creation application (labeled: System Restore Utility) and applied the first RSYNC restore point I created immediately after the 6.0 install. The restore point was before any changes were made.

D) No need to proceed further with running startx. I did a fresh re-install of 6.0 and I'm back to an error free load. But, just in case... I'm saving a Timeshift/Snapshot of my fresh install.

• Sent from my Android phone using Tapatalk •

Title: Re: Recommended CLI Commands to Execute for Error Log?
Post by: stevef on April 29, 2022, 08:59:21 AM
Thank you for letting us know.

I'd guess the display scaling change just affected the logged in user's personal desktop and so would probably have been saved in the user's home directory in the normally hidden sub-directories.

Home directories are excluded for backing up under Timeshift default settings.  This could explain why the restore left you in the same place.

Home directories (including hidden) are included for backup by by dejadup (aka Backups) with default settings - though it's not particularly easy to revert a change like this from a backup set.

Ideally there would be a 'Automatically revert changes in 15 seconds' type of confirmation after applying the change to reduce the chances of getting stuck.
Title: Re: Recommended CLI Commands to Execute for Error Log?
Post by: OzarkJoe on April 29, 2022, 01:28:20 PM
Thank you for letting us know.

I'd guess the display scaling change just affected the logged in user's personal desktop and so would probably have been saved in the user's home directory in the normally hidden sub-directories.

Home directories are excluded for backing up under Timeshift default settings.  This could explain why the restore left you in the same place.

Home directories (including hidden) are included for backup by by dejadup (aka Backups) with default settings - though it's not particularly easy to revert a change like this from a backup set.

Ideally there would be a 'Automatically revert changes in 15 seconds' type of confirmation after applying the change to reduce the chances of getting stuck.
I was expecting the auto-change/auto-revert action to occur. But it just froze.

Thanks for the information. I'm learning something every day. I'm trying to keep this 63 year old brain active. It's a chore considering what I did to it in the 1980s.

I've received a few beginner and command line books I'm looking forward to digging into.

• Sent from my Android phone using Tapatalk •