this post was submitted on 21 Feb 2024
31 points (81.6% liked)

Linux

48072 readers
1 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
 

I'm looking for a specific distro to handle some tasks.

I got a second hand rig with Nvidia GTX 1050 that I want to use as a home server. I wanted to use HoloISO but it doesn't support nvidia. If someone says "do it anyway, it's fine" I'll install it though.

The idea is to support a Jellyfin server and Steam Link gaming but steam is not big on Nvidia so it's hard to narrow down "black screen" issues etc. I'm also planning to manage it via VNC and SSH.

I'm familiar with Ubuntu based systems since I develop software on Ubuntu based KDE distro but never had a graphics card.

So it boils down to:

  • Ease of setup including nvidia drivers
  • Ease of update via command line (I'm not going to download nvidia drivers from their website to update proprietary drivers)
  • Graphics performance
  • Prefer Ubuntu based

I'm up for Gnome, Xface, Cinnamon, KDE or whatever DE.

Edit: Changed title to better reflect requirements and not have misleading "headless" and "server" in it

all 34 comments
sorted by: hot top controversial new old
[–] ipsirc@lemmy.world 50 points 1 year ago (2 children)

Ubuntu is primarily Ubuntu-based for example.

I’m up for Gnome, Xface, Cinnamon, KDE or whatever DE.

…on a headless server. What does the word "headless" mean to you?

[–] Fryboyter@discuss.tchncs.de 23 points 1 year ago (2 children)

Nowadays, servers that are not connected to a monitor, keyboard or mouse are often referred to as headless. Regardless of whether they have a graphical user interface (which can be used with tools such as Guacamole, for example).

I'm not trying to say that this is correct, but simply to point out that the term "headless" is now often interpreted differently.

[–] halm@leminal.space 12 points 1 year ago (1 children)

Fair enough. I felt tempted to reply something like "SSH, that's all the DE you need", but OP specifically says they'll use VNC to access, so that answers it I guess.

[–] olafurp@lemmy.world 5 points 1 year ago (2 children)

That's exactly it. No keyboard, mouse or monitor. Just a laptop connected to it via VNC.

[–] halm@leminal.space 10 points 1 year ago (1 children)

I understand the desire to have some graphic interface, and it's not a bad machine you have so the desktop environment shouldn't take too much CPU and RAM from the server side of it. For my money though — and my significantly worse hardware — I'll prefer to go completely headless and SSH in.

[–] olafurp@lemmy.world 3 points 1 year ago

I like doing non-gui stuff and I do that for all the Jellyfin stuff in docker through ssh. But since I want to run steam games on it I'd prefer to have some DE since Steam primarily supports their GUI. I feel like if I don't have a DE I might not be able to access all of Steam's features, I could be wrong though.

[–] flashgnash@lemm.ee 2 points 1 year ago

Have you considered just having it boot straight into steam with gamescope like the steam deck does?

[–] JTheFox@lemmy.world 1 points 1 year ago

I would have to agree, I’ve seen headless referred to in both ways. The most common that I’ve seen is what you’re referring to now. Where a server or computer has no keyboard, mouse, and monitor and is primarily controlled over the internet with something like ssh.

Both ways can be seen as “correct” though. Just depends on how you view a “headless” system.

[–] jonne 1 points 1 year ago

If he wants to use it for gaming over steam link, he'll need a graphical interface. I use a PC this way as well: headless most of the time, although realistically you'll want to use a monitor once in a while to configure steam and figure out gfx issues (and in my case, if it boots it defaults to a 640x480 display, which I need to fix by attaching an actual monitor, I'm sure there's a way around it, but meh).

[–] Guenther_Amanita@feddit.de 12 points 1 year ago* (last edited 1 year ago) (2 children)

I think many here misunderstood your intention. The combination of "server" and "what DE?" is a weird thing for most of us, especially since you said headless, which usually means no desktop, only ssh and stuff.

But I think I understand what you are up to.
You want something mainly for gaming, where the PC acts as "brain" of the games, and you only stream them to a low-power device, similar to what Stadia was planned. Right?

For that, I'll recommend Bazzite with Moonlight or how it's called.
Bazzite is a gaming oriented Fedora Atomic spin that has Nvidia-drivers already baked in, updates itself (you only need to reboot once in a while) and gives you a great experience, even offering to boot straight into Steam's BPM.

Moonlight/ Sunshine/ whatever is a screen sharing protocol or software that allows you to stream games without latency or much quality loss.

I'm no pro tho, so take my suggestions with a grain of salt :)

[–] possiblylinux127@lemmy.zip 1 points 1 year ago (1 children)

I would personally avoid any of those "gaming oriented" distros. They are very small and lack the support of a larger entity.

For Nvidia I would go with Pop os and or Linux Mint

[–] Guenther_Amanita@feddit.de 3 points 1 year ago

Generally speaking, you're right.
But Bazzite is different. It's built on uBlue/ Fedora Atomic and therefore barely needs maintenance, both for the devs and the users. Keeping a distro secure and updated is a huge burden normally, but here, it's done from upstream via Github-actions.

Also, community wise, it already has a big one AND Fedora Atomic guides also apply to that, e.g. install scripts.

Another pro is that the Nvidia drivers are baked into the image, so if they break, they're instantly fixed by the devs, because then everyone has a broken system. But that's no problem, since you can just roll back in seconds.

For a pure gaming focused device like this one, a special distro makes sense. You'll get a better experience and performance compared to Mint for example, due to kernel patches, built in tools, etc.

[–] olafurp@lemmy.world 1 points 1 year ago

You're spot on, I'll give Bazzite a shot and see where it goes. Booting straight into BPM sounds very good. :)

