1
46
submitted 3 years ago* (last edited 2 years ago) by possiblylinux127@lemmy.zip to c/linuxquestions@lemmy.zip

When you delete your posts on this sub, you are deleting a solution to a potential problem that someone may be having. It is inconsiderate and can result in a ban.

2
22
marine aquarium on linux (sh.itjust.works)
submitted 2 weeks ago* (last edited 2 weeks ago) by muusemuuse@sh.itjust.works to c/linuxquestions@lemmy.zip

Roku had their licensing for the aquarium screensaver pulled for selling out. Unfortunately, my special-needs nephew can't really appreciate the hilarity of a screensaver developer giving Roku the finger, and will meltdown when his roku fish go away on december 1st, so I'm trying to spin up a plan B.

The serenescene marine aquarium screensaver can supposedly run in wine just fine. I have an old intel compute stick from forever ago rotting in a box in the basement. lets do this.

It only has 8G MMC and 1G ram and an anemic chip, but it should be enough to run roku fish.

I have spent all day trying to get it running and theres just always something wrong. I can spin up alpinelinux on the stick. if I install in systemdisk mode, the resources are adequate. but I am just not able to get this thing to run the screensaver any farther than the config screen.

Has anyone been able to do this?

3
21
submitted 3 weeks ago by yakko@feddit.uk to c/linuxquestions@lemmy.zip

So I'm in this predicament too, I didn't notice the warning about this update breaking my card and I've just gone through a full reinstall - didn't have timeshift installed, so I'm kind of gutted. Getting that sorted now so it's an option going forwards.

My question is, how do I go about downgrading to the prior firmware that isn't broken? And should I update back to the newest kernel?

Sometimes I feel like I'm getting the hang of Linux, and then something like this comes up and I immediately realise how very little I know. I'd be extremely grateful for any guidance.

4
-12
Can I update now? (lemmy.today)

System SpecificationsOperating System: CachyOS Linux

KDE Plasma Version: 6.8.0

KDE Frameworks Version: 6.31.0

Qt Version: 6.12.0

Kernel Version: 7.2.11-1-cachyos (64-bit)

Graphics Platform: Wayland

Processors: 12 × 12th Gen Intel® Core™ i5-12450H

Memory: 8 GiB of RAM (7.5 GiB usable)

Graphics Processor 1: Intel® Graphics

Graphics Processor 2: NVIDIA GeForce RTX 3050 Laptop GPU

Several days ago, I tried to update my CachyOS system. And seen the below warning from Pacman itself

Update notice: Kernel 7.3.0-2 has issues with amdgpu particularly causing black screen on AMD dGPUs

At first, I was like gonna do the update, because I don't have an AMD CPU/GPU. Then I went to check on the internet and found lots of issues with both Kernel 7.3 and KDE Plasma 6.8.1. Even affecting NVIDIA GPU.

Some of the examplesLinux 7.3 - GPU idle increased from 10 W to 60. Anyone else?

Partial upgrade for ca-certificates-mozilla

Plasma 6.8.1 update: fullscreen games choppy (fine in windowed), desktop animations laggy - fixed by downgrading to 6.8.0

Choppy frame pacing in CS2 and Deadlock (300–500 FPS) after 2026-10-22 update (linux 7.3.0, linux-firmware-amdgpu 20261019, Plasma 6.8.1) – RX 6600 XT, Wayland – fixed by snapshot rollback

Steam games broken after updating from kernel 7.2.11-1 -> 7.3.0-2 (not fixed by 7.3.0-3)

linux-cachyos 7.3.0-4: amdgpu “Fence fallback timer expired” causes game crashes (RX 6600 XT) (Monster Hunter Wilds)

Cachyos kernel upgrade to 7.3.0 - fails on AMD

After latest update to cachyos-rate-mirrors the speeds are horible

GPU and CPU Fans Running at Double Speed under 7.3.1

Cachy kernel version 7.3.1 breaks the dual display (DisplayLink device) (KDE Plasma) (Kwin)

Cannot login after the latest update from kernel 7.2.10-1 -> 7.3.0-2 (presented with a frozen screen)

Nvidia-open 615.78.08: dGPU runtime D3 “Not supported” on linux-cachyos 7.3.0-4, works on LTS 6.18.55-2

