I bought a refurbished Lenovo IdeaPad with core i9 and 32GB RAM. It came with windows 11. I installed ubuntu 24.04 on it. It runs amazingly fast - loving it.
Several times a day, it will close all my windows and log me out. How do I debug this? There are so many log files in linux. Which ones should I look at?
I used to use ubuntu/linux a lot around 10 years back and then switched to mac for the last 10 years.
I get so frustrated sometimes that I am thinking of just moving back to mac though I love the feeling of using linux/OSS and would like to continue using it.
The programs I run:
- brave browser
- gvim
- terminal
- winamp in wine
- Discord
- Transmission
- mac os inside qemu.
- signal
- telegram
- nordvpn
- pihole/dnsmasq
- Thinkorswim (java)
- calibre
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
libcjson1 libpostproc57 libavcodec60 libavcodec60 libavutil58 libavutil58
libswscale7 libswresample4 libswresample4 libavformat60 libavfilter9
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following upgrades have been deferred due to phasing:
file-roller python3-distupgrade shotwell shotwell-common
ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
$ sudo apt update
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:2 https://updates.signal.org/desktop/apt xenial InRelease
Hit:4 https://tvd-packages.tradingview.com/ubuntu/stable jammy InRelease
Hit:3 https://linux-packages.resilio.com/resilio-sync/deb resilio-sync InRelease
Get:5 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Hit:6 https://ppa.launchpadcontent.net/ata...elegram/ubuntu noble InRelease
Hit:7 http://in.archive.ubuntu.com/ubuntu noble InRelease
Hit:8 https://ppa.launchpadcontent.net/bra...drtools/ubuntu noble InRelease
Get:9 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [7,184 B]
Get:10 http://in.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Hit:11 https://ppa.launchpadcontent.net/fle...uickemu/ubuntu noble InRelease
Get:12 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]
Get:13 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [51.9 kB]
Get:14 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [212 B]
Get:15 http://in.archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:16 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [599 kB]
Get:17 http://in.archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [114 kB]
Get:18 http://in.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]
Get:19 http://in.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [709 kB]
Get:20 http://in.archive.ubuntu.com/ubuntu noble-updates/universe i386 Packages [437 kB]
Get:21 http://in.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [305 kB]
Get:22 http://in.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]
Get:23 http://in.archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [208 B]
Get:24 http://in.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B]
Get:25 http://in.archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [21.1 kB]
Get:26 http://in.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]
Fetched 2,625 kB in 10s (275 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease' doesn't support architecture 'i386'
W: http://linux-packages.resilio.com/re...ync/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
N: Skipping acquire of configured file 'non-free/binary-i386/Packages' as repository 'http://linux-packages.resilio.com/resilio-sync/deb resilio-sync InRelease' doesn't support architecture 'i386'
Log files are here:
$ cat /var/log/syslog > var-log-syslog.txt
$ cat /var/log/auth.log > var-log-syslog.txt
$ cat /var/log/auth.log > var-log-auth-log.txt
$ journalctl -b # View logs from the current boot
How do I enable DEBUG logs?
Thank you!
Bookmarks