/r/linux4noobs

Photograph via snooOG

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:

  • your operating system and version
  • the hardware you're using
  • a description of the problem
  • output that was displayed (if any)
  • the things you tried to fix it
Smokey says: encourage wildlife in your meadow to fight climate change! [see more tips]

Questions are encouraged. If you fix the problem yourself, please post your solution, so that others can also learn.

Note: ensure to redact or obfuscate all confidential or identifying information (eg. public IP addresses or hostnames, account numbers, email addresses) before posting!

Resources:

Sort posts by flair:

Other subreddits you may like:

/r/linux /r/linuxquestions
/r/ubuntu /r/linux_devices
/r/fedora /r/linuxaudio
/r/debian /r/linux_gaming
/r/gentoo /r/linuxhardware
/r/linuxmint /r/unix
/r/archlinux /r/BSD
/r/opensuse /r/24hoursupport
/r/slackware /r/techsupport
/r/crunchbang /r/buildapc
/r/manjarolinux /r/minipcs
/r/kubuntu /r/unixprotips
/r/lubuntu /r/linuxprojects
/r/xubuntu /r/distrohopping
/r/pop_os /r/FindMeADistro
/r/zorinos /r/AskLinuxUsers
/r/coreos /r/embeddedlinux
/r/solusproject /r/virtualbox
/r/mxlinux /r/linux_discussion
/r/arcolinux /r/wine_gaming
/r/parrotos /r/VFIO
/r/puppylinux /r/homenetworking
/r/elementaryos /r/homelab
/r/ubuntuserver /r/homeserver
/r/alpinelinux /r/bash
/r/openwrt /r/commandline
/r/linuxfromscratch /r/linux_programming
/r/redhat /r/linuxdev
/r/centos /r/linuxadmin
/r/gnome /r/sysadmin
/r/kde /r/netsec
/r/lxqt /r/gnu
/r/lxde /r/libredesign
/r/xfce /r/freeculture
/r/cinnamonDE /r/opensource

Does this sidebar need an addition or correction? Tell me here

/r/linux4noobs

242,816 Subscribers

1

Wifi stops working soon after startup

I can see my network but can't connect - except that it will immediately connect after reboot, briefly. This began after an update. I'm using Ubuntu 22.04, kernel 6.5.0-1025-oem #26

I'm seeing 'No Wi-fi Adaptor Found' in the wi-fi settings when it's turned off. I ran lshw -c network in the terminal and can see I have a wireless interface from MediaTek Corp. The driver is mt7921e. Driver version matches the kernel. I ran lsmod and can see this driver as well as a lot of other stuff I don't understand.

I'd love advice on how to troubleshoot this further or better still, fix it. I am a total noob.

0 Comments
2024/07/11
11:35 UTC

1

Nvidia Driver with Ubuntu22.04

I want to fully reset my pc and reinstall a few things with other versions one of those things is my Nvidia Driver. I was told i need to istall one of the drivers that shows up when using the command Sudo ubuntu-drivers devices.

https://preview.redd.it/k84ugr6hcvbd1.png?width=1238&format=png&auto=webp&s=6bcf4d55ece928954733bf8bfe1a34a782a0edf9

my problem is now that i dont know which one is the best. Do you have experienced any pro or cons with any of the drivers. I am using a Nvidia RTX A4500 and i want to install cuda 12.1 so i need atleast 525. Any thoughts on which one i should get? Tyvm

2 Comments
2024/07/11
10:46 UTC

1

I Recently Got the Beelink S12 Pro Mini and Need Help

I Recently Got the Beelink S12 Pro Mini, and it came with Windows 11. However, I'm eager to try Linux. My first choice was Linux Mint, but after struggling for 8 hours with graphical issues and other glitches, I switched to Ubuntu, which runs perfectly. Still, I prefer Mint for its user-friendly interface. My main computer runs on Windows 11, but I want Linux Mint for work since I'm a web developer and it uses fewer resources.

2 Comments
2024/07/11
10:40 UTC