Steam games broken after updating from kernel 7.2.11-1 -> 7.3.0-2 (not fixed by 7.3.0-3)

Is there a reason that the BORE kernel is stale (7.2.10 vs. 7.3.0)?

After Recent Update, Shut Down Takes Over 1 Minute - User Manager Issue?

Behringer UMC404HD - fail with Kernel 7.3.0

LACT power cap write fails with “Operation not supported (os error 95)” on 7.3.0-3-cachyos

Plasma 6.8.1: immediate screen tearing / flickering shadows / black areas on GTX 1650 Ti (HP Pavilion Gaming 15-dk1xxx) - 6.8.0 is fine

Updating to 7.3.0-3-cachyos causes UMC204HD Audio Interface to be unusable

Issue with AdaptiveSync kernel 7.3+

Keyboard Backlight Not Working With 7.3 Kernel

Kernal 7.3.0-3 - AMD / NVIDEA

Should i stay at linux-cachyos 7.2.11-1?

After update audio is is wery crapy and not loud

Audio echo in FAudio/Proton games on launch — regression starting linux-cachyos 7.3

Severe display artifacts and flickering on NVIDIA HDMI output after today’s first upgrade (2026/10/22)

Update causing KDE Plasma crash or blackscreen at boot

After KDE 6.8 update, Desktop Animations lag and Games run on 48fps

7.3.0-2 on RX 9070 XT: no black screen, but a DCN401 MCM LUT warning on HDR enable (Plasma 6.8.0)

After update lost fps

Not every link I shared is completely relevant to me, but the amount of issues on Kernel 7.3 and KDE Plasma 6.8.1. Even affecting NVIDIA GPU made me hesitant.

Because of this hesitation, I also didn't update Firefox CA-Certificates security update.

Should I update now?

5
10
submitted 4 weeks ago* (last edited 4 weeks ago) by Zachariah@lemmy.world to c/linuxquestions@lemmy.zip

I have two hard drives mounted under /data

One is /data/Files and the other is /data/Backup

I want to use a group ourgroup to allow five users user1, user2, etc. to all have read-write access.

I made a group and added the users.

I did: sudo chown -R :ourgroup /data
I did: sudo chmod g+s /data

I could not create subfolders in /data/Files

So I did: sudo chmod g+w /data

Still can't make folders. It says permission is denied.

via CLI:
mkdir: cannot create directory ‘/data/Files/NewFolder’: Permission denied

via KDE GUI:

Could not make folder /data/Files/NewFolder.

Any guesses what I'm not understanding or what I'm missing?

I did see something about ACLs, but I would prefer to try it this way first.

~$ ls -ld /data returns drwxrwsr-x 4 root ourgroup

6
21
submitted 1 month ago* (last edited 1 month ago) by wolf@lemmy.zip to c/linuxquestions@lemmy.zip

I am a happy ZRAM user for several years now. Basically it makes my 4GB netbook totally usable running Gnome and a Browser with a lot of open tabs.

After reading Debunking zswap and zram myths last week, I thought to give ZSWAP a trial, since the machine had a 3 GB swap partition anyway.

I disabled ZRAM, and enabled ZSWAP and configured it to use the defaults with ZSTD.

I would have expected, that my machine would perform as good as with ZRAM, perhaps a little bit slower because of accessing SWAP instead of just using the RAM.

Surprisingly, my machine froze using ZSWAP after opening at most half the amount of tabs in my browser that I would open when using ZRAM. Was the first freeze on this machine I can remember, after I made the switch to ZRAM.

I increased the zswap.max_pool_percent from its default of 20 percent to 50 percent, which improved the situation a little bit, but still the machine froze again.

I saw the the physical swap was being utilized.

I reverted back to ZRAM, where I configure by default the size to be double the amount of RAM, something like 8 GB (!), again with ZSTD. I could open an insane amount of tabs again, I saw that nothing was swapped to the physical swap, everything was in the RAM disk. No trouble, no freezing.

My question is, why do I observe this? Should not ZSWAP with 50 percent of RAM and a physical SWAP partition outperform ZRAM, at least concerning the number of open tabs in the browser? (I could understand a performance loss because of swapping to the SSD.) Why does the out of memory systemd service not trigger properly with ZSWAP?

