News for hackers. Stuff that matters.
Re:Ideal Monitor Rotation for Programmers by jbverschoor on Thursday December 02, 2021 @03:39PM (#29422173)
I basically want to have real multi user. I want my dev/project to be an isolated user, also bc of software supply chain security. I want to map it to a (virtual) screen. I want to be able to share the clipboard.

I think the closest is running multiple OS X/Linux in VMs

Re:Ideal Monitor Rotation for Programmers by necovek on Sunday December 05, 2021 @02:50PM (#29452425)
You could also achieve this with pure X server and several system users: X controls your display and inputs (kb/mouse), and you let different X clients from different system users display on that server (eg. set the DISPLAY env var properly, configure X server permissions with xhost utility).

Then, you use a configurable tiling manager to control which windows go where (I am sure you can even go by the user somehow, but maybe you'll need to "decorate" the client run with an env var too).

Re:Ideal Monitor Rotation for Programmers by mercora on Friday December 03, 2021 @12:43AM (#29426993)
what i do for work is very close to what you want and its pretty easy to achieve with using lightdm and the dm-tool with the add-nested-seat command. It will start a new Xephyr X server local to your current user and attach the session manager to it. from there you just login and have the second user session in a window just like you wanted... however, i did not get clipboard sharing to work but i actually like this extra bit of isolation.... its not even hackish and performance is exactly as native because it is... its a bit harder to get sound working concurrently, but not impossible, although i never really tried. However, i use pipewires pulseaudio interface to stream audio to a remote AV receiver in the room and this should work fine in the second user session too, although as said i never bothered to try...
Re:Ideal Monitor Rotation for Programmers by nezirus on Thursday December 02, 2021 @04:06PM (#29422575)
Sway has multiseat, maybe it would be a match for your use-case, check manual for sway-input.