0

Correct Workflow for Win11/Win10 Dualboot with Ubuntu

Hi there,

I work at a university (that really doesn't really support Linux. I know...) and we haven't switched to Win11 yet. I just got a new workstation that supports Win11 (Secure Boot, TPM2 etc.).

I want to prepare the system so that it can run Windows 10 and Ubuntu 22.04 LTS right now, but can then be seamlessly upgraded to Win11 on the Windows partition as soon as it's rolled out here.

I want to install both OS on different drives. Windows 10 on NVME and Ubuntu on SATA SSD.

What would be the correct / best workflow and order to install everything so that I don't have any trouble with secure boot, TPM etc.

Cheers!

5 Comments
2024/07/11
09:40 UTC

2

After Debian 11 -> 12 no wifi

I upgraded this laptop from Debian 11 to 12. After upgrade there is no wifi.

(and the option to start windows did not show up but that was solved by uncommenting GRUB_DISABLE_OS_PROBER=false in /etc/default/grub).

$ lspci |grep Network
04:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)

nmcli connection up MY_WIFI
Error: Connection activation failed: No suitable device found for this connection (device enp5s0 not available because profile is not compatible with device (mismatching interface name)).

$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether ac:9e:17:02:12:7c brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.32/24 brd 192.168.0.255 scope global dynamic noprefixroute enp5s0
       valid_lft 3470sec preferred_lft 3470sec
    inet6 fe80::ae9e:17ff:fe02:127c/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

$ sudo rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

$ uname -a
Linux deba 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux

$ cat /etc/debian_version
12.6

Thanks

4 Comments
2024/07/11
08:51 UTC

1

gnome extension disables after reboot

using arch, gnome. I have this gnome extension on my laptop named Lenovo Battery Threshold. It's useful to keep my battery alive as my laptop is always plugged in. When I reboot/power off arch, though, the extension gets disabled, and I have to re-enable it again. It also asks for my password when I enable it. How do I enable it permanently?

I posted in other subreddits only to get no response. Any help would be appreciated. Thanks.

edit: I just ended up changing my extension.

5 Comments
2024/07/11
05:32 UTC

1

Why is my printer not printing?

My printer is active & I can see it in printing device settings but when I click print, it's not responding. Help me troubleshoot this problem. I'm new to linux & I can't find any good solutions. I'm using ubuntu 22.04. The printer I'm using is HP laserjet P1007.

4 Comments
2024/07/11
05:25 UTC

1

.exe files on chromebook

I want to play a game meant for Windows on my Chromebook but I have seriously zero knowledge on coding/Linux/etc. and I don't really understand a lot of the computer-y talk used in similar threads(;^ω^)Is it worth it to install a game manager and compatibility layer? If it is, are there any that are better than others? The game is about 500 MB if that makes any difference. Explanations I find seem simple enough but eventually I'm lost, so even if my game works with the software, it's possible that I won't even be able to finish setting it up. I've tried to download Steam for ChromeOS but it isn't available for my Chromebook. Should I just save up for a Windows laptop? If anyone wants to help a girl out, I'd appreciate it!!

9 Comments
2024/07/11
05:17 UTC

1

Linux Mint full disk encryption vs creating encrypted partition after install

hi,

I'm just trying to understand the difference between how linux mint has installed full disk encryption, and what I have configured on my own in terms of an encrypted partition after the fact

Linux Mint installed the following:

disk 1:

partition 1 -> /boot/efi

partition 2 -> /boot

partition 3 -> LUKS -> LVM2 PV

using KDE Partition Manager I can see that the LVM2 PV is actually mapped to /dev/vgmint -> /root and /swap_1

now... I want my own encrypted partition and have set this up as follows:

disk 2:

partition 1 -> LUKS -> ext4