Using Debian 13 on an Intel Celeron, in case that should be relevant.

Update:

  • I understand, that ZRAM is just a compressed RAM disk and that the 8GB I configure is the size of the compressed data on it, not the actual size it takes in memory
  • I understand, that ZSWAP is a caching layer in front of regular swap, integrated into the memory manager subsystem of Linux

According to my understanding, this still does not explain, why ZRAM outperforms ZSWAP. The physical RAM consumption of ZRAM with a lot of open tabs is roughly 2GB. ZSWAP should have had roughly 1.9 GB of RAM for compressed pages ) + 2.9 GB of physical swap. If we assume a compression factor of 3 this sould be roughly 1 GB of additional swap compared to ZRAM, which still performs worse. Again, in both cases ZSTD was used.

Update 2: When I write 'freeze', I mean full out of memory crash when using ZSWAP. The machine 'freezes' fully, inclusive mouse cursor and nothing happens, even if I leave it alone a few minutes. Sorry, English is my 2nd language.

7
13

Hi all,

I would like to use a linux phone with Ubuntu Touch or PostmarketOS to make a sort of mobile modem which, when my laptop connects to the phone's hotspot, would have Pihole for DNS and a VPN. Is this possible, and which general steps would you recommend to go about it? I have installed PostmarketOS on a Poco F1 and connected to my VPN using openvpn in the terminal, but then when I open a browser on the same phone and check my ip address it shows the address of the wifi I'm connected to, not the VPN. So it seems I have no idea about the architecture of this endeavor.

I hope to have this working by Christmas when I go to visit my parents. The intended internet connection would be

home wifi ---> linux phone [some level of privacy]---> my laptop wifi

Thank you in advance!

8
8
submitted 1 month ago* (last edited 1 month ago) by HotsauceHurricane@lemmy.world to c/linuxquestions@lemmy.zip

Fedora has a package for big-screen but when I boot into it I get an error stating that:

•Type HomeOverlayWindow unavailable

•Type MainColumn unavailable

•Type ColumnActionsRow unavailable

•module "org.kde.plasma.networkmanagement" is unavailable

is there an additional package to install or do I need to scrap this lil experiment?

9
43

I'm an Arch user (CachyOS now) and I've gotten used to doing things a certain way. Anyway, I have another computer with a fresh Windows 11 install. After literally 5 hours of troubleshooting, I still could not get the fuckass wi-fi drivers installed. People who say Windows is easy clearly never had to install it. I eventually said fuck it and decided to install NixOS. I'm used to Arch based distros so I wanted to try something new. I'm very confused about how it works and what it's intended use case is. I spent an hour trying to figure out how to install micro permanently. I did RTFM but It didn't really help. I guess I'm hoping someone can share some words of encouragement and/or convince and/or bully me into sticking with this weird ass distro.

10
11
submitted 1 month ago* (last edited 1 month ago) by OwOarchist@pawb.social to c/linuxquestions@lemmy.zip

My girlfriend managed to fill 100% of her / partition on Ubuntu, and now it won't boot.

I can get into recovery mode and get a root console, and I've already used rm to delete several large files from her downloads directory, but the problem persists, even after several reboot attempts. ls no longer shows those files in the directory, and it should have freed up plenty of space to at least boot, but it's still not booting, and when I try to use the recovery mode option of 'fix broken packages', dpkg tells me it can't complete the action because it doesn't have the required ~250MB of free disk space. But, again, I just used rm to delete several hundred GB of files. That should be more than enough, but it's like the space isn't being freed up somehow. And, to be clear, I've done several hard reboots after deleting these files, still getting the same results. du -h does show her / partition at 100% usage, even after these deletions. (And the /boot partition is only at 49% full, so that shouldn't be an issue.)

Is there some command I need to use to get it to rescan and realize that it actually has free space now?

How much free disk space should Ubuntu actually need in order to boot, anyway?

Am I barking up the wrong tree entirely somehow? Booting always proceeds as normal right up until the moment the GUI desktop should load, and then it's replaced by a single blinking underscore in the top left corner -- it briefly shows any text typed in, not long enough to actually enter any command, but otherwise doesn't respond to anything I've tried other than Ctrl+Alt+Del, which reboots it. I've been pursuing this free disk space problem because the only unusual thing she did before this problem started is that she downloaded a lot of videos and filled the disk completely.


