/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

258,824 Subscribers

1

Aide - multi écrans Kubuntu 18.04

Bonsoir à tous,

J'ai ce PC https://www.laptopspirit.fr/189502/acer-aspire-e5-575g-73xf-pc-portable-15-pouces-i7-kaby-lake-940mx-a-649e.html

je l'utilise sous kubuntu 18.04, je raccorde 2 écrans en HDMI par l'intermediaire d'un HUB USB sur le port USB - C du PC, je n'ai pas de partage d'affichages. Par contre quand je branche une clef USB sur ce HUB elle est reconnu et visible sur le PC.

Le HUB fonctionne bien car je l'utilise sur le PC du boulot WIN10 sans aucun problème.

Quand j’utilise les ports HDMI et VGA du PC en direct vers les écrans ça fonctionne.

Pouvez vous m'aider ?

0 Comments
2024/10/26
21:11 UTC

1

new linux install

hello i bought a cheap latitude 7480 off the bay just to put linux mint on. it came with no hdd or ssd. i have now put in a 500gb ssd and want to install linux mint from a usb drive. i wantted to ask a few questions so i do everything right.

i have installed linux mint on my other laptop so am quite confident of the process. can i just do the install from the usb flash drive without needing to do anything before? im not sure but i think i might have read previously when doing linux install your bios should be up to date. i checked my laptops bios and it from 2017 and i went on dell website and the latest bios is aug.'24. do i have to update the bios to the latest? if so how would i do that or can i update after installing linux?

would it be better to install windows first and once that is up and running and everything on the laptop works fine then install mint after?

is there anything different i need to do when installing mint from the flash drive (considering it currently has no operating system) or will it be the exact same procedure as last time?

1 Comment
2024/10/26
20:23 UTC

2

Can't boot or install Ubuntu on PC

Hi,

question from a noob!

I thought it's time to switch to linux, but unfortunately I can't manage to install properly.

The PC is a new build.

I created bootable USB with Ubuntu 24.04.1 LTS.

I also have a functional Tails OS on USB, which I used on another laptop, therefore I know it's working.

On new PC, for both USB it was not possible to boot.

I played a little bit in the BIOS, e.g. CSM Legacy. After that nothing worked (can't acces BIOS) and I reset motherboard via CMOS.

After that, I could boot Tails and it worked. After shut down I tried to boot Ubuntu and it also worked. But when trying to install it never made it through. Always some failure occured. After another shut down it was not possible to boot Tails or Ubuntu again. I first needed to reset MB via CMOS.

I researched further but could not find proper answer.

Any idea why it's not working? Any idea what could I try?

When anwsering, please consider a noob is reading it :-)

Thx.

  • Information
  • MB: X670 GAMING X AX
  • BIOS Ver.: F2
  • CPU: AMD Ryzen 9 7950X 16-Core Processor
  • RAM: 64 GB
  • NVMe Configuration
  • WD_BLACK SN850X HS 2000 GB
  • DRAM Status
  • DDR5_A1: N/A
  • DDR5_A2: G.SKILL 32GB 4800 MHz
  • DDR5_B1: N/A
  • DDR5_B2: G.SKILL 32GB 4800 MHz
0 Comments
2024/10/26
20:12 UTC

1

Ubuntu Server crashing with kernel stack is corrupted

Every few days, my self hosted Ubuntu Server machine completely freezes, requiring a forced reboot manually. It's running an i7 7700k and 32GB DDR3 (recently upgraded from 12GB). I'm currently using it to host a Minecraft server via Pterodactyl Panel and docker.

I've run both stress tests and memory tests which all returned fine. It doesn't look like the server is having any heat problems either. I've got no other ideas so I figured I'd just ask here.

The final error message is below:

--- [ end kernel panic - not syncing: stack protector: Kernel stack is corrupted in: %pB ]---

1 Comment
2024/10/26
18:58 UTC

1

Best distro for performance on a laptop that barely runs Mint?

hey! i've got an older laptop running Linux Mint Cinnamon right now, since a google search will bring it up for lower spec machines and it's already on my main. problem is, it runs horribly. 720p on youtube with nothing else open lags and skips frames sometimes, and 1080p isn't even a thought. youtube & more than three other tabs slows to a crawl. i can't game with anything else open.

since it's my daily driver for now (my main broke), i need as much performance as possible. any suggestions? i'm fine with not using linux mint and honestly would prefer not to, just for the novelty of it. i heard good things about xubuntu back in the day? if it helps, it kind of runs windows 7 well (and i think originally came with it) since i dualboot it, but i haven't tried with programs since nothing supports it anymore.

