There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

lemmy.ml

blobjim , to linux in /run/user/1000: What to do with it?

The most important thing to realize about the “file system” in Linux is it does a lot more than just persist your documents and app data. You shouldn’t index your root directory because almost everything other than your home directory is some kind of Linux distro/application-specific directory that is often not a normal directory stored on a storage device. If you run the mount command with no arguments, every line of output is a separate file system, mounted at some specific directory of the current “mount namespace”. Kinda confusing, but every process in Linux has a mount namespace that has a list of mounted file systems, often that namespace is shared between many/most processes, such as your terminal shell. Most of the file systems will be virtual i.e. not representing anything in storage. For example sysfs (always mounted at /sys), proc (always mounted at /proc), devtmpfs (mounted at /dev), etc. are all completely virtual and are ways for system services and applications to access state and devices exposed by the Linux kernel. They should never be indexed, treated as normal files, or modified by the user.

That’s probably even more confusing, sorry. But the gist of it is, the only directory on your system you can really count on actually being stored on disk and always available to you is your home directory. Basically everything else exists as an implementation detail of the operating system and software applications.

If I were you, I’d stick to only indexing your user home directory. Indexing /usr or /tmp or /etc or whatever is like indexing C:\Windows and C:\Program Files, except even weirder since at least on Windows those are actually files stored on disk whereas in Linux they may not even be actual files (although most of them in /usr and /etc are actual files on disk).

joeldebruijn OP ,

Ow … this … just realise its my Windows “legacy-skills” to unlearn …

Although its indeed more confusing it does explain rather well I cant just “port” my habits from Windows to Linux (Debian Gnome in my case).

Also it gave me hints for more research. Thanks!

taaz , (edited )

There is a simple trick, as a basic user, do not ever run your (gnome) file explorer as root and if a permission error (requiring “escalation”) pops up you shoud double check what you are doing.

I think most graphical f.mangers also keep most of the weird/important/system folders away from user and you have to directly navigate to them.

blobjim , (edited )

You may also encounter some contradictory information out there too. For example, I said don’t modify stuff outside of your user home directory, but some people will advise to modify stuff in /etc. Although I would never do this on a desktop distro (usually /etc is set up the way the distro maintainers want it, and anything you need to modify will have another more user-friendly way to modify it), especially one where you’re mostly just trying to run desktop applications. It might make sense to modify stuff in /etc on a server installation since that’s where a lot of configuration for different daemon processes (i.e. system services but also server applications) and even software libraries goes.

That’s one of the good and bad things about linux. There is some information about all this stuff on the internet if you can find it, but it is also an information overload and you’re basically learning about the internals of the operating system with all the associated complexity. That’s one thing that threw me off about linux initially (I started getting into this stuff only a couple years ago), almost everything you learn about linux is basically an implementation detail. There are Windows equivalents to most things in linux, but when you use Windows as a desktop user you don’t really think about them unless you’re developing an application using Windows-specific APIs.

Windows has things like COM (linux equivalent is gobject and dbus), Services (linux equivalent is systemd services), Win32 API (this is a million things in Linux like glibc and a bunch of other system libraries, just check out how many files are in /usr/lib or /usr/lib64), Registry (dconf/gsettings) and so on.

There’s also unfortunately no real clean break between “stuff anyone should know” and “stuff programmers and linux distro developers should know”. A lot messier than something like iOS or Android where if you’re a normal user you basically don’t see the OS implementation or hints of it at all.

Trying to hide the implementation details is also why the GNOME Files app shows you some documents folders on the left but makes it more difficult to view the root directory or even the current file path. Which was very frustrating and confusing for me, coming from Windows.

MajinBlayze , (edited ) to linux in /run/user/1000: What to do with it?

You’re using flatpak, right? Flatpak uses “portals” to provide access to other parts of your system. When you open files in flatpak apps, you’ll see this folder used for those.

These shouldn’t actually take up any meaningful space, and I wouldn’t delete anything unless you’re experiencing an issue.

joeldebruijn OP ,

Ah that makes sense, I gave strawberry my Nextcloud path to scan for mp3 and add them to its library.

stsquad ,

It is most likely another filesystem mounted where the flatpak can see it. A terminal tool like ncdu or even du will take an -x option to not cross file-system boundaries. That will show the true usage of everything bellow where you call it (even though it is a ramfs so not persisted across reboots).

Still , to linux in /run/user/1000: What to do with it?
@Still@programming.dev avatar

/run contains all sorts of virtual stuff, it doesn’t persist over a reboot,