Edit:

No, the /home and / directories were on the same partition, so that wasn't the issue.

Okay, so I managed to get it to boot, I guess? For the possible reference of others, here's what I did:

1: Used rm to delete even more things from her download folder. Deleted a lot of stuff. The ls -lS | less command helped here, to quickly identify the biggest, most space-hogging files. I basically just deleted the 10 biggest files before trying again. (After already having deleted some of the other big files in there.)

2: I used exit to go back to the recovery mode menu, then chose the option to resume normal boot. That once again brought me to the dreaded blinking underscore and nothing else.

3: As some here suggested, I then used the Ctrl + Alt +F3 key combination ... and that just magically fixed everything. As soon as I hit that key combo, the screen flickered for a bit with weird graphical glitches straight out of a Cyberpunk hacking scene, and a moment later, it was suddenly fully booted into the normal desktop GUI.

At this point, I think I'm going to declare it 'fixed' and not fuck around with it any further -- I don't want to risk making things worse and losing this progress. Still not sure what actually happened, but it's working for now, and I'm a big believer in "If it ain't broke, don't fix it." Now that she has a GUI to work with, I'll ask her to move more of her downloaded files to an external drive, and I'll work on it further if and when something goes wrong again.

Thank you to everyone who offered suggestions and tried to help!

11
16
submitted 1 month ago* (last edited 1 month ago) by CorrodedCranium@leminal.space to c/linuxquestions@lemmy.zip

I am running EndeavourOS with XFCE4 and when I enter my password the underscore cursor appears in the top left corner for a moment then I get bounced back to the log in screen. This happened after an update. I don't think I made any other alterations to the system or installed new packages.

From my searching around I tried the following from the terminal:

ls -lah | grep -i Xauthority says that I have rw privileges.

I've tried updating my system using sudo pacman -Syu and yay -Syu.

df -h Says I have 18GB available in /dev/dm-0. I even deleted a couple files to make sure I had space available.

I ran rm ~/.Xauthority.

I made sure session-wrapper=/etc/lightdm/Xsession was in my lightdm.conf.

I tried downgrading the xfce4-session package but that didn't work so I updated it again.

I checked to see if I have libxfce4ui-devel installed instead of libxfce4ui. I only have libxfce4ui installed.

I ran systemctl start xfce4-notifyd.service but it says "Failed to start xfce4-notifyd.service: Unit xfce4-notifyd.service not found". The user posting the question had the same result but that wasn't their solution. They had a fancy tablet plugged in or something.

One of the sign in options in my login screen is for Weston and I am able to login fine to that.


I'm pretty stumped here. I've started getting into loops while searching for an answer online. I feel like it's probably something on the XFCE side but I'm struggling to find out where to begin looking. Some users said to check .xsession-errors but apparently "Failed to fetch NET NUMBER OF DESKTOPS; assuming 0" is a normal message. I don't know about the four other messages but they all seem similar.

Any ideas? Even if it's rechecking something above. Maybe I missed something.

Update:

I downgraded my AMD GPU drivers through pacman and was able to get things working. Does anyone know why upgrading them might have caused my system to act this way? Would it be fine updating them in the future or do I need to make tweaks to my setup?

Update 2:

It seems like it may have been an issue with conflicting graphics drivers. I think at some point I may have installed something related to Nvidia but I'm not certain. It only became an issue after running the update mentioned earlier. I essentially removed everything and installed packages recommended by the Arch Wiki page for graphics. Everything appears to be working now.

12
-17
submitted 2 months ago by Digit@lemmy.today to c/linuxquestions@lemmy.zip

What's "the new Arch"? [Open to interpretation]

Alpine or Void?

Other?

Why?

13
14
submitted 2 months ago* (last edited 2 months ago) by liinux@pawb.social to c/linuxquestions@lemmy.zip

I've been using Sway on Arch (with AMD GPU) for like 2 years, after switching from i3, and everything has been pretty good until it doesn't.

