I'm trying to use multiseat with Ubuntu, but I can't make this work.
I've read a lot of "how to", and the most of them are about doing a multiseat with some distro with GDM2, or KDM. But, I'm using the lightdm of Ubuntu.
So now I'm trying to make this multiseat with Xephyr, which I've already used to make a multiseat with the Debian 4 version. But I don't know how to call Xephyr in lightdm.conf.
There is a sample of LightDM setup for multiseat using Xephyr. It looks like Andrzej Pietrasiewicz (the author of the blog copied/referenced below) created a PPA with all the code displayed below. By installing that PPA, you should be able to get a lightdm installation to work "magically".
Note: As I have been trying to get that to work, I have not succeeded yet. However, I can tell you that there are a certain number of contradictory parameters in what follows.
Some important parts:
Something like that:
The xorg.conf file:
Source: http://beforeafterx.blogspot.com/2011/02/multiseat-setup-xorgconf.html
The script in lightdm.conf:
Source: http://beforeafterx.blogspot.com/2012/08/multiseat-setup-lightdmconf.html
The multiseat scripts start Xephyr with parameters describing the mouse and keyboard to use for that seat. I will do my best to find out that information and provide it here too.
Source: http://beforeafterx.blogspot.com/2012/08/multiseat-configuration-xephyr-seat-1.html
The greater referenced in the lightdm is also a separate shell script. Note that I would recommend you reference
/bin/sh
instead of/bin/bash
. I did not see anything that would require bash. Note that it references the default lightdm-gtk-greeter at the end.Some of the functions may be defined in the following script. Somehow, it includes yet another multiseat script that I haven't seen yet...
The fake-greeter script is a sleeper. It just sleeps until it gets killed by a full shutdown. Apparently, this is not required. According to a comment, the
-noreset
option is enough to avoid having to wait like this. I will report later once I tested for myself.The same blog says that he is having problems with udev and he has to re-reset it so multi-seat works properly. This was in August 2012 so I do not know whether that would still apply in 2014.
To properly setup this script on your system, run the following command:
Again, I do not know whether this script is required at this point. Just organizing the scripts offered by Before after X.
Source: http://beforeafterx.blogspot.com/2012/08/multiseat-setup-initdmultiseat.html
try xrdp it will be the easiest solution. I installed vnc4server and then installed xrdp. and then I used rdesktop / tsclient / remmina to connect xrdp machine using IP Address.
There is a wonderful blog detailing the process of getting an Xephyr based multiseat set up. He also is using Lightdm. Hope it helps.