Is there a way to connect multiple desktops and treat them as one system?
from countrypunk@slrpnk.net to linux@lemmy.ml on 25 Mar 20:44
https://slrpnk.net/post/19974082

I have some desktops (the tower kind) lying around and I’m wondering if there’s a way that I can connect them all to one display and combine their computational power or at least make them all accessible in one place. I want to get into server hosting but only have one monitor. They’re currently running LMDE.

Any ideas?

#linux

threaded - newest

lattrommi@lemmy.ml on 25 Mar 20:52 next collapse

The term for combining their computational power is “concurrent computing”, “parallel computing” or “distributed computing” which aren’t really all exactly the same but i can’t find distinctions betwen them that are well defined. making them all accesible in one place is something i want to do as well but i get distracted easily and haven’t made much progress.

KVM is an abbreviation that means ‘keyboard video mouse’ which also might be something to look into but it can be confusing as it also is an abbreviation for ‘kernel virtual machine’ which also might be related but that’s as far as i got mostly.

i believe you can create a local network if you have a router/hub/switch device with multiple ethernet ports. if all the devices have wifi you should be able to connect through that, using something like jellyfin or maybe proxmox. wish i knew more and could help, hopefully you get better advice because i want to do the same or something similar.

MNByChoice@midwest.social on 25 Mar 21:07 next collapse

It is complicated. There are several options, each with tradeoffs in functionality, compatible software, and performance.

A simple method is to use one system as a desktop, and SSH into the others as “headless”.

Other options include making a K8s or HPC cluster (there are other cluster types).

Spreading a single set of communicating processes requires a low latency interconnect. Something better than Ethernet, like Infiniband. But many programs don’t support that.

catloaf@lemm.ee on 25 Mar 21:07 next collapse

You don’t need to connect them to a display. Give them power and network, and access them remotely via ssh (or graphical protocol if you really want to, but unless you specifically want to run interactive GUIs there’s not much point).

As for combining their power… it depends on what kind of work you want to do.

countrypunk@slrpnk.net on 25 Mar 22:26 collapse

I’m thinking use it to host a Minecraft or matrix server. I’m not expierenced with networking so nothing super advanced.

DeathByDenim@lemmy.world on 25 Mar 22:48 collapse

Matrix server is pretty complicated. You’ll need a reverse proxy, SSL certificates, and preferably a database like Postgresql. Minecraft would be a lot easier.

Either way, a lot of it would involve the command-line anyway, so I would second the SSH suggestion. It’s fairly easy to set up. When installing Ubuntu Server for example it asks you right away if you want to install one.

MoHTHoM@feddit.org on 25 Mar 21:32 next collapse

You can connect all mashines via LAN and make a Proxmox cluster.

anton@lemmy.blahaj.zone on 25 Mar 22:24 next collapse

I’m wondering if there’s a way [to] combine their computational power.

Only if your problem can be be split up reasonably, otherwise you will spend more time waiting for data to move.
Where it can work: video encoding, CI pipelines, data analysis
Where it won’t work: interactive stuff, most single file operations

I want to get into server hosting […]

Then you don’t need another reason to do it.

[If] I can connect them all to one display [or] make them all accessible in one place.

You can either get a hardware switch or chose a primary computer and connect to the others. For that you can use remote desktop software or be a try hard and use ssh.

countrypunk@slrpnk.net on 25 Mar 22:31 collapse

The hardware switch looks promising. Are there any decent ones for under $50 out there or are they usually a big investment?

superkret@feddit.org on 25 Mar 22:40 collapse

You don’t even need hardware for it. Barrier is a software solution.

www.youtube.com/watch?v=-KiOMjqykbU&t=734s

Morphit@feddit.uk on 25 Mar 22:51 collapse

Barrier is only for inputs IIRC. To get Keyboard Mouse and Video (more usually KVM) you need some kind of remote desktop software. Rustdesk is pretty straightforward. I think Gnome handles RDP access natively now if you’re running a Gnome based Linux distro. Otherwise XRDP is a bit of a faff, but solid once it’s working.

folekaule@lemmy.world on 25 Mar 22:35 next collapse

Are you telling me Beowulf clusters are back?

Jokes aside, it depends what you want to do. You can’t really build one powerful gaming PC out of multiple, but your can run parallel workloads in a number of different ways. What exactly, comes down to what you’re doing. A kubernetes cluster is different from a Blender render farm, for example.

As others mentioned you can just remote into the servers with ssh, vnc, rdp, etc. if you want physical displays on them, you can look for a cheap KVM which lets you control multiple PCs with one keyboard, monitor, and mouse.

veroxii@aussie.zone on 26 Mar 02:56 collapse

Holy Slashdot batman!

