Linux

57247 readers
44 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
1
 
 

cross-posted from: https://lemmy.world/post/34365607

Hi fediverse,

I'm hoping someone can give me some advice on an issue that means I can't access the main user account on my Linux Mint (Cinnamon) operating system.

Context:

I'm using a dual boot setup of windows and mint on my laptop. I use mint (or used to, when I could access my user) for pretty much anything that doesn't require things* only my windows instance has. (*things such as support for video games that support windows but not linux, for example)

When creating my main user account, I made a mistake in the username. It was irritating enough for me to want to change it, and as doing so seemed like it should have been fine, I settled upon three guides and ended up (mostly?) just following this one:

https://www.linuxuprising.com/2019/04/how-to-change-username-on-ubuntu-debian.html

I cant remember all of what happened anymore, but I have the following screenshots, along with the stuff I do remember.

(note: red blocks represent the new username, blue blocks represent the old username)

At the used-by-process error, I first tried following the guide precisely, then hoped that "PID" was Process ID, and that the guide expected me to put the ID that usermod stated after "PID", and tried doing that.

Idk if that fvcked something up...

Then I guess I fixed that somehow, idk if I did so by restarting and logging in only as tempuser, or if I had already done that and fixed it some other way.

Anyway I meant to run each line of the command separately to avoid stuff going wrong, but accidentally did both at once. I hoped it'd be fine anyway.

Then stuff happened I guess.

Anyway,

I cant remember much more but I know that I tried to log back in as my main user account and I found out that:

  1. The username had been successfully changed.
  2. I could not log into my main user account.

Imputing the correct username and password was successful, and acted like it was logging me in as usual. Then after the usual black screen, it just throws me back to the login window.

This still happens.

I went through a fair bit of internet searching, followed some advice. All that most people were saying was to check how much disk space you have left - and to not keep timeshift snapshots on the same drive as your OS.