the specs are a "AMD A8-7410 APU with AMD Radeon R5 Graphics × 4" processor, 4GB (3.3 usable) memory, and a "Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics]" graphics card

11 Comments
2024/10/26
18:55 UTC

2

Is it worth it for a game dev to switch to linux?

Im a game developer, now the title is a little misleading, i know that its worth it, but theres the steep learning curve to take into consideration, and the amount of things that could go wrong, i use godot for game development, and i use multiple other softwares, now i know that i could use something like wine, but its not as good as running things native. Will my programs still work? how would i go about saving my data and keeing it compatible? Which distro (i think the answer would be ubuntu or pop but idk). Any thoughts?

6 Comments
2024/10/26
18:53 UTC

1

Accidentally deleted files! FML

I made a series of mistakes, and am trying to figure out how to get my life back together.

I meant to run rm -rd ./ but accidentally ran rm -rd ~/. It deleted my ~/code directory before I stopped it, which contained all the programs I’ve written on this machine.

I don’t even remember what all of those programs were, & this isn’t my main distro, so I never bothered backing any of it up!

Is there any way to recover any files, or at least see what files were deleted?

Thanks for your time!

2 Comments
2024/10/26
18:25 UTC

2

Usb Superblock keeps breaking

I have a large usb drive I use for storing files. I used to keep it plugged into my computer at all times because i used it a lot. last week it stopped working

sudo fsck /dev/sdd

fsck from util-linux 2.39.3

e2fsck 1.47.0 (5-Feb-2023)

ext2fs_open2: Bad magic number in super-block

fsck.ext2: Superblock invalid, trying backup blocks...

fsck.ext2: Bad magic number in super-block while trying to open /dev/sdd

The superblock could not be read or does not describe a valid ext2/ext3/ext4

filesystem. If the device is valid and it really contains an ext2/ext3/ext4

filesystem (and not swap or ufs or something else), then the superblock

is corrupt, and you might try running e2fsck with an alternate superblock:

e2fsck -b 8193 <device>

or

e2fsck -b 32768 <device>

using testdisk I recovered my files. I then formatted the drive and made one large FAT32 partition. now three days later the same thing has happened again. I have not had my usb pluged in after i fixed it. does anyone know what the cause would be or how i could stop it from happening again?

1 Comment
2024/10/26
18:22 UTC

1

Having big problems connecting to SSH, and MC server went down and can't bring it back up.

Hey guys,

I'm having a couple issues with my Ubuntu server and I'm not sure if they're related. I can't login to my SSH server anymore and my MC server went down when trying to fix it. I've tried purging and reinstalling OpenSSH, but it still doesn't seem to work. I'm kind of struggling here.

I'm not sure exactly what information to provide.

Ubuntu Version: 24.04.1 LTS

Hardware: AMD 7600x, 64gb DDR5 6000mhz RAM

I'm not sure when the problem started. I just tried SSHing into the server today and it would keep timing out

I purged Open SSH and I tried following the tutorial to install it again, and it seemed like the install worked, but when I tried SSHing again the connection would time out.

I've been getting help from my friend who's proficient in Linux, but we couldn't figure it out.

I can provide chat logs between me and my friend as well as the terminal screenshots if that helps.

Any help would be greatly appreciated. Whatever is happening has brought my MC server down as well and I'm kind of panicking. I can send some form of payment to whoever can help me figure this out. I'm pretty desperate.

It feels like the entire server is bugging out because of it. I dont understand why the MC server would go down because of this.

2 Comments
2024/10/26
17:50 UTC

1

Integrating ClamAV into an Existing Virtual Studio Project

Think I'm going wrong in a lot of places, just looking for help on actually being able to integrate ClamAV into the backend of my project, as I'm making my own antimalware software using a Ubuntu environment. Thanks in advance

1 Comment
2024/10/26
17:04 UTC

3

Dual booting, besy way to 'unplug' NVMe sdd?

I have Linux on my nvme ssd. I want to get Windows on another ssd, either SATA or NVMe. I have read that it is best to unplug all drives before installing Windows. Do I have to unscrew and pull out the NVMe ssd before installing Windows on other drive or is there a better, convenient way to disable it?

7 Comments
2024/10/26
16:51 UTC

2

I got some trouble when I install git clone pop-os shell

SyntaxError: import declarations may only appear at top level of a module

Stack trace:

_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:23:33
ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:124:33
async*_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:368:35
_wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:401:34
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

I got this error , it said the extension incompatible with my GNOME version

But my Gnome shell is 43.9
Need help.

2 Comments
2024/10/26
16:42 UTC

1

[Ubuntu —> Debian) error message: petitions have been written, but… unable to inform kernel

Im trying to switch from Ubuntu to Debian and got the above error message afyer partitioning in installation. I have no idea what I did wrong, and I have no idea how to fix it. I rebooted my computer twice, and even flashed Debian on my hard drive again. Im downloading my version 12.7.

1 Comment
2024/10/26
16:36 UTC

2

Help and Tips for Flatpak Security

Hello! How is everyone?

After trying out various distributions, I ended up choosing Fedora 40. I would like to know if you feel secure using Flatpaks for applications like Bitwarden, Obsidian, TickTick, and MarkText.

Do you have any methods for checking the permissions of Flatpak packages occasionally?

Or would it be better for me to first learn about Flatpak permissions, and in the meantime, use a distribution that has application verification managed more centrally, like those that use APT and Snap, which are managed by Canonical?

P.S. If anyone has recommendations for distributions or tips on good security practices, I would be glad to hear them!

3 Comments
2024/10/26
16:29 UTC

2

Should I reinstall my system at that point? (Can't be fixed from what I have seen)

Window popup when launching steam

I recently launched steam and got this. After that I could not launch steam (reinstalling and etc. does not work). Can this system be saved?

---

OS: Ubuntu 24.10 (has been upgraded two times)

Steam needs to install these additional packages:
libc6:amd64 libc6:i386 libegl1:amd64 libegl1:i386 libgbm1:amd64 libgbm1:i386 libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386 libgl1:amd64 libgl1:i386 steam-libs-i386:i386
4 Comments
2024/10/26
16:14 UTC

8

Whats REALLY the differences between Rocky Linux and AlmaLinux?

what actual difference do they have? I'm going crazy over what really to choose

19 Comments
2024/10/26
14:51 UTC

1

Dumb question, installed Ubuntu 20.10 via USB but it does not detect any of my wireless networks?

EDIT: Typo in title - I downloaded 24.10 and the LTS version and tried both with the same result.

I went to load ubuntu and for about 60 seconds it found my home network. But after that, it decided not to detect any networks. The system doesn't think I have wifi. I've rebooted and re-started the installation but it no longer thinks I have a WIFI device.

After some googling someone recommended loading a hotspot on my phone and plugging my phone in via USB, but that did not do anything.

Ideas? Next steps? Thank you!

7 Comments
2024/10/26
13:00 UTC

1

I Corrupted my Pendrive while using Balena Etcher to create a bootable device

I'm trying to install Ubuntu as a dual boot with my windows 11, however something strange happened while trying to make my bootable USB device.

So, I downloaded latest Ubuntu versions from the offial website, and did the same with Balena Etcher.

Currently my notebook is in windows 11, and when creating my bootable device (I used a sandisk 64gb, apparently it wasn't suitable for windows 11)

suddenly a pop-up asking to format my pendrive appered, which out of nervous I closed thinking it wasn't important, installation went wrong, and my pendrive got corrupted which i don't think is fixable at this point.

Why did that happened? thinking about trying again with rufus later on, but I think it's harder, what do you guys suggest? Thanks in advance!

Note: My notebook is an Acer Aspire 5

Side question: Do you think .iso got corrupted? Should i re-download if I try using rufus?

8 Comments
2024/10/26
12:33 UTC

1

Need help\advice about RDP

Hi guys, so i have a problem with my transition to linux as a main OS, maybe somebody encountered it before or is it other solution out there.

TL;DR: cant use any rdp (remmina, krdc, thincast) client on any distro (arch,endeavor,ubuntu) that i tried, except xfreerdp that crush videobuffer after sometime, any advice?

So, i'm work from home, and one of the required things for it is RDP, and have like a 10 different problems on different distros so far. Couple days ago i installed a Xubuntu 22.04 and RDP just works out of the box, with Remmina 1.4.25 and openconnect. Then i try to update os for 24.04 and it corrupt my ssd somehow, so i fresh install xubuntu 24.04.1 LTS and can't use rdp as in 22.04.

As i saw in remmina trace main difference is versions of remmina it self and some modules in it. In older version of remmina (1.4.25) while connecting i have that trace

(DEBUG) - (rco_on_connect) - Trying to present the window
(DEBUG) - (remmina_rdp_OnChannelDisconnectedEventHandler) - Channel rdpdr has been closed
(DEBUG) - (remmina_rdp_OnChannelDisconnectedEventHandler) - Channel rdpsnd has been closed
(DEBUG) - (remmina_rdp_OnChannelDisconnectedEventHandler) - Channel cliprdr has been closed
(DEBUG) - (remmina_rdp_OnChannelDisconnectedEventHandler) - Channel drdynvc has been closed
(DEBUG) - (remmina_rdp_event_on_focus_in) - Top level name is: RemminaConnectionWindow
(DEBUG) - (remmina_rdp_OnChannelConnectedEventHandler) - Channel rdpdr has been opened
(DEBUG) - (remmina_rdp_OnChannelConnectedEventHandler) - Channel rdpsnd has been opened
(DEBUG) - (remmina_rdp_OnChannelConnectedEventHandler) - Channel cliprdr has been opened
(DEBUG) - (remmina_rdp_OnChannelConnectedEventHandler) - Channel drdynvc has been opened
(DEBUG) - (remmina_rdp_OnChannelConnectedEventHandler) - Channel Microsoft::Windows::RDS::DisplayControl has been opened

And it works ok

RDP that i connecting have layer of security authentication before accessing windows, and with xubuntu 22.04 and remmina 1.4.25 it works ok

then in newer version os and remmina (1.4.35) i have this

(DEBUG) - (rco_on_connect) - Trying to present the window
(DEBUG) - (remmina_rdp_cliprdr_get_client_format_list) - gp=0x5a5b3795d320 sending to server the following local clipboard content formats
(DEBUG) - (remmina_rdp_cliprdr_get_client_format_list) -      local clipboard format UTF8_STRING will be sent to remote as 13
(DEBUG) - (remmina_rdp_cliprdr_get_client_format_list) -      local clipboard format TEXT will be sent to remote as 1
(DEBUG) - (remmina_rdp_cliprdr_get_client_format_list) -      local clipboard format text/plain;charset=utf-8 will be sent to remote as 13
(DEBUG) - (remmina_rdp_cliprdr_get_client_format_list) -      local clipboard format text/plain will be sent to remote as 1
(DEBUG) - (remmina_rdp_cliprdr_get_client_format_list) -      local clipboard format text/html will be sent to remote as 53264
(DEBUG) - (remmina_rdp_event_on_focus_in) - Top level name is: remmina-connection-window-fullscreen
(DEBUG) - (remmina_rdp_OnChannelDisconnectedEventHandler) - Channel rdpdr has been closed
(DEBUG) - (remmina_rdp_OnChannelDisconnectedEventHandler) - Channel rdpsnd has been closed
(DEBUG) - (remmina_rdp_OnChannelDisconnectedEventHandler) - Channel cliprdr has been closed
(DEBUG) - (remmina_rdp_OnChannelDisconnectedEventHandler) - Channel drdynvc has been closed
(DEBUG) - (rf_auto_reconnect) - maxattempts from default: 20
(DEBUG) - (rf_auto_reconnect) - maxattempts from general preferences: 20
(DEBUG) - (rf_auto_reconnect) - maxattempts from general plugin: 0
(DEBUG) - (rf_auto_reconnect) - maxattempts set to: 20
(DEBUG) - (rf_auto_reconnect) - [someaddress.net] network disconnection detected, initiating reconnection attempt
(DEBUG) - (rf_auto_reconnect) - [someaddress.net] reconnection, attempt #1 of 20
(DEBUG) - (remmina_rdp_tunnel_init) - Tunnel init
(DEBUG) - (remmina_protocol_widget_start_direct_tunnel) - SSH tunnel initialization… 

it disconects and try to ssh even i didnt set any ssh creds

so i still can use my RDP with xfreerdp but it have strange overflow in videobuffer (find no fix unf) and i always get disconnected after 5 min to 2 hours when it overflows (try to use different encoding and all, doesn't work for me)

so today i wasted like 6h to setup old version of remmina and just cant resolve all dependence to cmake it,

so i try it all, last 2 months i distrohop from Arch to Endeavor to Ubuntu and have a luck only with Xubuntu 22.04, i read every manual to every app i used, searched every wiki, and i just frustrated as hell so what to do?

  1. Just forget it and use windows (almost all my work activities in windows, so i use it every day anyway)

  2. Setup 2yo distro and forget about updates for year or two

  3. Use something different at all?

0 Comments
2024/10/26
11:54 UTC

0

Can someone tell me how to shrink my Mint partition and install windows?

I know it’s more risky than the other way round, everything is backed up, but windows doesn’t want to install from my USB stick. Please advise. I need a duel boot

12 Comments
2024/10/26
11:45 UTC

1

Video editing wont work, am i just dumb?

First, sorry for my bad english

Hey im using EndeavourOS and no video editing software is working it doesnt matter if i use davinci, shotcut or kdenlive it just wont work. in davinci there is no video output and in kdenlive/shotcut the video and audio isnt matched. But everthing was working for some reason in vanilla arch(yes i really choose vanilla arch for my first distro)

Im using an i7 9700f with a rtx 3060 ti with driver 560 on x11

4 Comments
2024/10/26
11:22 UTC

1

import_mok_state volume full error

I know, a lot of solutions to this exists but they don't seem to work for me. The problem:
I can't boot from any live usb.

I tried:

  1. Disabling secure boot.
  2. Disabling quiet and fast boot.
  3. Deleting all existing keys in secure boot area.

Still getting that error. There are solutions that uses terminal but like I said, I can't even boot from live usb.

I got that error 1 year ago when i wanted to try linux Mint. I remember solving it by deleting the keys. But why its not working again in the same machine?

0 Comments
2024/10/26
11:16 UTC

1

Assistance required!

Didn't do well on 2nd interview with a well worthy company, because I lacked on SQL.. So now Im looking on DIY project that one can do on Linux systems that will include SQL (MySQL) to consolidate Linux command, ecosystem but also help on improving SQL usage and knowledge to it!

Thanks in advance!

2 Comments
2024/10/26
10:04 UTC

4

Looking for a Reliable Alternative to Pop!_OS 22 for Development?

I've been using Pop!_OS 22 for a while, and it's been a solid distro overall. However, I recently hit a roadblock trying to install a preview version of the .NET SDK—Pop!_OS isn't supported, which has pushed me to consider switching to a different Linux distribution.

My primary use case is software development, mainly with C# and .NET. I also use tools like VS Code, JetBrains Rider, WebStorm, and Kdenlive. I’d prefer to avoid Windows, as it doesn't suit my workflow.

One of the things I really like about Pop!_OS is its shell, especially the shortcuts for tiling modes and quickly switching between stacking mode and other window arrangements. I heavily rely on features like stack tiling, workspace navigation shortcuts, and window management using key combos (like Win + arrow keys). I also enjoy customizing the UI for a clean, appealing look.

I’m looking for a reliable distro that offers a similar experience and won't require frequent switching. Any recommendations?

7 Comments
2024/10/26
09:56 UTC

1

Linux kernal bug?

Hi,

I just tried turning on my laptop (Fedora Sway) and got a bug when clicking with the latest kernal:

71.458123 watchdog: BUG: soft lockup - CPU3 stuck for 25s! [(udev-worker):556]

I tried restarting 3 times and got same problem but when i started up with an earlier kernal version i booted up fine.

Is this just a bug in the latest patch?

Thanks

5 Comments
2024/10/26
09:28 UTC

1

Random issues

Have been using Linux on and off since the late 90s. However I haven't used it long enough to fully understand what I'm doing.

Atm I'm running Kubuntu on two computer and I like always run in to issues I can't resolve.

When asking around the answers to my questions are either 'you are stupid, you use the wrong gpu or hardware, rtfm'.

So according to the last options of answers what to do with: playing games in Steam with two monitor makes the game end up on 2nd monitor unable to move it back with the correct resolution. This when playing and watching Netflix. Sometimes the computer isn't booting up, just a blank screen. Maybe the shutdown command isn't working and making the system hibernate?

I for one advocate Linux especially using it when there are no need for Windows native programs. But the small issues becomes big and a dealbreaker eventually. Windows has its issues but it's way more polished (like a turd?) And that's really sad.

4 Comments
2024/10/26
09:28 UTC

1

how to disable bd prochot

0 Comments
2024/10/26
08:50 UTC

7

Really small distro for old netbook?

Hello! I have ASUS Eee PC 2G Surf with only 1,9Gb of memory, can anyone suggest distro that will fits on that? Wanna use netbook for web-searching and watching films downloaded via torrent Thanks!

23 Comments
2024/10/26
06:40 UTC

Back To Top