basically I am wondering if this is acceptable or is it best practice to also place the single ext4 within LVM2 PV? I am not using multiple encrypted partitions so I don't require an LVM2 PV - and in fact when I use KDE Partition Manager to create a password protected LVM2 PV I don't seem to be able to create the subpartitions underneath it (would this be where I add a new volume group, and map it that way?). but in any case, there would only be 1 partition in the volume group...

I presume the mint installed has installed with an LVM2 PV so that the swap and root partitions are both encrypted, and are basically both unlocked with a single password

just looking for suggestions or confirmation, thanks

tldr: if you only have 1 partition within a luks partition, should I create a volume group or just directly create an ext4 partition

1 Comment
2024/07/11
04:16 UTC

0

Upgrading Ubuntu to Kubuntu

I'm using ubuntu 23.10. Can I use a live usb of kubuntu 24.04 and upgrade to kubuntu with our losing user data.?

5 Comments
2024/07/11
04:08 UTC

1

Best Linux Distro for Daily use, Developement, and Little Gaming?

I recently installed the Ubuntu as dual boot in my laptop. Because I has only 8GB RAM. my Windows 11 eats my ram 70% on idle. So I want more ram resource to run heavy apps so I installed Ubuntu. Later I feel bored of ubuntu. Then Tried Arch Linux with Hyprland setup. I Fcuked my win 11 partition while installing it. Then re installed and tried manjaro KDE then it always crashes. So I need a good distro for me.

9 Comments
2024/07/11
03:53 UTC

1

Error bluetooth no active ubuntu

Hello, I have Ubuntu 22.04 lts, ​​yesterday bluetooth was working normally. Today I turned it on and it does not detect the bluetooh service. When I try to start it I get the following error:

Failed to start bluetooth.service: Unit bluetooth.service failed to load properly, please adjust/correct and reload service manager: File exists See system logs and 'systemctl status bluetooth.service' for details.

Can help me ?

1 Comment
2024/07/11
03:49 UTC

4

Systemd-boot with snapper

I have a question, If I need to do a rollback with snapper, what issues I would have with systemd-boot and what would I need to do to solve them.

1 Comment
2024/07/11
03:19 UTC

2

Xubuntu 22.04: How to determine what icon is being used here and change it in the icon theme directory?

I'm running Xubuntu 22:04 and I'm using the Windows 10 icon theme.

https://preview.redd.it/0z4vgnngqsbd1.jpg?width=902&format=pjpg&auto=webp&s=4a21a16e90757f3065836461f64d9fbd372f229e

This is GNOME DIsks and as you can see, there is an error. The icon used here is blurry. Since the developer for this icon theme doesn't actively support this anymore, I'd like to fix it myself.

The icon theme is installed in "/home/ardouronerous/.icons/Windows-10-master/" and the icon image file is somewhere in this directory, and I'd like to know the location so I can replace it.

Is there a terminal command to determine the location of the icon image file?

Thanks.

UPDATE: I found the file: /home/ardouronerous/.icons/Windows-10-master/scalable/devices/drive-multidisk-symbolic.svg, and I replaced it with this: /home/ardouronerous/.icons/Windows-10-master/256x256/devices/drive-multidisk.png

I've renamed drive-multidisk.png to drive-multidisk-symbolic.png.

Here's the result:

https://preview.redd.it/u8silubbmubd1.jpg?width=902&format=pjpg&auto=webp&s=940d955ad21c4f2ac030e1e05de761560182c00c

2 Comments
2024/07/11
02:01 UTC

1

KDE System Settings not following system theme

So I've installed qt5ct, qt6ct and lxappearance for setting GTK and QT themes and I've set them all to Breeze dark. However, this theme is not being applied to the KDE System Settings app.

Here is what it looks like: https://imgur.com/a/WQdNqcO

I'm using the Sway window manager on Wayland on KDE Neon.

Any help appreciated, thanks!

1 Comment
2024/07/11
01:38 UTC

7

How do you choose a distro... and then stick with it?

I have been dabbling with linux for a while. I run a home server (windows server, i know i know) but have spun up a handful of linux VM's for various tasks. Mostly just tried ubuntu and mint since they seemed to often be recommended as easier to use, and for my VM's, I dont really actively use them so just wanted to set up something easy.

