Linux - Reddit
Open in Telegram
Stay up-to-date with everything Linux! Content directly fetched from the subreddit just for you. Powered by : @r_channels
Show moreThe country is not specifiedTechnologies & Applications91 618
406
Subscribers
+124 hours
+57 days
+3430 days
Posts Archive
Issue getting nvim-dap to work
I tried reinstalling the plugins several times, including neovim itself and I always get this
​
​
https://preview.redd.it/cb5rh8qf7hbb1.png?width=846&format=png&auto=webp&s=a8a7249bd7ce64bc458b9388ad10b69d11183a9d
​
alongside this
​
​
https://preview.redd.it/l65gjclg7hbb1.png?width=729&format=png&auto=webp&s=47b962d93d5dace6202042b67d46f8bd98b5cd92
​
Other plugins work just fine if I take nvim-dap out. What's odd is that I had it working just fine before when I was running Fedora. I'm on Arch right now.
I think it's a cool feature to have inside neovim when I wanna debug on the fly, came in handy a few times.
https://redd.it/14xfxik
@r_linux
Samba 4 can't copy from previous version in Windows
Samba 4 can't copy from previous version in Windows
HW:
HP server ML110G9
SW:
Fileserver VM - debian 11 - Samba version 4.13.13-Debian
UserPC - Windows 8 / Windows 11
ZFS:
data/subdata@GMT-2023.07.05-19.41.00
smb.conf:
vfs objects = shadow_copy2 acl_xattr
acl_xattr:ignore system acls = yes
shadow: format = GMT-%Y.%m.%d-%H.%M.%S
shadow: sort = desc
shadow: snapdir = .zfs/snapshot
shadow: basedir = /data
shadow: share_root = /data/subdata
shadow: localtime = yes
zfsacl:expose_snapdir=true
veto files = /.windows/.mac/
​
Samba log:
root opened file PngItem_1468479.png {@GMT-2023.07.05-23.41.00} read=No write=No (numopen=3)
[2023/07/05 17:21:28.422995, 2] ../../source3/smbd/close.c:824(close_normal_file)
root closed file PngItem_1468479.png {@GMT-2023.07.05-23.41.00} (numopen=2) NT_STATUS_OK
[2023/07/05 17:21:30.401392, 2] ../../source3/smbd/open.c:1524(open_file)
root opened file PngItem_1468479.png {@GMT-2023.07.05-23.41.00} read=Yes write=No (numopen=4)
[2023/07/05 17:21:30.430323, 2] ../../source3/smbd/trans2.c:3646(smbd_do_qfsinfo)
stat of . failed (No such file or directory)
[2023/07/05 17:21:30.432968, 2] ../../source3/smbd/trans2.c:3646(smbd_do_qfsinfo)
stat of . failed (No such file or directory)
[2023/07/05 17:21:30.435970, 2] ../../source3/smbd/trans2.c:3646(smbd_do_qfsinfo)
stat of . failed (No such file or directory)
​
Problem description:
1) When i delete a file and open previous version through the tab in windows, I am able to open png file, not vsd (for now this files i have tested)
2) I am not able to copy any files/folders from the snapshot that opened when i pres open from the properties/previous version tab to my local machine.
Popup error Title: Item Not Found
Popup error message: Could not find this item
This is no longer located in \\`192.168.6.179`\subdata\subdata(\\`192.168.6.179`). Verify the item's location and try again.
3) I am able to go to .zfs/snapshot folder through smb and copy the file successfully to User PC.
4) I would like to transfer away from windows to linux, which i really need the shadow copy to work.
\- I have googled through the internet, i used ChatGPT for 2days straight and was not able to resolve this problem.
\- When i tested Truenas VM with same conditions, it worked right away, i tryed to export smb.conf from truenas but was not able to find any mentions on shadow_copy2 in the conf files to be able copy/paste...
https://serverfault.com/questions/1136742/samba-4-cant-copy-from-previous-version-in-windows
https://redd.it/14xev0z
@r_linux(FAQ) - openSUSE: Unaffected by SUSE's Fork of RHEL
https://en.opensuse.org/openSUSE:Faq
https://redd.it/14xc2wv
@r_linux
No more NUC: Intel’s weirdly named mini PCs seem to be going away
https://arstechnica.com/gadgets/2023/07/intel-is-apparently-winding-down-its-nuc-mini-pcs-after-more-than-a-decade/
https://redd.it/14xbvwa
@r_linux
System 76 laptop replacement
I tried asking this question a year ago when the screen broke in the /r/system76 subreddit but got no reply's. Also, /r/linuxquestions doesn't appear to be functioning properly. Does anyone know what screen is used in an Oryx Pro 5 laptop?
https://redd.it/14x61cc
@r_linux
Lima: a nice way to run Linux VMs on Mac
https://jvns.ca/blog/2023/07/10/lima--a-nice-way-to-run-linux-vms-on-mac/
https://redd.it/14x6hs5
@r_linux
What's your favorite customizations in linux?
Lots of ways you can customize and make things more unique to you
I seen a post recently of someone who changed there systemd boot to some words from blade runner movie it was great example of this
https://redd.it/14x5r5v
@r_linux
Which certification to start with?
Hi everyone, I recently started a new IT Field Engineer position and even though I have around 7 years of IT experience, I've never really worked with Linux. This job uses Linux quite a bit, and is willing to pay for training. The two options they gave me were:
- Linux plus
Or
- Linux Administration essentials
Any feedback would be appreciated. Thank you.
https://redd.it/14wqv5q
@r_linux
Update on Continued Trademark Actions Against the PostgreSQL Community
https://www.postgresql.org/about/news/update-on-continued-trademark-actions-against-the-postgresql-community-2673/
https://redd.it/14x080v
@r_linux
Does anybody familiar with .heic and .avif image compression format
i have a image which i took from my smartphone img.jpg which have size 7.2 MB
i ran `heif-enc img.jpg -o img.heic` then the img.heic file size is 640kb
then i ran `avifenc img.jpg img.avif` where the img.avif size is 3.3Mb
avif is better than heic then why img.avif file is more higher img.heic file
https://redd.it/14x0dih
@r_linux
Desktop not working properly when it's stand up, but okay when laying down
It's very weird to notice that, when the desktop is fully laying down, everything works fine, however, when it's in standing up position, it can boot into the system, but once I run some simple machine learning model with tensorflow-gpu the screen black out for some seconds, then monitor screen got some weird color off.
​
Here's more detail, the reason I find this out is due to a sudden system freeze (when it was in standing position as it used to) when I ran a simple machine learning model on simple data set, not even intense. So I started inspecting what's wrong, I plug and unplug the GPU seems get it back to work, but whenever I put it back up right, although it can get into the system, the problem comes out, e.g., the screen black out for some seconds, then screen has weird pattern and color, when running machine learning model it crushes and freeze.
​
One image below also shows what component it has. Please send help, this is very important to me. Thank you very much in advance.
​
GPU Nvidia RTX 3080 LHR
​
​
Left: Laying Down position, Right: Standing Up position
https://preview.redd.it/v2ajunefldbb1.jpg?width=2000&format=pjpg&auto=webp&s=2d2a5b41871cee64b4ba9f5e25fc26b32743bcdb
https://redd.it/14wynoj
@r_linux
What does this RHEL news mean for the small dudes?
TLDR; What does this RHEL news mean for a small-time LAMP stack homebrew dude running Centos 7 that doesn't want to have to put any time into keeping his old free legacy apps working?
​
So RHEL made a big announcement. I don't understand what that means, just that I am now getting lots of scary sounding e-mails from CPanel and my web hosting company telling me not to worry.
I'm just a casual user so I don't understand all the important stuff you guys are talking about in this reddit.
I run a cheap LAMP stack for some home-brew applications. I ran RHEL once (because of scary sounding things like this month's news), it cost me about $400/year to get RHEL. Migrated from CentOS to RHEL thinking it would make O/S upgrades easier (wrong). It was a headache getting to RHEL and once I got there things weren't any better. I'm not sure any o/s is worth that no matter how good, secure, etc. it is for a dude who just wants to run some casual free homebrew for a couple dozen free users. So I quit RHEL for CentOS (not understanding at the time it's just baby RHEL). It was painful as hell to migrate off RHEL and I had to rebuild all my applications and apache configs, took hundreds of hours of work just to get back to working apps.
Plus, all the tutorials on the internet were for CentOS stuff, I couldn't ever get anything working under RHEL anyway (even though CentOs is supposedly a downstream baby of RHEL so it should just work?). I dunno.
Another time I was under rackspace who soft to softlayer and they put me on a dirty node that was sending spam and jacked up the prices, so I lost another 100 hours migrating to yet another webhost (currently on vultr).
The idiots out there (me, and there are thousands of them) just went with the cheaper thing that worked. Now I'm getting scary e-mails from my web hosting company and CPanel telling me to go to AlmaLinux, but AlmaLinux says they are just an RHEL baby too.
So I don't know what happens to the little homebrew dudes. Should we be worried or should we just keep trucking along on our soon to be EOL CentOS 7 and our CPanels? I have a mountain of custom PHP/NodeJS and MySQL database and Apache config stuff sitting there that takes weeks to rewrite every time I have to do an o/s migration.
I'm literally just a regular dude trying to keep his old legacy apps running out of my pocket for a couple dozen people who still log in every once in awhile. I run a gitlab instance to keep my old codebase on file in case I ever need anything. What's the best low-effort thing I should do to keep my apps running what with the whole RHEL/downstream shutdown thing going on?
Trying not to have to spend 100 hours every year migrating o/s and migrating webhosts just to rebuild configs to get old apps working like they worked before, again. Have PTSD from wasting multiple entire weekends without sleep locked in my garage hammering away at a keyboard tryiing to get crap to work again because someone way upstream needs more money or needs to have a bigdick contest.
​
Edit: Full disclosure I'm happy to set up a paypal subscription to said upstream bigdick if it means I don't have to spend a couple hundred hours migrating my crap again. Take my money.
https://redd.it/14wwp7q
@r_linux
Complete Linux command line tutorial for beginners on Ubuntu Server - 5 hours
https://www.youtube.com/watch?v=nVwPJx7MP5Q
https://redd.it/14wszcy
@r_linux
GRUB 2.12 RC Delivers Two Years Worth Of Bootloader Improvements
https://www.phoronix.com/news/GRUB-2.12-RC1
https://redd.it/14wq99g
@r_linux
SUSE Announces Its Forking RHEL, To Maintain A RHEL-Compatible Distro
https://www.phoronix.com/news/SUSE-Is-Forking-RHEL
https://redd.it/14woxzp
@r_linux
[Official Announcement] SUSE Preserves Choice in Enterprise Linux by Forking RHEL with a $10+ Million Investment
https://www.suse.com/news/SUSE-Preserves-Choice-in-Enterprise-Linux/
https://redd.it/14wpdy2
@r_linux
Is professional CAD software viable on Linux?
Engineering student and Linux enthusiast here: is dual booting the only option I have if I need to use CAD software during my academic tenure and career?
I'm very passionate about Linux philosophy and maximizing use of open source software. However, I need to make use of AutoCAD for several of my classes, and I imagine the same is true in the professional setting. I'm aware of the existence of alternatives such as LibreCAD and FreeCAD, but from what I understand these alternatives are not up to industry standards at this point in time.
Is virtualization up to the point where I can viably use it to run the software I need? Or is dual-booting my only option?
Any advice is appreciated.
https://redd.it/14wkdz8
@r_linux