I would advise against deleting anything in it as those files are used by programs running as whether user has the ID of 1000 (most likely you)

it contains things such as sockets and lock files so that programs can interact with each other

taaz , to linux in /run/user/1000: What to do with it?

serverfault.com/…/meaning-of-directories-on-unix-…

  • /bin - Binaries.
  • /boot - Files required for booting.
  • /dev - Device files.
  • /etc - Et cetera. The name is inherited from the earliest Unixes, which is when it became the spot to put config-files.
  • /home - Where home directories are kept.
  • /lib - Where code libraries are kept.
  • /media - A more modern directory, but where removable media gets mounted.
  • /mnt - Where temporary file-systems are mounted.
  • /opt - Where optional add-on software is installed. This is discrete from /usr/local/ for reasons I’ll get to later.
  • /run - Where runtime variable data is kept.
  • /sbin - Where super-binaries are stored. These usually only work with root.
  • /srv - Stands for “serve”. This directory is intended for static files that are served out. /srv/http would be for static websites, /srv/ftp for an FTP server.
  • /tmp - Where temporary files may be stored.
  • /usr - Another directory inherited from the Unixes of old, it stands for “UNIX System Resources”. It does not stand for “user” (see the Debian Wiki). This directory should be sharable between hosts, and can be NFS mounted to multiple hosts safely. It can be mounted read-only safely.
  • /var - Another directory inherited from the Unixes of old, it stands for “variable”. This is where system data that varies may be stored. Such things as spool and cache directories may be located here. If a program needs to write to the local file-system and isn’t serving that data to someone directly, it’ll go here.
joeldebruijn OP ,

Thanks, this doesn’t say anything tho about 2 levels deep in bullet 10. But I get anything in run/user/1000 serves the same purpose.

taaz ,

In this case, yes anything under /run should not be considered as normal files.

nottelling ,

The above is accurate, and can be considered accurate for any directory below or at well.

Per /run, it’s also mounted in memory, so trying to “declutter” it won’t get you anywhere and things will return on reboot.

stsquad , to linux in /run/user/1000: What to do with it?

Don’t delete it. It’s an area of the filesystem where the current user session data is kept. This includes things like sockets to communicate with other session components and lock files. It’s usually hosted on a ram disk so takes up no space in the system and goes away when you shutdown your machine.

joeldebruijn OP ,

Or it comes back the same way but doesn’t pose a problem either?

FrostyPolicy ,
@FrostyPolicy@suppo.fi avatar

Files in /run will be (re)created (and removed) at runtime if/when needed by programs that need them. They pose no problems and don’t persist between reboots.

crony , to linux in /run/user/1000: What to do with it?
@crony@lemmy.cronyakatsuki.xyz avatar

Never touch anything in /run directory.

joeldebruijn OP ,

Thanks! And I will remove it from my search index to restrain from “decluttering”. 👌👍

nottelling ,

Don’t “declutter” manually. Use your package manager.

joeldebruijn OP ,

I learned a lot in these comments but in this specific context:

  • a flatpak app uses a base directory (mp3 player).
  • I set it to my NextCloud folder.
  • Now run/usr/1000 is “filled” with all my thousands of pdf from personal archive, several times per file (because multiple flatpaks).

These don’t need decluttering I learned, but aren’t managed by package managers either.

nottelling ,

Flatpak is itself a file manager.

That duplicate of your folder in /run is due to filesystem links (or more likely a fuse mount, I’ve never actually looked into how flatpak works). But either way, they aren’t copies of the data.

corsicanguppy ,

Don’t use flatpak. It encourages dependency hell and ruins validation.

Laser ,

The search index isn’t managed by you package manager, is it?

MoonRaven , to memes in Winning the lottery
@MoonRaven@feddit.nl avatar

I must be rich, I have 2 licenses.

einlander , to techsupport in [RMA] What is this lump on my friend's CPU?

Was he using liquid metal thermal paste?

Imgonnatrythis , to techsupport in [RMA] What is this lump on my friend's CPU?

It’s not a tumoh.

bjg13 ,

It’s not a toober. Back to da choppa!!!

keyz , to techsupport in [RMA] What is this lump on my friend's CPU?

Last year GamersNexus covered something similar. Can’t remember the exact video, but I think it was in the series of videos this one comes from m.youtube.com/watch?v=fFNi3YNJXbY&t=0s.

Can’t remember all the details, but (I think) something was causing a part of the die (I guess not near a temp sensor) to heat up way out of spec, enough to litterally melt the solder on the CPU, and have it drain out.