Anyways a few weeks ago, I finally decided it was time to run linux on something I actually use somewhat often. So I took a 6 year old laptop, reinstalled windows, then partitioned the drive in half and started installing linux. I have gone through ubuntu, tuxedo, kde neon, and am now running fedora kde.

I am honestly not quite sure exactly what I am looking for. Most of what I am using this laptop for is just basic browsing so I think I am most interested in just a slick desktop environment that looks nice more than anything. Really only tried gnome and plasma so far. Both are nice, but seem to have little oddities here or there that are kind of turn offs. As an example, there seems to be no way by default to adjust touchpad scrolling speed on gnome. And on plasma, I get the occasional graphical glitches, and its just not as slick or smooth as gnome, but I do like the customization.

So, open to suggestions. Open to ideas about how to actually determine what I am looking for. Or just maybe that distro hopping is totally fine anyways. I also consider myself relatively tech savvy, so not afraid to mess around, and not worried if I break something since at worst I can always just reinstall.

32 Comments
2024/07/11
01:31 UTC

27

Install and forget Linux distro for 10-20 years?

Is there a Linux distro that once installed, can be left alone until the machine dies?

I do not wish to have to keep reinstalling a new version every 2 to 3 years or 5 years. Just install it once on a fresh machine and wait for it to die from a hardware failure. If every week, it has a few megabytes of security updates, and they're downloaded and installed in the background or when it's idle, I am fine. I just leave it and don't have to bother with dnf or apt.

Previously I tried out Fedora. It's like a rolling release with software updates every single day. To the point that everyday when I boot up my machine, the first thing I would do is run:

$ sudo dnf update

And they would run for 30 minutes each day, downloading, replacing files and figuring out the dependencies. Every day I spend more time doing system updates than just getting on with whatever I want to do.

Miss the updates for a few weeks? The next thing you know, the updates would accumulate to several hundred megabytes. It's like installing a huge Windows service pack or rollup package every 2 weeks!

I also tried out Ubuntu LTS previously. Updates come in on a daily basis, but at least apt seems quicker than dnf. It can finish its daily update in 10 to 15 minutes. But still software updates seem to come daily.

Should I just install a Ubuntu LTS version and move on? Or look at Debian? What's the best distro for a install once and forget about it totally? I don't need the latest and greatest software or device drivers.

83 Comments
2024/07/11
01:09 UTC

1

i cant update pls help (ubuntu)

when i try to install an update it showed me this

this package system is broken

Check if you are using third party repositories. If so disable them, since they are a common source of problems.

Furthermore run the following command in a Terminal: apt-get install -f

Transaction failed: The package system is broken

The following packages have unmet dependencies:

libgssapi-krb5-2:i386: Depends: libc6 (>= 2.33) but 2.35-0ubuntu3.5 is installed

Depends: libcom-err2 (>= 1.43.9) but 1.46.5-2ubuntu1.1 is installed

Depends: libkrb5-3 (= 1.19.2-2ubuntu0.3) but 1.19.2-2ubuntu0.3 is installed

libkrb5-3:i386: Depends: libc6 (>= 2.34) but 2.35-0ubuntu3.5 is installed

Depends: libcom-err2 (>= 1.43.9) but 1.46.5-2ubuntu1.1 is installed

Depends: libkrb5support0 (= 1.19.2-2ubuntu0.3) but 1.19.2-2ubuntu0.3 is installed

Depends: libssl3 (>= 3.0.0~~alpha1) but 3.0.2-0ubuntu1.12 is installed

how do i fix it pls help

7 Comments
2024/07/11
00:37 UTC

1

Unable to power off laptop

