Sounds already like lots of "frickeln" your approach. systemd does it
hotplug and clean.
2014-06-08 13:42 GMT+02:00 Ruediger Meier
On Sunday 08 June 2014, Damian Ivanov wrote:
http://en.wikipedia.org/wiki/Multiseat_configuration sure it can be on one monitor if you manage to split the monitor so 2 X servers can run (and be active) at the same time and both users have their independent session.
That's very easy if you run each "seat X-server" within (borderless) Xephyr windows. You can resize and place the windows across half, one or x monitors dynamically as needed. if one user is away for a coffee then the other one can resize his Xephyr to the full available underlying real X-Server.
This solution is completely independent of how many GPUs or monitors you want to use.
Simplified I start such second seat but this script: ------------ disp=":11"
# as root MOUSE="/dev/input/by-id/usb-Logitech_USB_Optical_Mouse-event-mouse" KBD="/dev/input/by-id/usb-Dell_Dell_USB_Keyboard-event-kbd"
export DISPLAY=:0 Xephyr \ "${disp}" \ -ac \ -screen 1280x1024 \ -dpms \ -keybd "evdev,,device=${KBD},xkbrules=evdev,xkbmodel=evdev,xkblayout=de,xkbvariant=nodeadkeys,xkboptions=compose:rwin" \ -mouse "evdev,,device=${MOUSE}" \ & sleep 2
# as user export DISPLAY="${disp}" startkde # or whatever -----------
Since systemd, logind, new udev, dbus deps or whatever I got several kind of problems. As workaround now I run Xephyr as root and "startkde" as the user which wants to use the new session.
cu, Rudi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org