LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2023, 02:57 PM   #31
1John2:22-23
Member
 
Registered: Jan 2023
Posts: 41

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by michaelk View Post
Never use a compressor to blow out a PC. Air from a compressor can build up static electricity and can actually damage the motherboard. The damage may not be immediately apparent and over time you might have problems as you are currently experiencing. Use canned air.
Okay good to know thank you.
Quote:
The logs are in /var/log but since the PC is freezing it might not provide much but it might help. As posted it could be the hard drive, check its built in status with smartctl. I would also run a memory test to see if there is bad RAM. Might be video related. You might try a live USB to see if it continues to freeze and maybe eliminate or prove it is a software problem.
I entered, "/var/log", in the search at the bottom left of the desktop with no result.
I typed, "/var/log", into terminal and get, "bash: /var/log: Is a directory".
How do I check the log? Where is the log? I do not understand what it is I am to do.
What is smartctl? Where do I find that? How do I use that?
How do I run a memory test? Or video test?
I have loaded lubuntu and used it from the flash drive ISO and it does not freeze. I wasn't on all that long so I can't be certain it would not have frozen but my hunch is that it is related to one of the updates because it began immediately afterward.
 
Old 01-19-2023, 03:08 PM   #32
1John2:22-23
Member
 
Registered: Jan 2023
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TorC View Post
All advice given heretofore appears relevant.
Freezing up sounds like a RAM problem (too little for the distro, perhaps?).
I'll have to go with @rokytnji in recommending antiX I'd go to the site given and choose antiX-22_x64-base.iso, install and run without additions to see how you like performance.

Install GIMP and some ancillary files as such --
Code:
sudo apt update && sudo apt install gimp,gimp-data-extras,abr2gbr
Look at documentation for a swap file if freezing up continues. Join the forum and learn.

Also be aware of the handy script for true debian distros called smxi, for post-install tweaks. It's handy but don't tell it to do something not understood or it can become a nightmare maker.

Best wishes and don't get discouraged should reinstalls beome necessary -- it's all part of the learning curve, as I am sure you are aware.

I suggest learning APT should one want to become really proficient at Linux usage. Also, something about permissions. Linux Handbook (in link) is a good place to start.

Best wishes!
I have 16GB DDR3 RAM – is this inadequate?

My understanding was that using the flash drive ISO method, one is able to test out a flavor/distro/insert appropriate term here without installing immediately? Maybe that’s a misunderstanding on my part? And is that why I could not open a web browser, open a word document or folder, etc...within Archbang possibly?

Is GIMP the image program? I believe I have it, if so. If not, what does it do or what’s the rationale for installing it?

I’ve looked up documentation on the Manjaro forum and online generally for over a month now and all results seem to point to a year ago or so and before then – so maybe it’s not the update? No idea. I am a member on the Manjaro forum but haven’t used it for some time. I’m not well-versed in how to use the forums, linux, etc…so it’s been discouraging generally.

I’ll have to look into the APT and handbook and file swap.

Thank you for your reply and best wishes to you also!
 
Old 01-19-2023, 03:17 PM   #33
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,728

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
smartctl is a utility that can run a hard drive's built in self tests and view the results. It should be included in manjaro's software center.

https://en.wikipedia.org/wiki/Self-M...ing_Technology
https://sourceforge.net/projects/smartmontools/

/var/log is a directory (and sub-directories) that contain text files from running processes and applications with various information that can be used for troubleshooting system problems.

Memtest86+ is a standalone tool. It might be installed and if so is usually a grub boot option that you can select when you boot the computer.
https://www.memtest.org/

Anything is possible, could be a kernel, video problem with the update.
 
Old 01-19-2023, 03:21 PM   #34
1John2:22-23
Member
 
Registered: Jan 2023
Posts: 41

Original Poster
Rep: Reputation: Disabled
Trying to check memory.

free -m
free: Multiple unit options doesn't make sense.

Here we go?

cat /proc/meminfo
MemTotal: 16181464 kB
MemFree: 11931136 kB
MemAvailable: 13282428 kB
Buffers: 383452 kB
Cached: 1802812 kB
SwapCached: 0 kB
Active: 802436 kB
Inactive: 2317016 kB
Active(anon): 3804 kB
Inactive(anon): 1685784 kB
Active(file): 798632 kB
Inactive(file): 631232 kB
Unevictable: 693504 kB
Mlocked: 80 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 5156 kB
Writeback: 0 kB
AnonPages: 1626688 kB
Mapped: 518288 kB
Shmem: 756400 kB
KReclaimable: 257364 kB
Slab: 336392 kB
SReclaimable: 257364 kB
SUnreclaim: 79028 kB
KernelStack: 15488 kB
PageTables: 26708 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 8090732 kB
Committed_AS: 6707748 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 40016 kB
VmallocChunk: 0 kB
Percpu: 5536 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
FileHugePages: 0 kB
FilePmdMapped: 0 kB
CmaTotal: 0 kB
CmaFree: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 0 kB
DirectMap4k: 200892 kB
DirectMap2M: 7976960 kB
DirectMap1G: 9437184 kB

