51
submitted 5 days ago by countrypunk@slrpnk.net to c/linux@lemmy.ml

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?

top 32 comments
sorted by: hot top controversial new old
[-] nanook@friendica.eskimo.com 1 points 1 day ago

Yep, I still use X2go to get a remote graphical display from my machines at the data center while I work on them from home. It also provides sound and remote printing and leverages scp to transfer files.

[-] folekaule@lemmy.world 36 points 5 days ago* (last edited 5 days ago)

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 7 points 5 days ago
[-] limelight79@lemm.ee 1 points 4 days ago

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

[-] veroxii@aussie.zone 1 points 4 days ago

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.

[-] NeoNachtwaechter@lemmy.world 17 points 4 days ago* (last edited 4 days ago)

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.

https://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.

[-] Dirtboy@lemmy.world 15 points 5 days ago

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

https://symless.com/synergy/software-kvm

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

[-] lemmeBe@sh.itjust.works 5 points 5 days ago

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 1 points 4 days ago

Why haven't I heard of this!?

[-] lemmeBe@sh.itjust.works 2 points 3 days ago

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.

[-] catloaf@lemm.ee 11 points 5 days ago* (last edited 5 days ago)

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 4 points 5 days ago

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 3 points 5 days ago

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.

[-] lattrommi@lemmy.ml 11 points 5 days ago

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.

[-] Quazatron@lemmy.world 10 points 5 days ago

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 6 points 5 days ago

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 2 points 4 days ago

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

[-] tonyn@lemmy.ml 2 points 4 days ago

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 3 points 4 days ago

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

[-] DarkDarkHouse@lemmy.sdf.org 5 points 5 days ago* (last edited 5 days ago)

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 1 points 5 days ago

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 3 points 5 days ago

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

[-] DarkDarkHouse@lemmy.sdf.org 1 points 4 days ago

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

[-] anton@lemmy.blahaj.zone 5 points 5 days ago

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 1 points 5 days ago

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 1 points 5 days ago

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

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

[-] Morphit@feddit.uk 1 points 5 days ago

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.

[-] Xiisadaddy@lemmygrad.ml 2 points 4 days ago

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 -1 points 4 days ago
[-] Xiisadaddy@lemmygrad.ml 0 points 3 days ago

英语是太蠢了

[-] MoHTHoM@feddit.org 2 points 5 days ago

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

[-] MNByChoice@midwest.social 2 points 5 days ago

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.

this post was submitted on 25 Mar 2025
51 points (90.5% liked)

Linux

52636 readers
1077 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 5 years ago
MODERATORS