So I've found myself in a bit of a pickle. I know next to nothing about linux, but I attempted to install Mint for shits and giggles and expected to learn along the way. So tried to boot from my usb, but it got stuck on the mint logo for about 10 minutes so I tried again in compatibility mode. I ended up on the screen in the image, which I think is called emergency mode? Most of the keys on my keyboard aren't recognized anymore, including the power button. Unplugging the USB doesn't help, nor does shutting the lid. I can't figure out how to get out of this. Is there a way to bind the power key from here, or will I have to charge my other devices off my laptop and wait for the battery to die?

https://preview.redd.it/4kgfpwuw9sbd1.jpg?width=3000&format=pjpg&auto=webp&s=0c516429bf6ac69c5d3d587d4068fd6ccbc76d57

8 Comments
2024/07/11
00:23 UTC

5

Does the frequency you fire up your system determine what distro you should use?

Hi gang, Due to life, I don't get to fire up the PC as often as I would like. Maybe once/twice a week or even fortnight. There are times where its once a month.

When I do, it's to play Morrowind or oblivion or old school dos on dosbox-x or modding said games only to test it like a month later lol.

Would that mean with my situation, I'd be better off running a distro like Mint or Ubuntu taking into account the frequency of releases and so on?

Just trying to comprehend as in rolling releases with the other distros that are arch or Fedora based, with those you would need to be a regularly using the PC?

Thank you in advance.

12 Comments
2024/07/10
23:55 UTC

2

preferred/recommended SSSd kerberos ticket methods

I'm moving away from some legacy back end stuff over to doing more AD related setups with our Linux systems, and after reading way too much about SSSd configs to get things working, I had stumbled on to sssd-kcm.

I started using it a while back vs the default /tmp/ file that things roll with in kerberos land, but I wasn't sure if anyone has hit any downsides to using it anyone here may have hit using it?

How does it really compare in reliability and security vs the file method or even the KEYRING: methods?

I've read over sites such as sssd.io but, while having useful info doesn't really give that real-world lessons learned.

Most of these systems are just standard setups, while some do use containers and related bits.

I appreciate any sort of real world insight anyone might be able to provide.

1 Comment
2024/07/10
23:44 UTC

1

Ungoogled Chromium won't launch on SwayFX (Wayland)

I just installed SwayFX from source and tried to launch my install of Ungoogled Chromium (which previous worked fine on Sway proper). In short it doesn't launch, Firefox works though.

When I launch it journalctl says:

Y=pts/1 ; PWD=/home/username ; USER=root ; COMMAND=/usr/bin/true
Jul 10 16:23:41 ThinkpadX1Yoga kwin_wayland[4535]: kf.windowsystem: static bool KX
11Extras::mapViewport() may only be used on X11

I've tried looking this up but haven't found anything on it.

Any ideas?

1 Comment
2024/07/10
23:28 UTC

1

Older (pre-uefi) Dell XPS can't find bootloader.

I'm in the process of trying to install linux on an older laptop (dell xps 13 L321x) with a traditional pre-uefi bios.

At first, it wouldn't boot to my ventoy usb drive, saying "Operation system not found". After fiddling with the settings in ventoy I did eventually get it to work. However, after installing linux mint and attempting to boot from the internal SSD, it once again said "Operation system not found". Tried again but with fedora, completely deleted all the partitions, and installed with default settings. still no luck. I thought it was maybe ventoy so I used Rufus instead. Same problem. When I'm in the live environment, I can see the partitions and files have been written to the hard drive. My current best guess is that modern linux installers arent equipped with a bootloader that an older machine can recognize. Maybe its a quirk of Dell. Any help would be appreciated.

3 Comments
2024/07/10
23:18 UTC

1

How to turn fedora server into a desktop

Hello, recently I have taken interest in building my own os (if you can call it that) upon the the most minimal fedora netinstall. I’ve chosen to use qtile as my wm. What dependencies and what files do i need to copy and configure for xorg so this can work out. Thanks for the help in advance!

2 Comments
2024/07/10
23:12 UTC

1

Debian 12 on Acer Predator Triton 300: will it work well?

0 Comments
2024/07/10
22:02 UTC

1

Linux Kernel and WALT scheduler/WALT governor - how to change?