I switched my monitors to one model with high refresh rate and high resolutions (180Hz and 1440p) but Sway doesn't seem to like it... If you have the refresh rate higher than 60Hz, then suddenly artifacts appear everywhere (and no, this isn't my GPU problem, 100% sure) and this specific monitor is an OLED model, and Sway again doesn't seem to like it neither since the black colors randomly "flash", like that, you are looking into a straight dark color and you can see when suddenly the color turns a little brighter in the background, like an old TV.

And here I have two problems;

  1. I can't use HDR (can but it's basically an increase in the brightness and it doesn't look good)

  2. I can't use more than 60Hz, and no, VRR won't fix this, actually, if you enable VRR you monitor is locked to 60Hz anyway.

So basically, to use my monitor at its full strength I should use Plasma, which it's fine but I love Sway and Tilling Window Manager, or find another TWM that uses Wayland, what do you suggest?

And before you tell me something is wrong with the monitor/pc, I work on another PC with this monitor and I'm currently using Plasma in the same exact Arch installation where I have Sway installed with this problems, and none of these problems had appeared in almost 1 hour using the system.

I'm also aware that Hyprland exists, but I used it when I had NVIDIA some years ago and the experience was an completely headache + Current drama (I know this doesn't "affect" directly the product but....) + I don't really like that everything is so "Eye-candy", what I like of Sway is that is like an Vanilla i3.

And I also don't really like the idea of having multiple DEs/TWM installed on the same machine, this is probably some old myth that I read long ago that you shouldn't have installed multiple DEs since the config files may conflict, and for God's sake, I hate that installing Plasma also installs like 300+ packages that I don't have a single idea what they are... So I may just instead of distrohop I would TWM-hop or stay in Plasma for the best experience without enjoying the simplicity of an TWM.

14
10

ive set micro as my editor in yazi but when i hit Enter it opens a new document instead of editing the one ive selected. in my TOML i have this under opener.

[opener]
edit = [
	{ run = 'micro "$@"', desc = "$EDITOR", block = true, for = "unix" },
	{ run = "code %s",          desc = "code",         for = "windows", orphan = true },
	{ run = "code -w %s",       desc = "code (block)", for = "windows", block = true },
]

any help would be great.

15
9
submitted 2 months ago* (last edited 2 months ago) by OliMoli2137@piefed.social to c/linuxquestions@lemmy.zip

So I wanna create my own shell with Quickshell While I tried that months ago, the docs were really ominous and.. I didn't really come up with anything

Do you have any resources for making a desktop shell with Quickshell / QML? It can even be your dotfiles repo if it's relevant

16
18
submitted 2 months ago* (last edited 2 months ago) by Skullgrid@lemmy.world to c/linuxquestions@lemmy.zip

I kinda get why people hate Ubuntu, corporate enshittification attempts (ads in terminal) and various attempts of non-standard standard creation with partly closed source (snaps).

Why don't people hate fedora for being derived from a corporate ~~OS~~ paradigm and being geared towards achieving the goals of the red hat org interfering with community driven OS stuff? The last I saw of it inexplicitly was the proposed AI integrations.

I do understand there's been several spinoffs to even re-create redhat without having the guys in red hat be in charge (alma, rocky, etc), so some contention appears to exist, I just don't see what's going on properly.

EDIT : I guess Open Suse is too niche and german to recieve the same hate?

EDIT2 : OK, my mistake in perspective, but you need to throw me a bone in that Red Hat corporation is "under legal responsibility" of the Red Hat Company/business/whatever, and has employees working on it. The idea that Fedora is RHEL with things removed is pretty close to RHEL is Fedora with things added, especially since it's "Oh, we have X Red Hat employees working on Y features for Fedora , and Z Red Hat employees working on features for RHEL". The business entity of Red Hat is the one at the head (more or less) of both endevours, which leads to my question.

Why does this corporate relationship and "steering" not cause any ire? It's even owned by IBM at the end of it all.

17
14

Relatively Linux Newbie here. Been playing with flavors of Linux/Unix/BSD for a few decades but only recently moved to having one as my primary OS.

My question is: Since I don't think of myself as a person of interest, is there a solid reason to do things like validate hashes or signatures when I get packages from a non-standard repo?

For example, I want to do something with a tool that doesn't have it's own repository. They have a website with a .deb or .tar.gz download and an accompanying signature file or hash. There are instructions for grabbing the public key from their domain so I can verify the file or there is a hash text string.

I can go verify a hash or signature... but if I got the file and the signature from the same place . . . If an attacker wanted to hand me bad code, couldn't they also hand me a bad signature/certificate/key?

If I was given a flash drive with a tool by a random person, then I might want to validate it, but if I download a file from an org that I went to on purpose then the org giving me their key doesn't seem to do much. Aside from file corruption, there's nothing to prove and a corrupted file is likely to fail in other ways such as a .gz checksum.

I'm not saying the practice is bad. But if I'm not important enough to have someone waiting to intercept my random app download and give me a backdoored version and I trust the developer to not be giving me malware in the first place, is there a need to verify?

18
11

I am trying to use find (or a similar tool, I also really like fd)

  • to locate directories matching the query

  • only those directories which are the deepest match

  • the target directories are not all the same depth, so -maxdepth or -mindepth can't do it

  • it would be the opposite of -prune

Given the below directory tree, looking for directories with "red" in the name, the ones with Yes should be the matches:

$ tree
.
├── blue                = n
├── green               = n
│   ├── red-apple       = Yes
│   └── red-book        = n
│       └── red-pen     = Yes
├── red                 = n
│   └── red-strawberry  = Yes
│   └── 
└── yellow              = n
    └── basket          = n
        ├── flag        = n
        │   └── red     = Yes
        └── painted-red = Yes
            └── wagon   = n

So "red-book" does not match because it contains a subsequent match ("red-pen"). But it's OK to have a deeper non-matching directory (like "painted-red").

This is my basic command which finds 2 unwanted items:

$ find . -type d -name "*red*"
./green/red-apple
./green/red-book
./green/red-book/red-pen   # wrong
./yellow/basket/flag/red
./yellow/basket/red
./red                      # wrong
./red/red-strawberry
19
17

Title.

I know there are tools to set up a linux distro's installer on a USB flashdrive. What I'm looking for is slightly different: I want to install a linux distro (a Debian derivative, but am still unsure which) on a USB hard drive, but I want to do it from a running system, rather that have to boot into installer mode.

The rationale is that this is the only active machine I have ATM. I guess this exists since that's how "live distros" with installers even function in the first place, but I haven't had much luck searching for information.

20
14

After an update something must have broke. I depend on kid3 (KDE's audio tag editor) and it stopped working. I ran it from Konsole I am greeted by this:

kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Your emails" msgid_plural: "" msgctxt: "EMAIL OF TRANSLATORS"  
kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Your names" msgid_plural: "" msgctxt: "NAME OF TRANSLATORS"  
qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version n9.0.1 GPL version 3 or later  
Failed to open VDPAU backend libvdpau_nvidia.so: ne eblas malfermi komunan objektdosieron: Dosiero aŭ dosierujo ne ekzistas  
WARNING: radv is not a conformant Vulkan implementation, testing use only.  
[2026-08-26 17:23:41.060] [MANGOHUD] [info] [gpu.cpp:90] Set renderD128 as active GPU (driver=amdgpu id=1002:7550 pci_dev=0000:0f:00.0)  
[2026-08-26 17:23:41.076] [MANGOHUD] [info] [cpu.cpp:636] hwmon: using input: /sys/class/hwmon/hwmon4/temp1_input  
[1]    9907 segmentation fault (core dumped)  kid3  

It complains about missing something VDPAU related which I wouldn't think would be relevant. I would be grateful for any help. This is driving me insane.

21
12
SOLVED! Laziest firewall? (sh.itjust.works)
submitted 3 months ago* (last edited 3 months ago) by schipelblorp@sh.itjust.works to c/linuxquestions@lemmy.zip

Solved: OpenSnitch, https://github.com/evilsocket/opensnitch available via Software Manager on Mint as well.


There was a windows firewall (tinywall?) that worked like this:

  1. Something wouldn´t work on the internet.
  2. I'd query the firewall to see what was just blocked.
  3. I'd whitelist that traffic.

Pretty painless and I never was forced to think about the firewall until absolutely necessry, and then only to the least possible amount.

Is there any firewall on Linux that works similarly? Running Mint.

22
22
submitted 3 months ago by Digit@lemmy.today to c/linuxquestions@lemmy.zip

(And, why? If you like.)

23
21
submitted 3 months ago* (last edited 3 months ago) by marighost@piefed.social to c/linuxquestions@lemmy.zip

Hello Linux gang! Hopefully this is a quick one and I'll feel like a goober after. I am trying to mount a network share on a new VM. On my first VM, this seemed to work flawlessly. Here is the fstab entry for the working VM:
//192.168.1.186/gilashare /home/marighost/gilashare cifs uid=1000,gid=1000,credentials=/home/marighost/.sharelogin,iocharset=utf8,file_mode=0777,dir_mode=0777,x-systemd.automount,_netdev 0 0

The permissions for the .sharelogin are chmod'd to be 600.

In the .sharelogin itself, I can assure you that my username and password are correct, however, my password does contain a semicolon, if that matters at all (it doesn't seem to for VM 1).

I copied these over 1:1 into my new VM, and get the following error:

mount: /home/marighost/gilashare: cannot mount //192.168.1.186/gilashare read-only. dmesg(1) may have more information after failed mount system call.

So I check dmesg | less and see:

`[565649.948728] CIFS: enabling forceuid mount option implicitly because uid= option is specified
[565649.948730] CIFS: enabling forcegid mount option implicitly because gid= option is specified
[565649.948731] CIFS: Attempting to mount //192.168.1.186/gilashare
[565649.950091] CIFS: VFS: cifs_mount failed w/return code = -13'

In searching for the solution for that return code (which doesn't really seem to map to a specific error), it seems like it's just "your password's wrong." But I can assure you that it isn't. .sharelogin on VM 2 has the same text and permissions as the file in VM 1. The fstab entries are identical. The mount points exist, each VM can see the share server and ping the IP.

I even tried mounting the share via the standard mount command with the following:
sudo mount -t cifs //192.168.1.186/gilashare /home/marighost/gilashare -o username=marighost,password=[REDACTED]

I mentioned earlier that my password contains a semicolon (;), which seems to effect Bash in ways I don't fully understand. I wrapped my password in the CLI with apostrophes (''), and the command takes, but nothing happens. Checking dmesg just shows [565649.948731] CIFS: Attempting to mount //192.168.1.186/gilashare with no errors, and the drive still does not mount.

I thank you for reading and taking the time to respond.

SOLVED EDIT: Remember to update your packages, folks. The Samba package was out of date on the file server. The reason VM1 worked is because they had the same package version. VM2 had the newer version.

24
12
submitted 3 months ago* (last edited 3 months ago) by groctel@lemmy.world to c/linuxquestions@lemmy.zip

Hey all!

Let me go stratight to the point:

I have an audio player in which I want to clone my ~/Music directory when I connect it to my computer. The only relevant thing about it is that it's a barebones filesystem and I cannot run cool stuff like Syncthing on the player (otherwise this question would already have a solution). Right now, my solution is that I connect the player to the computer and manually copy file to and delete files in the player. As you may have guessed, this is an error prone process. In order to solve that, I want to run a single command that clones ~/Music (src) into /path/to/player/Music (dst).

My requirements are:

  • All new files in src MUST be copied into dst.
  • All files no longer present in src MUST be deleted from dst.
  • All files present in both src and dst that have more recent modifications in src MUST be copied and overwritten into dst.

As you can see, my player's filesystem is a strict replica of my main computer's. Now, I know I can write a Python script in an afternoon to do just that, but I want to know if there are any good tools first to do this. I searched the web in hope that rsync would help me here, but the only answers I can find are for buffier cp. It may be that I have a vocabulary problem and I'm not searching for the correct terms.

I'd love to read your ideas! A note about LLMs: I'm not interested at all in any comments about how llm-of-the-week coded this in a moment, I asked fake-chat and here's what it said or whatever. If you are not a human that can be bothered to write an answer, I won't be bothered to read it.

Thank you!

25
20
submitted 3 months ago* (last edited 3 months ago) by Monkey@piefed.social to c/linuxquestions@lemmy.zip

I got this error after opening my laptop, I am using Kubuntu
Thanks in advance

UPDATE:
I fixed it by looking in system logs and I realised something was wrong ith the cloned mac address and I fixed it and now it works.

view more: next ›

Linux Questions

4437 readers
1 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 3 years ago
MODERATORS