Score:1

Running multiple ubuntu GUIs on a single machine

bf flag

I have a pc with a powerful cpu, gpu and a large ssd for the ubuntu installation. I want to connect multiple screens and mice, so each user has his own Ubuntu GUI running on his screen.

Think about it as a way to have two computers in one body. Is that possible? If so, how do I do it.

Thanks!

petep avatar
in flag
You can create many users and just use vnc for server
guiverc avatar
cn flag
If you connect multiple mice, multiple keyboards, multiple monitors to the same box, and have multiple DEsktops installed.. you'll just have a single desktop running (what you selected at login at your greeter/DM), and have multiple mice or keyboards/mice you can use (*for me that's one at my desk, one at my standing desk & one on my exercise bike*) which I find functional. To achieve what you want would require changes & coding as all *modern* DEs & Wayland don't assume that. Xorg had machine/screen capabilities long ago but no-one used them.
Emre Talha avatar
ar flag
Your request reminded me of a [YouTube video](https://www.youtube.com/watch?v=OSodGduWeL0) that explains Linux MultiSeat. This might be the thing you are looking for. If not, it is possible to install many Virtual machines and run them at the same time if the motherboard has enough PCI-E slots or the machines don't require powerful GPUs.
karel avatar
sa flag
Does this answer your question? [How can multiple people concurrently use a single machine with a keyboard and monitor each?](https://askubuntu.com/questions/396827/how-can-multiple-people-concurrently-use-a-single-machine-with-a-keyboard-and-mo)
Score:0
bq flag

You want multiseat. This allows the same computer to be used by several users at once without interfering with each other. For example here i have one 'seat' with dual screen and pro-audio stuff at the desk i'm typing from right now, and another one with the TV in the room with extra keyb+mouse, sound goes through HDMI to the TV. This way my wife & i can be, let's say one of us at the desk, the other in the bedroom reading/watching/playing different stuff, like if each room had a different computer, but they share the same CPU, RAM, storage, etc. (Both screens at the desk are on the same graphics card, i'm not sure how much more complicated or even possible it would be if they weren't)

These days multiseat is integrated in systemd and the display manager (lightdm, etc) so it makes it a bit easier to set up - though it's still possible to do without, ie. on older / no versions of systemd. Actually this is just a front-end that creates the udev rules for you.

Normally you'd use the command 'loginctl' to see or change seat setup. 'loginctl seat-status' will show you a list of hardware attached to each seat. To attach a device to a seat rather than the default one 'seat0' you use 'loginctl attach (seat-id) /sys/devices/(spec of which device)' - you can get the spec/path of the device from 'dmesg -w' when you plug/unplug the device, or from commands such as 'lspci' or 'lsusb'.

Seats are added/removed automatically (seat0, seat1 etc) when either some or no hardware is attached to them. So if you attach something to nonexistent seat2, it will be created on the fly, then it will be removed when no more hardware is assigned to it.

More info:

https://www.freedesktop.org/wiki/Software/systemd/multiseat/

https://wiki.archlinux.org/title/Xorg_multiseat

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.