If you want to also go down this route I heard that using a HDMI dummy plug allows GPU acceleration with Moonlight. It's $2 on Aliexpress.

[–] OneCardboardBox@lemmy.sdf.org 3 points 1 year ago (1 children)

VNC is a security hole unless you route it through an SSH tunnel. If you're managing a docker container for jellyfin there's not much UI work to be done anyway.

[–] olafurp@lemmy.world 1 points 1 year ago (1 children)

I also want to run steam games on it so VNC option is preferred. It can be temporarily turned on via SSH with a some configuration and bash scripting.

You can also set up a wireguard VPN to run VNC over, that might be easier instead of using SSH tunnels.

[–] WilfordGrimley@linux.community 3 points 1 year ago (1 children)

I would use Bazzite 100%. It's an atomic fedora spin that aims to replicate SteamOS. It has a KDE Nvida variant, and comes preinstalled with all of the gaming software and optimizations you need out of the box. All that is required to update it is a restart.

Just switch to X11 from Wayland after first boot and you're as good as gold. (If Wayland works fine with your card it may be a better option because I think it plays more nicely with BigPicture mode if you need that)

[–] MajinBlayze@lemmy.world 1 points 1 year ago

I really like what I'm seeing with this project, and the opensuse spinoff.

[–] thehatfox@lemmy.world 2 points 1 year ago

If you familiar with Ubuntu and its derivatives, just use Ubuntu.

Ubuntu provides a server version called Ubuntu Server alongside the desktop versions if needed, and Ubuntu provides easy access to things like ZFS.

You can always switch in the future if you find you have server needs or preferences the Ubuntu doesn't suit.

[–] possiblylinux127@lemmy.zip 2 points 1 year ago* (last edited 1 year ago)

Maybe Vfio powered virtual desktop? You could install Proxmox and then pass though the GPU to a VM.

For remote access you could use Sunshine/moonlight

For Jellyfin I would create a different VM running Debian with your integrated graphics passed though.

[–] LoETR9@feddit.it 2 points 1 year ago

Ubuntu Server seems the obvious choice. Just roll with the DE it will install as dependency for one of your needed apps.

[–] Pantherina@feddit.de 1 points 1 year ago

I would recommend ublue bazzite or secureblue (nvidia userns kinoite). Never used VNC on wayland as clients that dont need static IPs suck or have no wayland support. KDE has software for that.

Bazzite would be the easy solution as it is a very well curated image (with lots of variants) for gaming.

Secureblue is not for gaming, so you will need Flatpak for Steam, Bottles, Lutris and PupGui or whatever you use. Or you layer everything, which will slow down updates but as a server its not that bad. But secureblue is a "proof of concept" of a secure Fedora. You might encounter new bugs as its currently not meant for gaming, and this will be helpful to improve radical security trends for Fedora (secureblue does lots of things Fedora doesnt, as it is a clear secure distro, not "it works kinda and always").

Ublue (and all derivates like bazzite or secureblue) has the drivers preinstalled and if the addition breaks something you will likely just not get an update, rather than have a broken local system.

Please report your findings!

[–] olafurp@lemmy.world 0 points 1 year ago (2 children)

After doing some research I'm surprised that nobody here mentioned Nobara. I think it fits neatly here.

[–] Pantherina@feddit.de 6 points 1 year ago* (last edited 1 year ago) (1 children)

Nobara is a half baked not well maintained and very hacky fork of Fedora.

It is substantially less secure, even though you might squeeze out some performance percents using their hardware optimizations.

This may not be worse as it fits the purpose, would still kinda advise against.

[–] olafurp@lemmy.world 1 points 1 year ago (1 children)

Can you elaborate on the "substantially less secure" part?

[–] Pantherina@feddit.de 2 points 1 year ago
  • very slow and seemingly manual updates, unlike the CI/CD of ublue
  • replaced SELinux with Apparmor, not sure about the used profiles but just assume that this "at most few person" project is less secure
  • bundling in a ton of fixes that may break

It is a cool project as a proof of concept, but extremely hacky with drawbacks

[–] conciselyverbose@kbin.social 2 points 1 year ago

I've had decent experience with nobara with a 2080. I had a couple hiccups early, and had to reinstall basically right away, but after that it's been solid.