Hi,
I'm new to Obarun and 66/s6 I'm trying to understand how to use it properly.
I have a question about multiple desktop users, from the documentation is not clear when you have multiple users if you have to add them to the same user tree or you have to create multiple user tree, one per each users.

For example if you have user1 and user2 which one of the following is correct:
# 66-tree -nE boot-user
# 66-enable -C -F -t boot-user boot-user@ user1
# 66-enable -C -F -t boot-user boot-user@ user2
# 66-tree -nE user1-session
# 66-enable -C -F -t user1-session boot-user@ user1

# 66-tree -nE user2-session
# 66-enable -C -F -t user1-session boot-user@ user2
Both should work, but i would advice you to enable it on the same tree mostly if you want to use a DM. To be honest, the link between a console tracker like consolekit and an user tree is not well implemented (this will change is the future).
Anyway, follow this
# 66-tree -nE boot-user # or whatever the name you want, it's up to you
# 66-enable consolekit # enable the console tracker, may be useful for complex DE like plasma
# 66-enable lxdm # this is optional, it's up to you to enable or not a DM
# 66-enable -C -F -t boot-user boot-user@ user1
# 66-env -t boot-user boot-user@ user1
the last command will allow you to configure the boot-user@ user1 service configuration file. Be sure to comment CONSOLE_TRACKER and DISPLAY_MANAGER, we have enabled its already. Also, take care of the command to launch with DESKTOP_CMDLINE if you start you desktop with startx or through .xinitrc file.
Finally, enable the boot-user@ service for the second user.
# 66-enable -C -F -t boot-user boot-user@ user2
# 66-env -t boot-user boot-user@ user2
You are the first one to ask for multiple user and this is please me :).
Thank you for your reply.
I followed your advice and everything seams to work correctly.

Now I have these trees:
sudo 66-intree -z

Name         : boot
Initialized  : yes
Enabled      : no
Starts after : None
Current      : no
Allowed      : root
Symlinks     : svc->source db->source
Contents     : tty@ tty12 system-hostname mount-run populate-run mount-tmp populate-tmp
               mount-proc mount-sys populate-sys mount-dev mount-pts mount-shm
               populate-dev mount-cgroups 00 all-Mount system-hwclock modules-kernel
               system-random modules-system system-sysctl udevd-log udevd udevadm
               system-fontnkey system-fsck mount-fstab all-System mount-rw mount-swap
               mount-netfs local-loop local-sethostname local-time local-authfiles
               local-tmpfiles local-dmesg all-Local all-Runtime All tty-rc@ tty1
               tty-rc@ tty3 tty-rc@ tty4 tty-rc@ tty2 boot@ system

Name         : root
Initialized  : yes
Enabled      : yes
Starts after : None
Current      : yes
Allowed      : root
Symlinks     : svc->source db->source
Contents     : dhcpcd-log dhcpcd

Name         : users-session
Initialized  : yes
Enabled      : yes
Starts after : root
Current      : no
Allowed      : root
Symlinks     : svc->source db->source
Contents     : setenv@ joe svscan@ joe-log svscan@ joe scandir@ joe mount-run@ joe
               boot-user@ joe setenv@ gspe svscan@ gspe-log svscan@ gspe scandir@ gspe
               mount-run@ gspe boot-user@ gspe dbus-log lxdm-log dbus lxdm

Try using the -zg option for more descriptive output

Also running the same command without sudo, as a user, it will show you your user trees and services.

Welcome and enjoy

Powered by Obarun