limelight79@lemm.ee on 27 Mar 00:27 collapse

How many of us old Slashdot users are here, anyway? 5 digit UID here.

veroxii@aussie.zone on 27 Mar 01:29 collapse

5 digit here too: 56k something. I think there are many. It feels a bit like those days and I’ve noticed a lot of GenX people here.

Quazatron@lemmy.world on 25 Mar 22:38 next collapse

I’m old enough to have clustered some 16 desktop PCs using openMOSIX a long time ago, before the era of multiple cores and threads.

The whole cluster would function like a single Linux system, automatically spreading the work between nodes.

I used it to run SETI@Home for a bit of fun.

It was a neat idea, but never went mainstream. Soon single PCs were powerful enough to run virtual machines and be partitioned instead of clustered.

tonyn@lemmy.ml on 25 Mar 23:26 collapse

Now software bloat has caught up to the gains we’ve made in hardware and we’re back to it taking 15 seconds to load a word processor.

Aussiemandeus@aussie.zone on 26 Mar 12:03 collapse

Bloody got a new Windows 11 lenovo something today. It’s so slow to just open settings up.

tonyn@lemmy.ml on 26 Mar 14:11 collapse

I know the Windows vs Linux thing is like beating a dead horse, but I use both, and the Linux machine never gets slow like Windows does. Windows does so much crap in the background that you and I don’t need want or care about, and Linux just does what it’s told when it’s told. Give it a try if you’re feeling adventurous.

Aussiemandeus@aussie.zone on 26 Mar 19:57 collapse

Yeah, I’m in the planning stage of buying a new personal desktop that I’m going to run Linux on from the get go, I’m just tired of Windows.

Once I’m a little more financial I’m going to pull the trigger and build my next gaming pc

Dirtboy@lemmy.world on 26 Mar 00:07 next collapse

Back in the day I used to use Synergy to have one mouse and keyboard across multiple monitors and OSes

symless.com/synergy/software-kvm

I could seamlessly scroll across 3 monitors pushed by 3 different computers.

lemmeBe@sh.itjust.works on 26 Mar 02:13 collapse

I use Deskflow. It’s an upstream for Synergy. I’ve Tumbleweed and Mac connected. Buttons can be mapped to avoid difference in keyboard layouts and streamline the experience. Been happy with it. 🙂

secret300@lemmy.sdf.org on 27 Mar 00:37 collapse

Why haven’t I heard of this!?

lemmeBe@sh.itjust.works on 27 Mar 05:26 collapse

Check it out. 🚀

There was a bit of wiggling to set it up - you’ve to allow firewalls on both PCs to allow it to pass through.

DarkDarkHouse@lemmy.sdf.org on 26 Mar 00:18 next collapse

You can install a Proxmox virtualisation cluster, a popular (the most popular?) option for self-hosting services. All nodes in the cluster are visible in a single web interface. For additional system coordination, you can set up High Availability and clustered file systems that the nodes can share.

countrypunk@slrpnk.net on 26 Mar 01:59 collapse

Do I need to have elevated network permissions to do that? I don’t have admin access on my WiFi network and it is shared with a lot of people.

lka1988@lemmy.dbzer0.com on 26 Mar 03:56 collapse

It depends how much shit is blocked on the network at the user level.

DarkDarkHouse@lemmy.sdf.org on 26 Mar 08:50 collapse

There are several ways around it. If you are self hosting for a small trusted group, or just yourself, you can use Tailscale.

NeoNachtwaechter@lemmy.world on 26 Mar 05:06 next collapse

connect them all to one display

The X Window System was invented originally with this idea. It can even connect multiple machines to multiple displays seamlessly.

en.m.wikipedia.org/wiki/X_Window_System

It still works fine, but after most people have been using it only on 1 PC and screen, they abandoned it in favor of Wayland.

Nowadays even self hosters, the cream of the crop of all nerds ;-) usually prefer headless servers and only 1 PC with many screens connected to it.

Xiisadaddy@lemmygrad.ml on 26 Mar 06:27 collapse

I saw you comment that your thinking of hosting a minecraft server on it. Just FYI your going to need access to the router for port forwarding to let the minecraft server be accessible to anyone not on your LAN. Which i saw you may not have in another comment. As for actually controlling them just ssh into the server from the other one.

If you really want to do a server that other people can join and cant use port forwarding you may be able to get it to work with a VPN like hamachi and get your friends all on that. But ive never done that with an actual server just used it for LAN games so im not sure it would work. Id think it should but cant say.

Psythik@lemm.ee on 26 Mar 20:28 collapse

You’re*

Xiisadaddy@lemmygrad.ml on 27 Mar 06:26 collapse

英语是太蠢了