Hello,

This is regarding an android tablet, Samsung Galaxy S9+, which uses the walt scheduler and walt governor.

I find the walt gov to be far too aggressive. However, when I change the governor to conservative (my favorite, after tweaking). The kernel panics and the whole device crashes.

Here's the last_kmesg from when that happened, I couldn't find anything obvious:

https://www.dropbox.com/scl/fi/picqpgkvtve5tme7edyxo/crash2.txt?rlkey=g0g511rhdx96fnsbmfy16hnqy&st=74ex6qm2&dl=0

This was the most obvious thing - "collect_rr_data : upload_cause = KERNEL PANIC ( panic_msg = Oops PC = cpufreq_walt_get_adaptive" something is trying to get something that doesn't exist anymore due to governor change.

I am posting here because it is most definitely linux kernel related, I didn't find a kernel specific subreddit. I figured the people here would know best how to fix this.

I also think the fix may be me needing to write my own kernel

1 Comment
2024/07/10
22:08 UTC

1

Dolphin not setting to right QT theme in Sway

So I finally got qt5ct installed and I'm trying to set the QT theme to a dark theme. I have the QT_QPA_PLATFORMTHEME set to qt5ct. It works on other QT apps but dolphin looks like this: https://imgur.com/a/iQVjoQm

Why is it not setting to a dark theme? Here is my qt5ct config:

https://imgur.com/a/5z9OTOi

I'm using Sway (window manager) and KDE Neon.

EDIT: I'm on Neon 6.0 on a Thinkpad X1 Yoga 2nd gen

1 Comment
2024/07/10
22:07 UTC

2

Wanna make the switch but want some advice before I break something

As the title says, I've been thinking of switching to Linux for a while now (probably 4 years or so). I'm no stranger to how it works on a high level since I used it a lot for college courses but never recreationally.

My biggest concerns is my drawing software and Steam games. Currently, I've been playing a lot of Stardew Valley, BG3, and New Vegas. And I wanna make sure the switch won't limit me from access to these games or others. As far as my drawing software, I use Paint Tool Sai. I haven't researched if it would be compatible on Linux, but it's not a proprietary software and made by I think one guy in Japan. Another piece of info is my preferred browser is Opera and would like to keep it that way if possible. I haven't checked if Opera is also compatible with Linux.

I've had thoughts of using my old laptop as a test dummy as I no longer really use it since graduating. Would love any advice or resources that could help me in this. Really tired of these forced add ons from updates and constantly trying to force me to use apps that are "more integrated" with the OS (looking at you OneDrive).

5 Comments
2024/07/10
20:59 UTC

5

What to do when a desktop environment breaks everything visual?

Per a suggestion, I tried out the KDE de on Ubuntu LTS 22.04. Boy do I regret that. KDE was an awful experience with always insisting showing an on screen keyboard and only using 1 monitor, even though in display settings it recognized and named all my monitors. Pressing detect button would keep all but 1 screen black. Just a disaster.

Then uninstalling it was like pulling teeth and eventually I lost access to any DE (Gnome via Xorg or Wayland or neither twice over) and booting ubuntu brought me to tty1. I was able to run timeshift and go back a week to my previous backup, which got me back into the Gnome I knew, except now my graphics are terrible. I half 1 and 1/8 of a screen appearing, and any keyboard and mouse input is taking forever. I can't do anything graphically now, and I can't even get a terminal going. Pressing the super key doesn't do anything right away... I've waited a minute so far and nothing.

The desktop is darker than usual, almost like it's 'inactive" while a pop up window maybe wanting my password due to an autostart application somewhere is active but I literally can't see it... It's probably in the black part of my screen(s).

I had been using some nvidia driver. I have a separate GPU. Some gigabyte 3700 ti or other, IDK, I bought it years ago.

I don't know why timeshift's restoration got me so close, but not all the way back to functionality.

Any ideas?

10 Comments
2024/07/10
21:11 UTC

Back To Top