Linux multiple GUI sessions on same machine

Hello fellow lvl1tech users. Long time fan of yt series. Finally found question bugging me so much I need help with. Really it’s just an excuse to enter forums :wink:

Problem:

  • 2 users
  • 1 linux machine
  • simultanous usage by 2 users via GUI

Question:
How to solve this?

Motivation:
I got great linux box for ma parents.
They both are fine with using linux, but there are times where they need to use computer at the same time.
Use case: internet browsing.

I would like them to use same machine simultanously.
One user will be sitting in front of the PC, using screen, mouse and keyboard attached directly to box.
Other one would be chilling in living room in front of TV.
I plan to attach terminal to TV, hook up bluetooth keyboard and mouse to it.

How to implement solution like this?
I want user logging in via terminal to see regular login screen and contiune using PC as if it was regular experience (sitting in fron of PC).

Maybe there are obvious solutions, but I fail to see one.
If my problem description is not clear let me know, I’ll do my best to fill the gaps.
All tips welcomed.

I would like to avoid running 2 separate VMs on one box, just to save resources.

2 Likes

I’ve not got an easy answer for you except to say that it’s possible - I used to do the equivalent with Xterminals and a DEC AlphaServer in the mid 1990s. Conceptually, you run two Xservers with a separate login box on each one; no virtualisation necessary.

The key phrase to search for is “Linux multiseat” or just go to https://help.ubuntu.com/community/MultiseatX to start with.

4 Likes

This is a pretty sweet usecase. Also, you’ve piqued my interest. I’m going to do some research on it eventually.

1 Like

You may want to read up on MultiseatX (it has been around for a while)

Arch: https://wiki.archlinux.org/index.php/xorg_multiseat
(newer more up to date content)

Debian: https://wiki.debian.org/Multi_Seat_Debian_HOWTO
(Slightly older content)

Maybe there is a way to do some funky x11 forwarding, but that would require another device to ‘login’ via VNC.

1 Like

Thank you all for answers.
Project died when my son was born.
Didn’t have time for it.

In case you get back to it…

I suggest x2go.

Put the x2go server packages on the shared machine. x2go client packages can be found for multiple operating systems including windows. x2go is what I use to administer my headless machines.

So you would suggest installing a thin client/pi or other small machine in the living room, just powerful enough for session controls for a session on the main machine?

1 Like

Might just be easier to go pi4 and let them adjust to slower access/processing

1 Like