I ran into the same problem, however I made a small workaround.
It is not ideal, but with this different linux users can use the simulator at the same time.
In my example I have 3 users
- simulator (This user installed skydel-sdx)
- user1 (has a GUI running and wants to launch skydel-sdx)
- user2 (has a GUI running and wants to launch skydel-sdx)
Next we need to set the permissions of the home directories of our users. The important part is here, to set the group permission to
rwx. You will see later why.
sudo chmod 771 /home/user1/ /home/user2/
Then add the following to your sudoers config:
$ sudo visudo
# Allow these users to execute the skydel-sdx command without password prompt
user1 ALL=(simulator:user1) NOPASSWD: /bin/bash -c skydel-sdx
user2 ALL=(simulator:user2) NOPASSWD: /bin/bash -c skydel-sdx
That pretty much finishes the configuration. The only thing left is, that the users now start skydel-sdx with the following commands:
$ xhost +
$ sudo -u simulator -g user1 -i skydel-sdx
xhost + disables access control for the xserver for the current user. So it allows the user simulator to spawn windows in the display of the current user.
sudo command executes the skydel-sdx under the user simulator but with group user1. Therefore you can still access the files of user1.