CPU is likely dead, and certainly not to be trusted. Is it an Asus or gigabyte motherboard? Potentially it’s one that’s affected and hasn’t had the bios update that fixes the issue applied

onlooker OP ,
@onlooker@lemmy.ml avatar

That’s super useful information, much appreciated. MSI motherboard actually. I’ll ask my friend when he last updated the BIOS, if at all.

keyz ,

I would suggest not trying to use it anymore though, and just go straight to the RMA process for wherever they were purchased. Or maybe post on the GN discord to see what they say (annoyingly they don’t have forums or anything, just a discord and subreddit).

If this is just something that’s come from somewhere else, you don’t know where else this mysterious metal may have gone, and there’s a potential fire risk on your hands at worst, or a mobo that could fry any cpus (or memory, etc) plugged in.

If it’s indeed the issue talked about by GN, it’s dead, and if it’s not completely dead, it’s actively dying in an irreversible way.

If it’s some other, new issue, I still can’t imagine plugging it back in will make anything better.

Lojcs ,

That’s not it. Even if the overheating melted something in there, it wouldn’t just ooze out to some spot and form a neat blob without a trace.

CrayonRosary ,

Yes it would. That’s exactly how solder would bahave in this case. The fact that you call what is obviously solder… “something”… means you don’t know what you’re talking about.

keyz ,

The photo is almost identical to one shown in one of the GN videos. Gonna be a bad internet denizen today though and ask that you take my word, because I really can’t be arsed to try to look up specific videos and times.

If you don’t take my word, thats completely understandable, but as I said, cannot be arsed with looking it up, so I’ll just accept that you don’t believe me.

onlooker OP , (edited )
@onlooker@lemmy.ml avatar

That’s fair. Though I still do believe you since everything you said seems completely plausible. I’m skimming through GN’s videos right now, but there are loooooads. Hopefully I’ll find it eventually, because I really am curious. In any case, my friend and I decided to start the RMA process as suggested in your other comment, because if nothing else, the CPU looks really dodgy. Thank you for your time and insight!

Klajan ,

It could actually, the Heat spreader is usually bonded to the Chip with some form of Indium Solder, which usually has a melting point of up to 210°C (most compositions are around 120-140°C).

Solder likes to form a similar ball around traces and components, since the solder does not stick to the silk screen of the PCB.

And I remember that this is exactly what happened in the Gamer Nexus video, the Indium Solder was melting due to Overheating.

DSkou7 , to techsupport in [RMA] What is this lump on my friend's CPU?

So based on the other comments, I would check the cooler and anything else that was above the CPU to see if something got too hot and dribbled solder on the CPU. Also is the socket next to that drop clean, or are there other smaller droplets nearby?

onlooker OP ,
@onlooker@lemmy.ml avatar

Everything on the cooler and motherboard seems to be clean. No droplets around the socket either. We’ve decided to start the RMA process, because troubleshooting a CPU is a bit out of my wheelhouse and also I’m kinda lazy. Thank you, though!

Kolanaki , to techsupport in [RMA] What is this lump on my friend's CPU?
@Kolanaki@yiffit.net avatar

Looks like solder. Soldering irons are pretty cheap. You could try getting a cheap one and melting it off; but if you’ve never soldered before I’d recommend watching some videos on how to handle it so you don’t just make things worse.

pearsaltchocolatebar ,

Yeah, you’re going to ruin it and void your warranty if you do that.

venoft ,
@venoft@lemmy.world avatar

Just add flux, hold it upside-down and heat it up. Easy peasy. Can’t ruin it further anyway.

NoIWontPickaName ,

Desoldering braid

supernicepojo , to techsupport in [RMA] What is this lump on my friend's CPU?

Considering it looks like a blob of metal it could be a type of thermal interface compound that gets spread on the cpu before installing a heat sink. Something like cryonaut liquid metal, I dont believe it ever solidifies.

onlooker OP ,
@onlooker@lemmy.ml avatar

We can cross that out, then. The lump is solid like a little metal bearing.

Betch , to techsupport in [RMA] What is this lump on my friend's CPU?
@Betch@lemmy.world avatar

Damn, I’ve never seen such an obvious defect on a CPU in my life. What the hell happened there lol. How can that pass testing and leave the factory?

onlooker OP ,
@onlooker@lemmy.ml avatar

Honestly no clue to both questions. So, it’s a defect from the factory then?

Betch ,
@Betch@lemmy.world avatar

I mean unless your friend bought the CPU used and got scammed, or they were somehow soldering something above their CPU while building the PC I don’t see how else this could’ve happened outside the factory.