(this is one such post, and (I think) the only one I found that I definitely recognise from the previous searching: https://www.reddit.com/r/linuxmint/comments/15revgg/cant_stay_logged_in_keeps_going_back_to_login/)

I did ctrl-alt-f1 and ran df -h, and deleted most of the timeshift snapshots I had (I think I had maybe 6 and deleted 4 or 5).

Here's the output of df -h that I think is from after I deleted the timeshifts:

Idk what to do, hope someone can advise.

(TL;DR: tried to change username on mint, now whenever I try to log in to the user it throws me back to the login window after the usual black screen. Hope this suffices for a summary...)

2
1
Please don't promote Wayland (stoppromotingwayland.netlify.app)
submitted 20 hours ago by RedditEnjoyer@lemmy.world to c/linux@lemmy.ml
3
 
 

As I said, I have Arch Linux with the HyDE dotfiles.

I did a sudo pacman -Syu today and after I rebooted the PC, it starts at the login screen (as always), but then, after I logged, I get stuck on a Black Screen.

Any help, pls?

4
 
 
5
 
 

cross-posted from: https://lemmy.ml/post/34564216

Impacted CPUs:

  1. Arrow Lake
  2. Core Gen 13 Raptor Lake
  3. Core Ultra 200V Lunar Lake
  4. Xeon Scalable Gen3 and newer through Xeon 6 Sierra Forest / Granite Rapids
  5. Xeon D-17xx / Xeon D-27xx
6
 
 

cross-posted from: https://lemmy.ml/post/34545365

From December 2002 to April 2005, a pilot was conducted in DG INFSO to evaluate the use of Linux based PC's in the Commission environment, which involved a selected group of users. This group consisted of about 40 persons with a wide diversity of functional profiles (project officer, secretary, financial officer, deputy director general, assistant, etc. …). The scope of the pilot was the testing of the interoperability between the Linux and the Windows environment in terms of electronic file and printer sharing, text processing, spreadsheet, presentation, email / groupware software, other software and support facilities, this specifically in the EC environment.

In co-operation with the Informatics Directorate, a reference configuration was set-up on a number of PC's based on the Linux Operating System and other Open Software products.

Main conclusions are:

  • The integration of the Linux based clients in the Windows NT environment did not cause any problems. Integration in the newer NET1 environment (based on the Active Directory) was also successful without major problems. Electronic files and printers both from the Linux environment and the Windows environment could be shared with each other.
  • Compatibility tests of the Open Source text processing, spreadsheet, and presentation software were generally satisfactory. Conversion of complex documents showed to be sometimes problematic because of the differences between MS Word and OpenOffice and some problems were encountered with the proprietary fonts of Microsoft. On the other hand, some features were available in OpenOffice that did not exist in the Microsoft Office suite. Further improvements are to be expected now that Microsoft is supporting XML based file formats. Some problems relating to important Commission-specific extensions to MS Word, such as the ones used for the preparation of official notes and legal documents, were identified. A redevelopment of these extensions would be required to solve this issue.
  • At the level of the email most of the features are available and no major problems were encountered. However, the shared mail and calendar resources functionality caused several problems at the level of the interoperability with the present Commission email infrastructure. Interoperability tests with the future Commission email infrastructure (foreseen for implementation in 2006) were positive and most of the problems were solved. Some problems relating to specific extensions used within the Commission (Email Archiving System) remained. The question can be raised if a totally new environment based on Open Source at Commission level could be envisaged. Several Open Source solutions are available with functionality comparable to Microsoft's email platform. Initiatives worthwhile mentioning are the development of Kroupware (funded by the German Administration), eGroupWare and OpenGroupware.
  • Compatibility tests of Commission-wide applications were negative. Redevelopment of these types of applications as web applications will resolve the problems. The Commission environment would evolve to a more Windows-independent environment, if a strategy could be adopted on these lines. Within the present planning of DG DIGIT it isforeseen that the corporate applications under their responsibility will be redeveloped by 2008. This is already a realisation of a large part of that strategy. However, it is imperative that any web application should be developed in a browser independent way, which should be feasible to do. The browser independence is further emphasised by the commitment of the Commission to implement the first level of the Web Content Accessibility Guidelines for the Europa and the Intracomm website.
  • The Open Source world has proven to have the ability to adapt to new versions of the Microsoft software / environment. This was demonstrated with the changeover from the NT domain to the NET1 domain and with the changeover from the older versions of Office / Email to the newer versions. Sometimes there was a delay in the development of the adaptation depending on the magnitude of the differences. Also, sometimes certain useful features available in OpenSource world do not exist in the corresponding software in the Microsoft environment.
  • The availability of third party software is not completely positive and is greatly depending on the market and profit analysis done by the corresponding software vendor. The question can again be raised if totally new software based on Open Source could not be envisaged. Most of the time Open Source solutions are available with functionality comparable to the original third party software.

In general, the Linux platforms that were tested show a very fair level of usability and compatibility. An environment based on Linux is today technically feasible for limited groups with specific needs. Although there are many other factors that could play a role in the decision in favour of the implementation of an environment based on Linux, the present testing shows that is not possible to implement it at this moment in time on a large scale. Amongst the most blocking factors is the availability of Commission and local applications. The redevelopment of applications would be necessary to solve this problem. In any case, a migration of more than 25000 users is an entirely different project with different objectives, starting with a necessary cost/benefit analysis. The project of a general migration would need to be prepared and planned very carefully, in the hypothesis of a satisfactory OSS platform and a political and technical decision, in order to guarantee minimal disturbance to the users and a similar level of functionality.

7
 
 

TLDR; tell me if this is a waste of time before I spend forever tinkering on something that will always be janky

I want to run multiple OSs on one machine including Linux, Windows, and maybe OSX from a host with multiple GPUs + igpu. I know there are multiple solutions but I'm looking for advice, opinions and experience. I know I can google how-to but is this worh pursuing?

I currently dual boot Bazzite and Ubuntu, for gaming and develoent respectively. I love Bazzite ease of updates and Ubuntu is where it's at for testing and building frontier AI/ML tools.

What if I kept my computer running a thin hypervisor 24/7 and switched VMs based on my working context? I could pass through hardware as needed.

Proxmox? XCP-NG? Debian + QEMU? Anyone living with these as their computing machines (not homelabs/server hosts)?

This is inspired by Chris Tidus's (YouTube) setup on arch but 1) i don't know arch 2) I have a fairly beefy i7 265k 192gb build, but he's on an enterprise xenon ddr5 build so in a differenrent power class 3) I have a heterogenous mix of graphics cards I'm hoping to pass though depending on workload

