I have 2 monitors, 2 keyboards, 2 mice, and 1 computer. How can I set it up for shared use?

I know this was possible on X but with Wayland maturing I assume it’s moved over.

  • markstos@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    10 hours ago

    You can do it but using a junk second computer with no hard drive, a slow CPU and little memory.

    This is the thin-client concept and it has been in use going all the way back to mainframes. It lost popularity when personal computers- PCs- got cheap.

    Works like this:

    The thin client BIOS is set to boot over the network. It locates your desktop, downloads a small OS and displays a login, to your remote desktop.

    From there, it’s passing through the keyboard and mouse input to remote server and displaying the output. The real CPU work is all handled by the server.

    The whole Edubuntu distro was built around this design. You could have one decent computer in a school computer lap and 20 crappy thin clients and everything would feel pretty snappy and work pretty well. Cheap and low maintenance to admin with only one hard drive / distro to maintain!

  • Damage@feddit.it
    link
    fedilink
    Italiano
    arrow-up
    1
    ·
    8 hours ago

    On kde you just click “switch user”, log into the new session and then use Ctrl+shift+F#, much like X11

      • dan@upvote.au
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        44 minutes ago

        See if your CPU has integrated graphics - you could use that.

        I was going to say that you could get a low end graphics card like an RX550, but even those have gone up in price. They originally sold for $70 for the 4GB model and were around $30-35 second-hand before everything went up.

        Avoid low-end Nvidia on Linux, as they become VRAM-constrained. Nvidia’s Linux driver doesn’t let GPUs swap to system RAM like AMD’s and Intel’s do.

  • Kajika@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    24 hours ago

    It is possible, but it is not a wayland limitation per-say but a compositor one (aka the wayland server), and I say “limitation” if the compositor doesn’t have multi-display option.

    Technically wayland is not the issue:

    If you look at your /run/user/[uisd] (uid is probably 1000) you will see the wayland “displays” (socket here), usually named wayland-X. The /run[...] is usually set from $XDG_RUNTIME_DIR while the wayland socket to be used is set in the environment variable $WAYLAND_DISPLAY. So running an application in a 2nd session would just require setting the $WAYLAND_DISPLAY to an other value (that exists).

    It seems that Sway is able to do this with the output command.

    • sudoer777@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      I’ve been looking into ways to do funky things with graphical sessions and am considering switching to a setup based on GNOME Remote Desktop and headless mode to have multiple sessions at the same time (although that differs from what OP is looking for)