/r/linux4noobs
Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.
Linux introductions, tips and tutorials. Any distro, any platform! Explicitly noob-friendly.
If you're posting for help, please include the following details, so that we can help you more efficiently:
Questions are encouraged. If you fix the problem yourself, please post your solution, so that others can also learn.
Resources:
Sort posts by flair:
Other subreddits you may like:
Does this sidebar need an addition or correction? Tell me here
/r/linux4noobs
So I've installed Aurora on my mom's laptop. I disabled root account since I don't think I need it, and it also disables remote access so I thought it was safer like this. Then I set up an account with no password, so she will not need it - earlier I've put ChromeOS on it and she was complaining about the password at the login screen. I know I can turn it off, but my dad was also complaining about the system asking root password for some things (but back when I've put Mint on his PC). So I wanted to make sure that they will not need root any situation. Was this a stupid idea?
Tldr; I've installed Aurora on my mom's laptop withouth root account and withouth password. Was this a bad idea?
I have a laptop with a pretty good configuration (that's not the problem) but with a pretty bad battery
For the moment when it is in battery mode, my only use would be internet and NOTHING ELSE
I am currently on Windows because I have a pretty basic use.
I would like to know which distribution you would recommend just for web browsing (not even YouTube) + which browser (I know that those based on Chromium are quite energy-intensive)
How would you recommend setting up the partition table for a home desktop Ubuntu PC? It has a 256GB SSD. Want to aim for a flexible setup, and I kinda like tonlive dangerously and try this and that so it's not uncommon that I mess up and reinstall the OS. Don't judge, it's my learning curve. Recently I had to try to increase the EFI size, also had to move the other partitions that finally bricked by bootloader completely. Not sure if it could have been avoided with any setup but anyway, apart from this learning I also look forward to hearing your recommendations. Thx!
the laptop is one of those horrible hp windows 7 starter things so obviously very bad specs, also im not very expirienced so i'd prefer one thats easier to install
Bricked my laptop? Edit: This is more of a rant/rambling on my own mistake, that said I'd appreciate any ideas of pointers to things I could try before I have to take the pc to a technician.
Hw: Gigabyte G5 (16gb ram, Nvidia 3050ti 4gb, 2 ssd 512g + 1tb) I've been using arch for a few months now as daily driver, with Wayland + hyprland, first time with a WM. It was fun, lots of learning and basically every other day included some sort of troubleshooting. It all started with the install, took ages since I used luks for the drives and lvm to have them partitioned as follows: 1gb for efi Then the luks on both ssd with the lvm inside holding: root, home and swap.
It was all good until last night, I added the black arch repo and tools in order to run some forensics on an old drive today, it was late, I messed something up with dependencies or something, not sure, but in the morning I just didn't want to get to troubleshoot, decided to distro hop back to mint, solely because my workload is picking up and I want something stable (I plan to get back to arch when I get an extra machine to toy with).
Anyhow, I backed up my files to an external drive, stick ventoy in the box, run live mint, used the disk utilities to format the drives as I wanted to drop the lvm since I'll likely get another ssd for xmas and there are only 2 slots so I would need to redo the table anyway. I then run the install app, got some error which I stupidly ignored thinking I could reboot into the same iso and try again but after selecting iso on ventoy it gets stuck at loading initram...
Tried different isos, all the same, not working, the uefi/bios manager doesn't even show the ssd drives and I have no idea on how to begin fixing this... Any ideas? I'm thinking of trying a live stick with balena instead of ventoy but I won't have access to a computer until tomorrow to do that...
Wtf did I do? Any ideas on what I can try to fix this?
Hi, I tried installing various applications with sudo apt install, and I always get an error when it tries to compile it with the make command. I'm not an expert but from the log it seems that there is some sort of conflict with the WiFi dongle (rtl8821CU). Why is it and what can I do about it? It was already a PITA to install the wifi driver, so if I could I would avoid having to do it again.
Thanks in advance.
The OS is Debian 12 running on a very old 32 Bit computer. The kernel is 6.1.0-28-686-pae (i686). Here is the Log:
DKMS make.log for rtl8821CU-5.4.1 for kernel 6.1.0-28-686-pae (i686)
Tue 17 Dec 19:10:19 CET 2024
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/6.1.0-28-686-pae/build M=/var/lib/dkms/rtl8821CU/5.4.1/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.1.0-28-686-pae'
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_vht.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_recv.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_sta_mgt.o
/var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_sta_mgt.c: In function ‘rtw_mfree_stainfo’:
/var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_sta_mgt.c:379:25: warning: the comparison will always evaluate as ‘true’ for the address of ‘lock’ will never be NULL [-Waddress]
379 | if (&psta->lock != NULL)
| ^~
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:107,
from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_sta_mgt.c:17:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/sta_info.h:256:17: note: ‘lock’ declared here
256 | _lock lock;
| ^~~~
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ap.o
/var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ap.c: In function ‘rtw_ap_update_chbw_by_ifbmp’:
/var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ap.c:4397:42: warning: the comparison will always evaluate as ‘true’ for the address of ‘padapters’ will never be NULL [-Waddress]
4397 | if (!(ifbmp & BIT(i)) || !dvobj->padapters)
| ^
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ap.c:17:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:1020:19: note: ‘padapters’ declared here
1020 | _adapter *padapters[CONFIG_IFACE_NUMBER];/*IFACE_ID_MAX*/
| ^~~~~~~~~
/var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ap.c:4417:42: warning: the comparison will always evaluate as ‘true’ for the address of ‘padapters’ will never be NULL [-Waddress]
4417 | if (!(ifbmp & BIT(i)) || !dvobj->padapters)
| ^
/var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:1020:19: note: ‘padapters’ declared here
1020 | _adapter *padapters[CONFIG_IFACE_NUMBER];/*IFACE_ID_MAX*/
| ^~~~~~~~~
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/mesh/rtw_mesh.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/mesh/rtw_mesh_hwmp.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_rson.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_tdls.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_br_ext.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_iol.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_sreset.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_btcoex_wifionly.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_btcoex.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_beamforming.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_odm.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_rm.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_rm_fsm.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/core/efuse/rtw_efuse.o
CC [M] /var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.o
/var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.c: In function ‘rtw_change_ifname’:
/var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.c:2494:28: warning: passing argument 1 of ‘_rtw_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
2494 | _rtw_memcpy(pnetdev->dev_addr, adapter_mac_addr(padapter), ETH_ALEN);
| ~~~~~~~^~~~~~~~~~
/var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.c:925:24: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
925 | void _rtw_memcpy(void *dst, const void *src, u32 sz)
| ~~~~~~^~~
/var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.c: In function ‘rtw_random32’:
/var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.c:2618:16: error: implicit declaration of function ‘prandom_u32’; did you mean ‘prandom_u32_max’? [-Werror=implicit-function-declaration]
2618 | return prandom_u32();
| ^~~~~~~~~~~
| prandom_u32_max
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-6.1.0-28-common/scripts/Makefile.build:255: /var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.1.0-28-common/Makefile:2034: /var/lib/dkms/rtl8821CU/5.4.1/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-28-686-pae'
make: *** [Makefile:2217: modules] Error 2
OS: Ubuntu 20.04.6 GPU: Intel i7-7500U (4) @ 3.500GHz I hope that's all the info needed, but let me know if something else will be more helpful.
TLDR: I'd like to use my computer for more than just drawing in Krita. Ideally I'd like to play at least SOME of my games in Steam. I'm so frustrated and feel so stupid. Please help.
I think I'm the most frustrated I've ever been in my life. I was given a laptop almost a year ago preloaded with Linux, which I've never used before, but was very open to. I thought I knew how to use a computer really well, but this is proving me SO wrong. The main purpose for the friend giving me the laptop was to play games through Steam. The one and only thing I've been able to figure out is running Krita sucessfully. In a year.
I can't figure out how to play any ganes except EuroTruck Sim. It won't even run smaller games like Dorf Romantik or Strange Horticulture. I can't figure out how to put icons on my desktop. I can't figure out how to get Proton to work. I can't figure out anything. I've read forums and I''ve watched videos, but all they've served is to make me feel like the dumbest person alive. None of it makes any sense to me, and every time I try to get something to work, I get errors or the system just doesn't find what I'm looking for. I even accidentally broke the app manager once which was a whole thing in itself to figure out. I've tried looking into other distros, and found one i like better based on reading about it, but i dont know how to install/uninstall/fix any of that, and im terrified of bricking the thing. I'm honestly at the point where I'm considering just buying windows, but I don't even know how to remove an OS and put a new one in.
Hi guys I’m trying to replace my Ubuntu with windows and the process keeps failing when I set up the location windows gets installed in the setup wizard. I’m not sure what I’m doing wrong, I created a bootable USB, used woeusb to install it on the usb (I’m pretty sure it automatically installed it NTFS), and get to the part where I can navigate through the setup wizard. However, after I choose the location I want to install windows through it fails installing at like 10%. The partition I’m installing windows has in has nearly 500 gb of space. There are other partitions on the drive and I saw somewhere I should just delete all the partitions and then try it but I’m scared I’m going to mess my computer crazy. So far I’ve been deleting one partition at a time and redoing it and it hasn’t been successful so far.
One of the biggest hurdles I found with Linux was terminal anxiety, constantly having to google commands when I wasnt sure how to do some things and then someone said try Warp.
What an absolute gamechanger. Its got a version of ClaudeAI baked in so you can type plain english of what you want and it'll search for the right command, or you can type the command you think and it'll correct or auto-complete.
I feel like this is the type of tool that will get more folks into using linux with confidence
Hello,
Long story short: It was a while ago that a friend of mine installed Zorin OS on my laptop because my laptop is basically an electronic potato and didn't run Windows. He said it would be much better. He installed it and now I'm loving using my laptop.
Now I'd like to know if it's possible to install two operating systems on my desktop computer. It's much more powerful than my laptop and I have plenty of space on my C drive. Since I'm going to format my computer anyway, I'd like to know if it's possible to install Windows 10 + Zorin OS.
Any advice would be welcome and I'm also new to this kind of thing, so please be patient with me.
I want to partition sda3 on my hard drive. It's 500GB and contains my system files. Someone suggested I resize it to something like 500MB to contain the system files, and then partition the rest as needed, but I don't know what'll happen to my documents and pictures, etc., which I presume are also on sda3 (sda1 and 2 are already tiny, so they can't be there). How does this mysterious process work?
Edit: i'm running Mint 22 Xfce.
Hi people I have a 11 year old laptop that runs windows 11 and I want to transform to Linux So all of the apps I use like blender and stuff are on Linux except Autodesk's Autocad and Revit and I hate them for that I can't run a VM because how I could do that on a i5 2 core 5th gen
Any ways to use them on Linux ?
I don't have experience using Linux and have only done some research on it such as distros etc.
Is streaming easy to do on Linux? I know some things that work properly with windows don't work that well, or at all with Linux. And for some things there are worK arounds. For example to game you would use proton to make it work for most steam games. And then there's "solutions" that are much more complicated, and people who are not tech savvy cant really do them. I'm in this category. I want to use a Linux computer to stream movies and TV shows. Mostly from sites like kiss anime and 123movies, along with other sites shown in the FMHY THREAD. Every once in a while I may also try to use it with official streaming services like tubi, Netflix etc, but I mostly want to use it for FMHY type streaming sites for shows. Does it work exactly as it would for Android smartphone or windows computer where you just open a web browser and go to the site and click play? Is it that easy or are there additional steps I need to do?
I just installed debian in my pc and it successfully installed but after installation, when I tried to boot it it doesn't boot, and was showing no bootable device found in my BIOS also it is not showing in my boot options, can anyone please help me in this, I'm using dell Vostro 15 3568 and the OS is being installed in an SSD
Every time I try to boot the laptop it says it can't find a BootDevice or loads into grub. Even after changing the boot order it refuses to recognise or open windows. Any way to fix this? The Linux on the USB was Mint.
No f*cking way I'm going to update to win11, I don't even play games that use anticheat like battleye anymore so what the f* ever.
What distro should I go for? Thinking of Ubuntu cuz I used it before on VM
I don't have a dedicated graphics card, running a simple Ryzen 7 5700g with Vega 8 and run most of my games on ultra - medium 30 - 60 fps locked.
Games that I play the most are:
Lord of the Rings Online, DC Universe Online, Starwars The Old Republic and run PS2 emulator like PCSX2, maybe some Minecraft with friends (will I have trouble running it?)
Edit: Some fellows are recommending https://bazzite.gg/ as a gaming Distro, what you guys think?
this is my second post on reddit in my whole life .i as a beginner tried to ddual boot mint xfce but ubuntu security package or mirror was causing issues while updating and mint is a fork of ubuntu which is a fork of debian so i chose manjaro i was really nervous but chatgpt guided me along the way . do you think we should promote chatgpt as installion guide and which was your first distro .thank you very much for reading
Hi all,
I'm facing a strange issue on my Ubuntu 20.04 system. Since yesterday, every time I reboot, I keep getting a popup saying: "Authentication is required to refresh the system repositories."
I enter my password, but the dialog box reappears repeatedly. I've entered my password over 37 times today, and it still doesn't stop! I can’t use my computer properly because of this.
Here’s what I’ve tried so far:
Deleted problematic files from /etc/apt/sources.list.d that seemed to cause issues.
Ran apt-get update and apt-get upgrade to ensure the system is up-to-date.
Disabled automatic updates (unattended-upgrades).
Despite this, the issue persists. I suspect it might be related to PolicyKit (polkit) or some buggy service repeatedly triggering repository updates.
Has anyone else faced this? How can I resolve this permanently?
Thanks in advance!
Hey guys. As i state in the title i need some help applying the preempt_rt patch on a machine running alma linux 9 and edit some kernel configurations. I've found a lot of helpful instructions about ubuntu, but the closest thing to alma linux that i found was about RHEL.
So is it the same process as Ubuntu? Do i download the corresponding patch, make any neccessary adjastments, compile it and install it ?
Any advice would be greatly appreciated
Sorry, but I ran out of ideas. I want to see an icon for DoubleCommander, which I have as Appimage, in Dash. So I made a file "doublecmd.desktop" and put it in "/home/user/.local/share/applications":
[Desktop Entry]
Name=Double Commander
Comment=Double Commander is a cross platform open source file manager with two panels side by side. Terminal=false Icon="/home/user/.local/share/icons/doublecmd.png" Exec="/home/user/Double Commander/doublecmd.AppImage" %F
Type=Application
MimeType=inode/directory; Categories=Utility;FileTools;FileManager; Keywords=folder;manager;explore;disk;filesystem;orthodox;copy;queue;queuing;operations;
And still I have a standard "gear" icon. What I did wrong? My system: Ubuntu 22.04, GNOME
Hi, I used Linux Mint for a couple of months, and honestly, it was a great experience for a first-time Linux user like me, until yesterday. Somehow, my PC did not start properly. When I turned on my PC, it showed only a black screen. The computer is running; I can hear the fans and see the motherboard logo initially, but then just a blank black space. I tried reinstalling Linux Mint; I was able to install it using compatibility mode, but after booting, it was the same. I turned off secure boot, but it did not help. I am only using Linux Mint; there is no other OS, so it does not seem like a multiboot problem. I am thinking maybe it is something related to my SSD, but I can see it in the BIOS, and I can even see the storage amount and brand name.
Do you have any idea how I can fix this issue?
PC specs: CPU: Ryzen 5600g RAM:16GB DDR4 MOBO: MSI B450M A PRO MAX SSD: 240GB SSD
EDIT: I managed to solve my problem using a program called Boot Repair. I installed it while in recovery mode, and it worked. Now I can boot normally without using GNU GRUB; it boots flawlessly.
This is weird...I'm running FF 133.0.3.
I've always used private tabs as temporary sessions (logging in to various sites, etc). However if I log in to a service, close the private tab (but keep my main tab open), and then relaunch a private tab later, it still shows me as logged in to that service.
I'm 99.99% sure that's not how it used to be. You used to be logged out if you closed the private tab.
Is this a glitch? Anyone else experiecning this?
basically this may be dumb but i installed fedora kde thru fedora
media launcher but didnt verify the live mediaand directly installed and
now its behaving wierdly as in the kde welcome its showing a website
called fedoraloveskde , i havnt seen this in anyother kde distro and
bluetooth seems off , took long time to connect , also is it possible to
verify that i have installed fedora without any malware now
I am a noob in this type of thing and I hope this is a good subreddit to post about this 😅. So basically what I want to do is, when I connect to my mobile hotspot from my laptop, the ip in the proxy setup should automatically change to the ip of my mobile hotspots ip. so like whenever I connect to the hotspot it should change automatically without any input. I hope someone can help with this.
Btw I use ubuntu if it is any help.
Thank you in advance
How does full-screen programs, like games (like dota or any steam game) works with tiling? I just installed pop_os (I know how to use terminal haha) and wanna try hyprland
I am relatively new to this and have been trying to create a dual boot on my laptop. My Windows operating system is installed on an SSD, while Linux is on an HDD. Both drives are configured as GPT. However, when I restart my computer, it only shows Windows as the boot option. I have to go into the UEFI settings and manually select Linux to boot into it. The same issue occurs when I try to boot from Linux.
I attempted to use EasyBCD, but it showed an error indicating that my PC is using EFI mode, and the option to add new Linux entries is not enabled. Is there any way to resolve this issue?
I have an old XPS laptop with an intel i7 CPU, I need mostly basic web browsing plus heavy terminal usage, in that respect ChromeOS seems a good solution, but Debian 12 also is a good solution, and I have more flexibility, also it is very light.
Based on your experience between the two linux OSs, which one would be more power efficient to get longer battery life and with a smart use of the resources cpu, ram, disk, etc. Thanks
I've had this idea in my head and am looking into actually making it now but don't know where to start since I've never made anything like this, I'm also new to linux (I use mint but would like this to work on any distro if possible).
The idea is basically similar to a folder on the desktop but when the mouse hovers over it it expands and shows its content. This is to group desktop apps and reduce icons on my desktop but still be quick to launch any app.
Where should I start to make this? I have experience in a variety of coding languages and am not afraid to learn more but what is best for linux? Is there anything I should know about when developing features for linux? Also would this count as a program or desklet, I don't know what this would qualify as.