Use cases:

  • Bazzite + 1 gpu for gaming
  • Ubuntu + 1 or more GPUs for work
  • Windows + 0 or more GPU Music Production paid vstis and kernel-level anti cheat games (GTAV, etc)
  • OSX? Lightroom? GPU?

Edit: Thank you all for your thoughts and contributions

Edit: what I've learned

  • this is viable but might be a pain
  • a Windows VM for getting around anti-cheat in vames defeats the purpose. I'd need a dual boot for that use case
  • hyperV is a no. Qubes Qemu libvirt, yes
  • may want to just put everything on sparate disks and boot / VM into them as needed

Edit: distrobox/docker works great but doesn't fit all my needs because I can't install kernel-level modules in them (AFAIK)

8
 
 

What are your thoughts on Debian trixie ? I’ve been on many distros but never seen so much hype about Debian on mastodon. Currently using void and Mac OS but don’t know what will get me to try trixie when i’ve hopped to Debian so many times

9
10
 
 

Hey all, just got a Geforce 5070 to replace my 2070 from years ago. Ubuntu's been pretty smooth sailing for me until now, and I'm not exactly the best at navigating this stuff.

When Ubuntu starts to boot, the GPU stops outputting display to my monitor. As though it doesn't detect the new GPU. I tried putting the 2070 back in and downloading the 570 drivers but it didn't change anything. I found a tutorial for what seemed to be my issue that asked me to change the kernel, but halfway through the tutorial, commands that worked on their machine started failing on mine. I wish I'd documented what the error messages were because when I went to poke around more today, I got a message about kernel panic and can't even boot with the 2070. Where do I go from here?

11
 
 

Before I fully make the switch to Linux I'm looking for options to replace an old Windows program called SCRU. You set a folder to watch, and an output folder and it automatically copies specified extensions or extracts rar into the output folder.

I'm trying to figure out if there's a way to do this in terminal and haven't dug into scripts yet, just want to know of it's possible.

12
 
 

cross-posted from: https://programming.dev/post/35495679

Earlier post version: image/text.

From another article referenced there:

The maintainers of the Ubuntu Linux distribution are now rewriting GNU Coreutils in Rust. Instead of using the GPLv3 license, which is designed to make sure that the freedoms and rights of the user of the program are preserved and always respected over everything else, the new version is going to be released using the very permissible or "permissive" (non-reciprocal) MIT license, which allows creating proprietary closed-source forks of the program.

There will surely be small incompatibilities - either intentional or accidental - between the Rust rewrite of coreutils and the GNU/C version. If the Rust version becomes popular - and it probably will, if Ubuntu starts using it - the Rust people will start pushing their own versions of higher level programs that are only compatible with the Rust version of coreutils. They will most probably also spam commits to already existing programs making them incompatible with the GNU/C version of coreutils. That way either everyone will be forced into using the MIT-licensed Rust version of coreutils, or the Linux userland becomes even more broken than it already is because now we have again two incompatible sets of runtime functions that conflict with one another. Either way, both outcomes benefit the corporations that produce proprietary software.

(Source – which does contain some more-than-problematic language outside of these passages, compare the valid objections raised by others here and in the cross-posts.)

Compare also how leaders of Canonical/Ubuntu have ties to Microsoft, and how the Canonical employee who leads the push to rewrite coreutils as non-GPL-licensed Rust software has spent years working for the British Army, where he "Architected and built multiple high-end bespoke Electronic Surveillance capabilities", by his own proud admission.

13
14
 
 

recently i just finished building a new pc. mostly for gaming since my only exposure to linux is steam os and i heard its uses arch with kde plasma so i try to emulate it as close as i can. however soon i realized how different it is and it requires more setup than i initially thought. i spent a whole day or two setting it up and i read now im responsible on maintaining it, what does it mean? is it just finding and testing drivers? or system update? what is the easiest way to do it? and what i getting myself into?

when i was about to install steam i found a tutorial on it with 3 - 4 pages full of text and was a bit overwhelmed, i decided just set it up using discover with flatpak, the problem is when i was about to find out how to do that i read mostly people really hate when you ask how to enable it in arch, is it really bad? should i just use konsole instead?