It looks to me like maybe extra solder got squeezed out during the heatspreader or surface mount component soldering process.

onlooker OP ,
@onlooker@lemmy.ml avatar

Nah, he doesn’t own a soldering iron. So, it’s safe to say that I shouldn’t put this back in the motherboard, yeah? It still does fit in the socket, but I’m worried it’ll cause more damage when we turn on the PC.

Betch ,
@Betch@lemmy.world avatar

That blob isn’t liquid is it? It’s actually solid?

onlooker OP ,
@onlooker@lemmy.ml avatar

Yeah, it’s solid. I tried poking it a little as soon as I noticed it.

teamevil , to techsupport in [RMA] What is this lump on my friend's CPU?

Looks like a drop of solder fell on to it

onlooker OP ,
@onlooker@lemmy.ml avatar

Wow, that reply was super fast. That was my first thought, but my friend doesn’t know how to solder and doesn’t own a soldering iron. Is it possible it was like this from the factory?

Extrasvhx9he ,

Was it new or brought used? Either way probably not the best for it so maybe get your friend to return it (unless they lied and did it themselves, haha)

onlooker OP ,
@onlooker@lemmy.ml avatar

New. He bought it last summer in August, so it should still be under warranty. Yeah, my thoughts exactly. I’ve never seen this, so I kind of don’t want to put it back in the motherboard for fear of causing further damage.

Betch ,
@Betch@lemmy.world avatar

Wait so it had been running fine since August?

onlooker OP ,
@onlooker@lemmy.ml avatar

Yeah, that’s the weird part. We were playing online without issue just a few weeks ago. His PC only died sometime last week.

Betch ,
@Betch@lemmy.world avatar

That is sooo weird. Unless that thing shorted and heated up so much that it melted the solder, in this case I’m not sure there’s any extra harm in putting it back in the socket. I usually wouldn’t advise this but if it was gonna cause damage it’s probably already done.

At this point I think there is a definite possibility that this solder blob has always been there and that we may be barking up the wrong tree.

onlooker OP ,
@onlooker@lemmy.ml avatar

Unless that thing shorted and heated up so much that it melted the solder, in this case I’m not sure there’s any extra harm in putting it back in the socket. I usually wouldn’t advise this but if it was gonna cause extra damage it’s probably already done.

Fair point. I’m probably not going to experiment too much. I was just curious about the silver blob, because I’ve never seen this before. If I can’t find any obvious faults, I’ll just advise my friend to take his PC to a repair shop or something.

Betch ,
@Betch@lemmy.world avatar

Alright, well if you want you can let me know what actually happens when you push the power button. Any beeps, lights, fan spins, clicking, demonic apparitions, just completely dead, etc.

Sometimes just reseating everything is the fix too.

onlooker OP ,
@onlooker@lemmy.ml avatar

That’s very kind of you, thank you. I’m actually meeting with my friend again tomorrow. We’ll try re-assembling everything and see what happens.

Betch ,
@Betch@lemmy.world avatar

Awesome! Good luck!

onlooker OP ,
@onlooker@lemmy.ml avatar

Unfortunately nothing changed even after reassembling the PC. We’re just going to take it to a local PC shop since they have more tools on hand to diagnose the problem. Thanks for your help, though!

Betch ,
@Betch@lemmy.world avatar

Yeah figures. As another user mentioned, this could very well be the issue that Gamers Nexus exposed a while back. That CPU might still be under warranty. Hopefully the PC shop will be able to sort this out for you.

OldManBOMBIN ,

demonic apparitions

I chortled.

Betch ,
@Betch@lemmy.world avatar

It’s funny until you see faces in the blue smoke.

OldManBOMBIN ,

Then it’s a PARRRRTAYYYYYY

Betch ,
@Betch@lemmy.world avatar

Oh it definitely can be depending on your preferences.

OldManBOMBIN ,
Betch ,
@Betch@lemmy.world avatar

Hmm I had something different in mind. More along the lines of getting freaky with demons but hey inhaling the magic blue smoke is 100% valid too. I’m down.

OldManBOMBIN ,
Betch ,
@Betch@lemmy.world avatar

🫣

orbitz ,

With a bit there the cooler probably isn’t making good contact with the CPU, but if that was the case I wouldn’t expect it to just die if it was working before. Though the higher heat may have caused permanent issues too, hard to say.

I have an all in one CPU liquid cooler that had a bracket on incorrectly but it still worked fine until I played with overclocking so that’s all I base this comment on.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines