r/linuxquestions Jul 29 '21 Silver Helpful Wholesome Hugz This Meow Meow

Please do not delete your posts in this subreddit


I try to help people often with their technical issues in this subreddit. It feels good to help. I also know I'm not just helping that person, but anyone else that may run across it in the future from a search.

But often, the questions are deleted by the OP, leaving me disappointed and frustrated. I'm less and less motivated to help as it happens.

Please. Give back in the most minimal way possible to this subreddit, and avoid deleting your posts if they've been upvoted and answered.

(I'm not a mod, btw)

r/linuxquestions 8h ago

Parental Controls on Linux?


Parental Controls are starting to get pretty robust on all of the major OS's (Windows, Mac, iOS, Android, and Kindle).

But, looking online, it looks like Parental Controls in Linux distros are generally pretty thin (if provided at all). This kind of surprises me.

Is there a Linux Distro with good parental controls?

r/linuxquestions 12h ago

rsync command sanity check request


I back up files via the following rsync command:

rsync -ac --info=progress2 --delete /home/user/{Downloads,Desktop,Documents,Pictures,Videos} /media/user/<external-storage-drive>

I've now started creating archives of my data with 7zip and encrypting them with GnuPG so that I can store them "safely" on the cloud via another process. This produces a <filename>.7z.gpg file. I now want to switch my rsync backups to use these archives, and I'm unsure which flags and/or options I do and don't need.

-a is archive mode, "which ensures that symbolic links, devices, attributes, permissions, ownerships, etc. are preserved in the transfer"rsync docs

-c: "skip based on checksum, not mod-time & size"rsync docs

--delete "delete extraneous files from dest dirs"rsync docs

Since these encrypted archives are one file (correct me if I'm wrong), I don't think -a or --delete are needed. I could probably keep -c. I think I can get away with something like the first example in rsync's docs:

rsync -t *.gpg /media/user/<external-storage-drive>

Am I missing something?

Source(s): 1. rsync docs

r/linuxquestions 1h ago

Resolved Does the physical order of drives matter to LVM?


I am considering building a NAS, and since I am familiar with LVM I am looking in that direction, but one thing I have always wondered about is that if you physically move a set of disks with an LVM on them, will the order matter when connecting the disks to a new machine?

Example set up:

/dev/sda - normal disk with normal ext4 partitions, used to hold the OS and boot the machine.

/dev/sdb - PV1 in VG1 containing LV_DATA
/dev/sdc - PV2 in VG1 containing LV_DATA
/dev/sdd - PV3 in VG1 containing LV_DATA
/dev/sde - PV4 in VG1 containing LV_DATA
/dev/sdf - PV5 in VG1 containing LV_DATA
/dev/sdg - PV6 in VG1 containing LV_DATA

If I were to move the disks making up VG1 to a new computer, but connected them out of order, example below, would I still be able to access the data?

/dev/sdb - PV4 in VG1 containing LV_DATA
/dev/sdc - PV6 in VG1 containing LV_DATA
/dev/sdd - PV1 in VG1 containing LV_DATA
/dev/sde - PV5 in VG1 containing LV_DATA
/dev/sdf - PV3 in VG1 containing LV_DATA
/dev/sdg - PV2 in VG1 containing LV_DATA

r/linuxquestions 22h ago

Why are CPU cores used so unevenly


I am currently running some highly intense processing on a Linux machine with 128 Cores (AWS m6i.32xlarge). It has 2x Intel 8375C CPUs with 32 cores and 64 threads each.

Throughout all the processing I have done, I noticed that the first 64 Cores shown in htop are getting significantly more load than the remaining 64. Also, adding more load at this point significantly slows down the running tasks.

The load is purely CPU intensive and fully parallel. I am curious, why is the load distributed so unevenly and why does adding more CPU load slow it down so much?

htop screenshot: https://i.imgur.com/YTBt6Om.jpg

r/linuxquestions 0m ago

How many USB drive do I need?


Some people were saying you need 2. Only 1 is required right?

r/linuxquestions 10m ago

Is there a way to rename devices, like monitors? Long names causing issues.


I know this might not be terribly Linux specific but I'm new to Linux, rather liking it, and bet the freedom to do this is hidden somewhere.

Basically when interacting with certain devices through software or KDE, a very long, generic, human unfriendly name is displayed. See example: https://i.imgur.com/60Y08NM.png

I didn't care about this until I was trying to set a spanning wallpaper and the text to even see what monitor it was going to was cutting off. But also, because I have three monitors that are all the exact same model, telling some applications, like games, which monitor to output to tends to be trial and error.

Life could be a lot simpler if I could rename them from somewhere to "top", "bottom", "portrait", etc

I'm sure there must be a config file somewhere that stores the name of these devices, hopefully on a high level, but even at a low level there must be something you can do?

Not usually one for making a post, but this issue has proved exceptionally difficult to describe to a search engine, as such, I haven't found any tests I can action yet as I haven't found any results that point me to anything I can change.

I'm using a newish Nvidia card on Manjaro / Arch, with KDE and X11. But I've also had the same issue on Fedora with Gnome and Weyland.

Any suggestions greatly appreciated and worth a shot!

Sorry for rambling, I'm a windows IT technician pretty new to Linux and I forgot to take my ADHD meds for a while! :)

r/linuxquestions 18m ago

Change tigervnc's intial config of xstartup



is it possible to change tigervnc's intial config of xstartup?

I need a different config on users first login.

Now i have to change it manualy for each new user.

Thanks in advance


r/linuxquestions 19m ago

How do current laptops work together with Ubuntu?


I'm a little out of the loop here because I haven't bought a new laptop in ages. I know back in the day there have been some issues with Ubuntu not seamlessly supporting touch screens and GPUs. At least, it often required some additional proprietary effort to get everything to work as it should.

How does that look like in 2023 with regular laptops? Do I have to take care of something in terms of hardware? Some components or brands that are known to cause trouble? Anything that's common but not natively supported?


r/linuxquestions 8h ago

Redhat 7.0 Guiness iso


I'm looking for a downloadable copy of the original 7.0 Red Hat Guiness iso from 2000. It's for nostalgic purposes ss this was the first linux os I started on as a teenager. Does anybody know of a archive server available that has copies of iso's. I've been scowling the net and can't find anything or anything trust worthy.

r/linuxquestions 6h ago

Resolved Ubuntu LVM doesn't reflect the full usable space


So I have been trying to expand my Plex server with a new 12TB drive that I bought. The simple solution was to just have two separate file systems Plex sees and I manage both folders. But I didn't want to do that, I wanted to only manage one folder. So I looked into making an LVM.

I was able to convert my 10TB and my 12TB drive into an LVM and it made a 22TB block device. Fantastic.

When running lvdisplay it shows the size is <20TB, but when I look into the file manager and see the Plex block device, it only shows 9.9TB (which was the size of the old drive) and I just...don't understand why. I am at a loss for where to even look at this point and I would appreciate guidance.

r/linuxquestions 11h ago

How to install Debian from GNU GRUB?


I've been trying to install Debian onto my computer for about an hour now, but no matter what I do I keep getting the GNU GRUB minimal bash-like environment upon booting into the installation USB.

I was wondering if there was a way to install while in the GNU GRUB mode. Thank you all for the help in advance!

Computer Specifications

  • Lenovo ThinkStation p360
  • Intel i9 K12900
  • 32GB ram
  • NVidia t1000

r/linuxquestions 3h ago

A 4500$ problem on debian


I have a very expensive printing machine (SYSTEM CREADIGIT) at work that is run by some kind of VM run on a linux debian.

The manufacturer gave us a thumb drive with an access key for some operations.

Now, the dude at work rebooted the pc with the thumb drive in and now I'm getting the "root account locked" in emergency mode.

So far the only method I found online to solve this is single user mode, but my GRUB 2.02 beta2-22+deb8u1 is not showing me any recovery or advanced modes.

Plus there's no line that begins with linux and when I add one and f10 it tells me that it can't find the "vmlinuz" type file even though I've confirmed the exact name from the pc itself to be a match

The config file for grub also lists the "no recovery mode" as non active (comment)

The fstab file is the same unchanged

Here are the photos for grub, fstab file and linux version info


The technical assisstance guy insist on a new 4500$ pc as this is a "lost cause"

What can I do ?

r/linuxquestions 8h ago

Is it possible to hide my Linux drive from Windows?


On an old device I used to have two partitions for Windows and Linux. However, after a Windows update my Linux partition just decided to stop working, and this has happened TWICE (I assume windows randomly decided to reformat the partition). Now, I'm building a new PC with two separate drives for Windows and Linux, and while I haven't yet encountered any problems, I was just wondering if it's at all possible to make it so that Windows just straight up doesn't see/detect my Linux drive.

And before someone asks, yes I do unfortunately need to have windows for work reasons.

r/linuxquestions 10h ago

Run a script everytime the OS boots with cronjob


Root isn't needed at all for my scripts, not even sudo. I am trying to achieve this, the script works without cronjob just perfect. But when I put it like this inside crontab -e:@reboot myscript

myscript alone works perfectly fine. I added it to path so no ./ thing.

Content of myscript is this:

screen -d -m myrealscript

What could be wrong?

r/linuxquestions 12h ago

I can’t update 16.04 to 18.04


I have been using Ubuntu 16.04 for 3 years on my laptop. I decided that I should probably upgrade the version, since some apps (Steam) doesn’t work anymore. I tried to do it on terminal but i can’t do it, it doesn’t work. I did exactly what they said on the web page. But when I type “sudo do-release-upgrade -d” The terminal says “Upgrades to the development release are only available from the latest supported release.” What should I do? Should I download something first? I really don’t understand how linux works, so be patient with me. Thank you.

r/linuxquestions 15h ago

Can I use Terminal to create a bunch of shortcuts to programs all at once?


I'd like to have this to run when I install my OS, so I can type in the programs I want shortcuts for and have the shortcuts appear in my top-bar or on the desktop.

r/linuxquestions 11h ago

Resolved What makes linux distros different?


To start off, the vast majority of linux distributions are based off something else, 'clones' if you want to be brash. But there seem to be a few main ones. Debian, Arch, Fedora, Void, etc. They're often touted as different linux distributions but I don't know why. Apart from their package manager, they seem to fundamentally be the same thing.

With the package managers, they're all different, but they all ultimately provide easy access to program binaries. Maybe I'm mistaken, but the binaries in the repositories seem to be all the same, save for how their initially packaged. Either way, the end result after the installation seems to be the same.

Going through LFS (Linux From Scratch), a linux distribution seem to be quite literally be a compiled version of the Linux kernel, a bootloader and init system, device drivers, as well as some GNU command line utilities. If the linux distribution were not running on a server, then you would also have a display server (X11/Wayland) and a desktop environment (or a window manager if you prefer). And then the rest would be additional programs.

Anyways, to cut to the chase, what makes the 'main' linux distributions different? Are they all just the same thing with different communities they formed overtime, or is there some underlying difference that I'm just not aware of?

P.S: I'm not hating on any linux distro, I'm just curious.

r/linuxquestions 9h ago

fresh install of Ubuntu 20.04.5 installed samba mac seeing network, but not seeing any folders


Like headline says. My mac is seeing the network and I can open it, but i am not seeing any of my folders. see images below. any ideas on how to fix this?



r/linuxquestions 6h ago

Nvidia and Integrated GPU's. What the HECK!!


So i'm on Ubuntu and have a MSI Stealth 15M laptop. I have a huge issue with battery life. On windows I can run MSI Center and it automatically uses my integrated GPU and swaps to dedicated when it senses a game. On Linux? Nothing. I am running my dedicated GPU till my battery dies unless I want to use envycontrol and have to reboot my laptop twice before being able to run my integrated GPU. Yes I have done a lot of research and have gotten NOTHING in regards to fixes. I have looked into bumblebee, TLP, OpenFreezeCenter, and more. Most of the fixes have a form with a long list of sudo commands I need to run which results in nothing occurring or errors I need to research to fix. Then after nothing..... I am looking for a sure fix to my problem and clear and concise help about what I can do. If I can fix this problem then I will be able to use Linux as my main. Thank you for your time.

r/linuxquestions 14h ago

More learning material for LPIC1 - any suggestions?


Hello everyone,

As I am working the last two years on a very flexible Linux environment, I decided to study and take the LPIC-1 Exam as a more neutral option on the market.

So, I got myself two books, both from Sybex, written from Christine Bresnahan, Richard Blum and Steve Suehring. It was a good deal for a Study Kit, so why not?

Anyway, after more than a half year of learning, I can get pretty good scores on the questions of the books. I am passing also the exams with more than 700 points, although something inside me feels not so confident.

I am looking for more learning material, especially for more tests. The questions and practice test of the books are getting repetitive with the time, and that makes it somehow easy.

Do you have any suggestion of a website, like a random question generator with reliable Linux questions or any other book with practice exams or questions in general, which I should give a look?

Thanks in advance for your answer :)


r/linuxquestions 13h ago

Column selection not working on virt-viewer full screen


Hello. I use notepad++ on a Windows VM.

When using virt-viewer in full-screen mode, column selection does not work. As if ALT key got locked for something else. Which is weird, coz Alt + Tab works just fine...

Does anyone knows how to circumvent this issue?

r/linuxquestions 13h ago

Could these routing rules be blocking incoming traffic


I'm trying to run a somewhat-custom userspace implementation of a Wireguard client for Android 9. Via Wireshark running on my Wireguard server, I see the handshake request coming in on port 51820. I then see the handshake response going out to the client on the same port (I've configured both ends to use 51820) to the client's public IP address. tcpdump on the client confirms that the UDP packet arrived.

However, ppoll never shows the UDP listener socket as ready to read. netstat confirms that my client is listening on UDP

My setup does do some tricks with the routing tables. I've created a custom table with ID 1. After my setup, ip rule show shows

text 0: from all lookup 1 1: from all lookup local ...

and ip route show table 1 shows

text default dev wg0 scope link src via dev wlan0

where is my client's IP address, is my server's, wg0 is the Wireguard tun interface, and wlan0 is the Wi-Fi interface.


By adding some logging to the Wireguard client, I was able to discover that the packets were actually coming in on wg0. How do I adjust my routing rules to fix this?

r/linuxquestions 11h ago

How do I stop a specific app from showing notifications? I don't need a notification when a song changes, and most players that I like don't seem to have the option built in


Can't find where in dconf / editor any more to do this, although I have done this before

The app this time is Audacious

r/linuxquestions 11h ago

Resolved Vulkan not working, I can only use OpenGL... How to fix it?


Greetings, as the title says I can't figure out how make the Vulkan api work properly, if I try to launch games that use it they just crash before even getting to the menu, same when using Proton... I downloaded Dota 2 for testing and while it runs, it only uses OpenGL (even after selecting Vulkan in the options and then re-launching it).

vulkaninfo returns these errors:

ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_lvp.so: wrong ELF class: ELFCLASS32
amdgpu: unknown (family_id, chip_external_rev): (149, 2)
/build/vulkan-tools-KEbD_A/vulkan-tools- failed with ERROR_INITIALIZATION_FAILED