im not very tech savvy and at first I was really reluctant to use konsole but since i decided to use arch its inevitable that i have to use konsole and so far its not that bad, yet.

I'm just wondering for the long term, should i just change distro? or i should just powertrough arch and see where it goes.

thank you for your time.

15
16
 
 

I recently switched from arch to kionite and I quite like it a lot. There is defenitly more stability and security. Although rpm-ostree I quite a learning curve compared to pacman.

Either way for anyone curious ask NY anything about the distro / the switch to it.

17
 
 

I usually update through dnf but sometimes Discover says there is a "system upgrade" with however many packages that are pending upgrade, but no details provided. It requires a restart after completing.

What is the difference between the two?

Picture of what I'm talking about

18
 
 

Hey all! The primary issue is in the title - Dolphin doesn't play nice w/ files on my home server. I'm able to view, copy, move, or delete them just fine via SMB, but Dolphin acts as if there is no associated software for any file type. Nemo works without issue, but I prefer Dolphin's customization and feature set.

Any idea what could be wrong? I'm a big Linux newb, so I'm still figuring this all out.

19
20
 
 

I made the switch! Well mostly, my main PC that I use for work (audio, music, etc) is still Windows for now while I figure out if I can do what I need with Linux. 3 days ago I threw Mint on my old laptop (which I don't use much for testing as it's still slow, even with Linux) and wanted to use my main laptop to test for switching my PC. Unfortunately it's a Samsung Galaxy Book3 Ultra, which apparently has issues with Linux hardware-wise. I got everything up and running (except for the webcam which was expected) and found Ubuntu Studio, which seems to basically be Ubuntu with auto-install of a suite of audio and video programs, and a low latency kernel (whatever that means. I'll get there to figure it out eventually).

I've learned a LOT. Pulling in Windows vst files through Wine and yabridge was a journey. Every time I fixed an issue and took a step forward, I encountered a new one haha. But, I got it working. I LOVED figuring out the problems, even if I wanted to pull my hair out. The terminal is...really neat.

Anyway it's important to me to try and learn the how/why as I go so here's my question. Librewolf. It installs via terminal, and I'm having issues on Ubuntu Studio. I tried it on Mint and it installed fine. Ubuntu studio however throws up this error: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F

I tried sudo apt-get install -f (which I think looks for missing dependencies and stuff?) but no go. Since both distros are Debian, I'm guessing the biggest difference between Mint and Ubuntu Studio is the kernel? I've been able to fix things with missing dependencies but I'm guessing the public key is something different?

ELI5, why does it work on Mint and not Ubuntu Studio?

Edit: Got it thanks to u/frongt I added the key and it's all good!

Execute the following commands in terminal

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys

where is your missing public key for repository, e.g. 8BAF9A6F.

Then update

sudo apt-get update

21
22
23
24
 
 

Games on Linux are great now this is why I fully moved to Linux. Is the the work place Pc's market improving.

25
 
 

sshPilot is a desktop application for managing SSH connections. It loads/saves standard .ssh/config entries and make it easy to manage multiple servers.

It fully supports dynamic, remote and local port forwarding, key-pair generation, file transfer to remote machines and more.

Features:

  • Load/save standard .ssh/config entries (it loads you current configuration)
  • Full support for Local, Remote and Dynamic port forwarding
  • Intuitive, minimal UI with keyboard navigation and shortcuts -- Press ctrl+L to quickly switch between hosts), close tabs with ctrl+w and move between tabs with alt+right/left arrow
  • SCP support for quicly uploading a file to remote server
  • Generate keypairs and add them to remote servers
  • Toggle to show/hide ip addresses/hostnames in main UI
  • Light/Dark themes
  • Customizable terminal font and color schemes
  • Free software (GPL v3 license)

The app is currently distributed as a debian package and can be installed on recent versions of Debian (testing/unstable) and ubuntu. Debian bookworm is not supported due to older libadwaita version.

Latest release can be downloaded from here: https://github.com/mfat/sshpilot/releases/tag/v2.0

You can also run the app from source. Install the modules listed in requirements.txt and a fairly recent version of GNOME and it should run.

A Flatpak and an RPM version are also planned for future.

I'm also looking for a volunteer to design a good icon for the app.

I'd highly appreciate your thoughts/feedback on this.--

view more: next ›