"Dirty"? Is that an issue?
 
Old 01-19-2023, 03:45 PM   #35
1John2:22-23
Member
 
Registered: Jan 2023
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
smartctl is a utility that can run a hard drive's built in self tests and view the results. It should be included in manjaro's software center.

https://en.wikipedia.org/wiki/Self-M...ing_Technology
https://sourceforge.net/projects/smartmontools/

/var/log is a directory (and sub-directories) that contain text files from running processes and applications with various information that can be used for troubleshooting system problems.

Memtest86+ is a standalone tool. It might be installed and if so is usually a grub boot option that you can select when you boot the computer.
https://www.memtest.org/

Anything is possible, could be a kernel, video problem with the update.
I'm in the Manjaro repositories and AUR but it seems there's one option for testing HDD SSD and two others which interact with smartctl. When I go into terminal smartctl -c /dev/sda gives nothing so I don't think I have it.

I downloaded the tz from the link and extracted but do not know how to get it to open/function.

Not sure how to view/interact with the directory of /var/log.
 
Old 01-19-2023, 03:50 PM   #36
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,728

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
You need to use sudo or switch to root user. If smartctl was not installed I would expect a command not found error.
 
Old 01-19-2023, 06:45 PM   #37
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,235

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by rokytnji View Post
Grinning as the clothes you wear. The computer you are on. Our oil companies relationship and manufacturers.
None of your quote seems to affect them or you from using their gear.
Thanks Dr Seuss.
 
Old 01-19-2023, 07:23 PM   #38
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,660

Rep: Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708
The "BEST" distribution long-term will always be the one that meets your expectations and does not change HOW it meets your expectations over the long run.

Those expectations are the problem, we all define them differently.
If you expect not to have to reinstall, as in EVER, then you need one that never updates or one that uses rolling or semi-rolling updates so that a reinstall is never needed. (DEBIAN SID based (VSIDO, Sparky Rolling, etc), ARCH based (Manjaro...), etc))
If you expect one that is on the cutting edge, ALWAYS, then it needs to be a rolling release.
If it never requires a reinstall because it never CHANGES then you need one that is out of development (possibly out of support) and can be run from read-only media. (Puppy, Tiny Core, DSL, etc)
One that you seldom update and is VERY stable over the long run might serve (Slackware Linux, any BSD, LFS, etc)
If you EXPECT to reinstall then something like RHEL, SUSE, or DEBIAN might serve, but realize that these regularly CHANGE things so that they no longer work. Commercial ones to meet government or commercial/enterprise requirements, DEBIAN for technical or political reasons.

Ubuntu sometimes changes things in the middle of the road and without adequate warning or documentation, so 'i would avoid that as what expectations it might meet is seriously variable.

BEST is a term that cannot be locked down until you have a clear idea of what hardware you will use (forever), and what EXACTLY you want your OS to do (FOREVER), and how you expect it to achieve those goals.

In my world, there is no BEST. I like distributions that meet my needs WELL ENOUGH, and that maintain some reasonable standards for stability and reliability. I also recognize that even among people with that standard, no two are likely to settle on the same distribution for the same reason. As a result giving anyone specific pointed advice is never a good idea! I advise people to try a few for themselves, look up the properties and characteristics on sites like DISTROWATCH. I used to send people to read reviews, but most of those are trash and wasted bandwidth these days. I miss distrotest, and hope someone will have the resources to open a new site somewhat like that one, so you can pop over and start up an instance of the one you want to see and give it a run. (Although, it is always MORe informative to actually run it in a live session on YOUR OWN hardware!)
 
Old 01-19-2023, 07:32 PM   #39
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,660

Rep: Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708
Quote:
Originally Posted by 1John2:22-23 View Post
The rolling releases are constantly interrupting whatever I'm working on and it seemed the update awhile back caused the issue with freezing repeatedly I'm dealing with now over and over again here..

I went and looked at the download section of devuan but don't know which to use.

The Debian Stable sounds good - how do I do that? The Lubuntu I loved because of how fast it was was LXDE if I'm not mistaken - how then do I add in LXDE and applications I'd mentioned?
No rolling release EVER interrupts what I am doing, because I only let it check when I tell it to and it updates on MY schedule. You might consider running it that way.