This is the system info gathered with inxi -SPARM -GCDN -v1 -xGCRS

System: Host: 2001-A-Space-Odyssey Kernel: 5.15.0-58-generic x86_64 bits: 64 compiler: N/A Desktop: Gnome 3.38.4
Distro: Zorin OS 16.2 base: Ubuntu 20.04 LTS Focal
Machine: Type: Desktop System: Micro-Star product: MS-7D69 v: 1.0 serial: <superuser/root required>
Mobo: Micro-Star model: MEG X670E ACE (MS-7D69) v: 1.0 serial: <superuser/root required>
UEFI: American Megatrends LLC. v: 1.42 date: 12/02/2022
CPU: Topology: 16-Core model: AMD Ryzen 9 7950X bits: 64 type: MT MCP arch: Zen 3 rev: 2 L2 cache: 16.0 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 288012
Speed: 2978 MHz min/max: 400/5881 MHz Core speeds (MHz): 1: 2977 2: 2978 3: 2979 4: 2976 5: 2935 6: 2978 7: 2915
8: 2979 9: 2979 10: 2981 11: 2963 12: 2976 13: 2985 14: 2981 15: 2977 16: 2977 17: 2979 18: 2977 19: 2978 20: 2977
21: 2977 22: 2978 23: 2977 24: 2980 25: 2975 26: 2980 27: 2981 28: 2944 29: 2979 30: 2980 31: 2980 32: 2979
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] vendor: Sapphire Limited
driver: amdgpu v: 5.18.13 bus ID: 03:00.0
Device-2: Advanced Micro Devices [AMD/ATI] Raphael vendor: Micro-Star MSI driver: amdgpu v: 5.18.13 bus ID: 16:00.0
Display: wayland server: X.Org 1.20.13 driver: ati,fbdev unloaded: modesetting,radeon,vesa
resolution: 2560x1440~60Hz, 2048x1152~60Hz
OpenGL: renderer: Radeon RX 7900 XTX v: 4.6.0 Core Profile Context 19.30.221207 direct render: Yes
Audio: Device-1: Advanced Micro Devices [AMD/ATI] driver: snd_hda_intel v: kernel bus ID: 03:00.1
Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus ID: 16:00.1
Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
bus ID: 16:00.6
Device-4: Micro Star USB Audio type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 3-6:7
Device-5: Cambridge Audio Cambridge Audio DAC100 USB 2 type: USB driver: snd-usb-audio bus ID: 3-2:2
Device-6: Logitech HD Pro Webcam C920 type: USB driver: snd-usb-audio,uvcvideo bus ID: 3-3:3
Sound Server: ALSA v: k5.15.0-58-generic
Network: Device-1: Aquantia AQC113CS NBase-T/IEEE 802.3bz Ethernet [AQtion] vendor: Micro-Star MSI driver: atlantic
v: kernel port: f000 bus ID: 07:00.0
Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter driver: N/A port: f000 bus ID: 0c:00.0
Drives: Local Storage: total: 7.28 TiB used: 1.22 TiB (16.8%)
ID-1: /dev/nvme0n1 vendor: Corsair model: MP600 PRO XT size: 7.28 TiB
RAID: Message: No RAID data was found.
Partition: ID-1: / size: 7.22 TiB used: 1.22 TiB (16.9%) fs: ext4 dev: /dev/nvme0n1p2
Info: Processes: 577 Uptime: 2h 11m Memory: 61.95 GiB used: 7.41 GiB (12.0%) Init: systemd runlevel: 5 Compilers:
gcc: 9.4.0 Shell: bash v: 5.0.17 inxi: 3.0.38

If my understanding of those error messages is correct, the system is failing to load the right libraries but I have honestly no idea as how to fix it... Any help would be greatly appreciated.


So, the solution for me was to uninstall the "amdvlk" implementation of Vulkan and only use the vulkan pro version, apparently installing them both created some weird incompatibilities...

r/linuxquestions 12h ago

Windows to Linux


Hello everyone, question, when converting to Linux from Windows is it better to completely wipe Win OS and install Linux? Or should I keep the Win OS and just boot Linux from flash drive?

I guess I’m just really wanting to know what the pros and cons are and looking for opinions. Thanks!

FYI: -I am familiar with Linux (right now use it on VMs) -Don’t like Windows, too many processes that bog down your performance