Deuvan is good, but not rolling.
You want the latest one that fits your processor. i386 is 32-bit intel/amd, AMD64 is 64-bit intel/amd, the ARM ones are for ARM processor platforms like the Raspberry Pi, and the PPC one can load some PPC MACs I believe (never tested those myself).


The only real rolling Debian is SID, which is unstable. Debian Testing is a compromise, and has some of the advantages (and disadvantages) of both. Debian stable does not change for long periods of time and is very well tested: it gets only security patches for its life. You CAN update in place when a new version becomes "stable", but it is not recommended: more normal to reinstall every few years.
 
Old 01-19-2023, 07:35 PM   #40
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by 1John2:22-23 View Post
Okay good to know thank you.

I entered, "/var/log", in the search at the bottom left of the desktop with no result.
I typed, "/var/log", into terminal and get, "bash: /var/log: Is a directory".
How do I check the log? Where is the log? I do not understand what it is I am to do.
What is smartctl? Where do I find that? How do I use that?
How do I run a memory test? Or video test?
The Bash Handbook was mentioned.
Here is one link
https://tldp.org/LDP/Bash-Beginners-...ners-Guide.pdf
And here is a another that you can read online or download for reference.
https://www.gnu.org/software/bash/manual/bash.pdf

Using one of those and just a bit of hands on practice will assist you a lot.

You can learn 99% of everything you are asking about linux and using the bash command line by online research and trying out the commands so you see the results. We can spout information until we are exhausted, but if you never make an attempt to learn for yourself you will always be like a little child that always needs momma to hold their hand when walking. Without actively making an effort for themselves one never learns.

Everyone learns by trial and error then trying again.

Open up one of those references, ask "How do I ...?"; "What does this do?", etc., then look up the answer. Try it out. Rinse and Repeat as often as needed to gain a basic understanding and working knowledge.

Last edited by computersavvy; 01-19-2023 at 07:46 PM.
 
Old 01-19-2023, 09:03 PM   #41
gezzer2
LQ Newbie
 
Registered: Jun 2021
Location: /home
Distribution: Ubuntu LTS
Posts: 10

Rep: Reputation: Disabled
its not very often i write a long winded explanation but here goes.

best long term operating system for you too use is the one you decide to stick with good, bad or ugly.

i started using computers with windows 95 then updated to win98 then win98se then winME (winME was the best if you understood it) i could do about anything i wanted or liked with them because i used them and come to understand them over the long term. it didn't make me clever just experienced with them.

the first Linux OS i used that worked fully was Ubuntu 'warty warthog' and when installed it just worked i stuck with it, updated it and used it, through thick and thin the good the bad and the ugly. i have come to understand its workings and can just about do what i want with it without blowing it out of the water. now im using Xubuntu because the XFCE reminds me of win9x.

in essence im saying find one you think you like taking all the advice into account. then stick with it until it becomes like a well worn glove then the OS will work for you ...
 
Old 01-20-2023, 09:12 AM   #42
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,656

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by 1John2:22-23 View Post
Pretty sure I mentioned I use Manjaro XFCE.
You did...then in post #23 you said:
"I think part of the difficulty for me is that there is all kinds of terminology use, of which I have no real understanding. Kernel, ISO, systemd, openBOX, fuse, distro, Desktop Environment, ICEfm(?), XFCE, KDM, GNU, GNOME, Shell, LXDE and on and on."

...which would seem to indicate you have/had no idea what XFCE was/is/did, wouldn't it?
Quote:
I didn't know I was looking for system logs or that those were needed or existed. This is why I have been asking repeatedly for the commands to put into terminal so that I can offer whatever output is useful. I entered the command in terminal shown at the URL you provided and get, "bash: /dev/log: Permission denied".
Did you actually read the link that was looked up for you?? You (again) don't provide details about what you're typing in, but journalctl runs just fine as any regular user, and is what's used to read the system logs. Again, you can read the man page on journalctl, or look up that command online
Quote:
My PC was blown out with my compressor from a reasonable distance not all that long ago so that's not the issue.
You seem to be suffering from an X/Y problem, because you seemingly are blaming your system problems on your system updates, and are laboring under the assumption that if you get rid of THAT, your system will be fine. Chances are, it won't. Everything you've posted indicates a problem in hardware, either with some memory going bad, a flaky PSU, or some other problem. You were asked about your video hardware...with no response.

Again, for someone who claims to have used Linux for eight years, it's VERY odd you have zero idea about a system log, any terminal commands, etc., and you seemingly cannot look anything up for yourself. You also say you don't want a 'c++ doctorate' to do anything, and list three programs you use...all of which run on Windows.

Again: You can load ANY version of Linux, and all of them will get updates. Whether you apply them or not is your choice. None of which are going to solve your problem and since you don't seem to want to learn on your own, running Windows would be a far better solution for you. You won't have to get a 'doctorate', learn any commands, etc....just use Firefox, libreoffice, and VLC.
 
Old 01-21-2023, 12:22 PM   #43
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,660

Rep: Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708
Selecting the HARDWARE that will give you a long lasting solution is entirely a different discussion, and does not depend much upon the OS you plan to install.
 
Old 01-21-2023, 01:34 PM   #44
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,131
Blog Entries: 21

Rep: Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477
My shop computer which is a old IBM M57. The only thing I would change from the advice above is the base iso recommend.

Basically because base is for challenged hardware and also for experienced users.
Heck. I'm experienced and run the full so.
Update on this box earlier ran round about between 177mb and 230mb of ram with no browser open.
My IBM likes this distro.

Code:
$ inxi -v2
System:
  Host: shop Kernel: 5.10.153-antix.1-amd64-smp arch: x86_64 bits: 64
    Desktop: IceWM v: 3.3.0 Distro: antiX-21_x64-full Grup Yorum 31 October 2021
Machine:
  Type: Desktop System: LENOVO product: 6075BHU v: ThinkCentre M57
    serial: <superuser required>
  Mobo: LENOVO model: LENOVO serial: <superuser required> BIOS: LENOVO
    v: 2RKT41AUS date: 03/20/2008
CPU:
  Info: dual core Intel Pentium Dual E2160 [MCP] speed (MHz): avg: 1612
    min/max: 1200/1800
Graphics:
  Device-1: Intel 82Q35 Express Integrated Graphics driver: i915 v: kernel
  Display: x11 server: X.Org v: 1.20.11 driver: X: loaded: intel
    unloaded: fbdev,modesetting,vesa dri: i915 gpu: i915
    resolution: 1280x1024~60Hz
  API: OpenGL v: 1.4 Mesa 20.3.5 renderer: Mesa DRI Intel Q35
Network:
  Device-1: Intel 82566DM-2 Gigabit Network driver: e1000e
  Device-2: Realtek RTL8191SU 802.11n WLAN Adapter type: USB driver: r8712u
Drives:
  Local Storage: total: 298.09 GiB used: 30.7 GiB (10.3%)
Info:
  Processes: 139 Uptime: 45m Memory: 3.58 GiB used: 1.06 GiB (29.5%)
  Shell: Bash inxi: 3.3.23
OP has been saying he is on manjero xfce. Pretty sure he can run the same command I did to show his specs.
Which he was unaware of. Hence my full iso recommend.

https://sourceforge.net/projects/ant...inal/antiX-22/

You will want the big green button. I always md5sum check my downloaded isos because it only takes a few seconds.
Manjero can do it.

This is a wireless box that uses my old satellite dish as the wifi collector.
 
1 members found this post helpful.
Old 01-21-2023, 03:01 PM   #45
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 485

Rep: Reputation: 180Reputation: 180
I just use KUbuntu LTS 22.04 (now, was 20.04) on all my laptops, desktops, and servers. Just works for the most part and no upgrading for a couple of years which 'I' prefer. I say "for the most part" because once in awhile I have to fight Nvidia problems now and then... But you'll have that with any Linux distro. I have the OS on 4 laptops, 2 desktops, and one server. No significant problems found and everything works. It does everything I want a computer to do and then some and quite reliable... solid as a rock (for my systems). That said, the 'best' is all relative though to your needs. For example gaming is not on my 'must have' or even 'slightly have' list. I am a software developer and general user. My wife is a general user. Both satisfied with the systems.

BTW, 16GB is more than enough memory for general computing and any of the Linux distros out there.

Most distributions should be reliable now-a-days. So to me, your computer problem seems to act like a hardware problem.
There is a such thing as 'bad' memory, or disk, or motherboard that can cause reboots and such - and hard to track down usually. Memory is cheap, so that might be a place to start (if replaceable)...

Last edited by rclark; 01-21-2023 at 03:06 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
TERM variable TERM=linux keirvt Ubuntu 1 12-23-2012 06:07 PM
which is best, long-term and high salary career option : babadedge Linux - General 6 12-23-2012 06:03 AM
long long long: Too long for GCC Kenny_Strawn Programming 5 09-18-2010 01:14 AM
Best distribution for a Long Term server. Strider_Max Linux - General 18 08-18-2008 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration