Launch app_server in user context.

This way, we get the user's environment variables, and so should
input_server, which is started by app_server.

This should, after 6 years, fix #12534. We may need to revisit this
when/if we add multiuser support, but that is a problem for another day.

Change-Id: I04698306bc68a585acd232e9f9d29c50bc170a1f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4506
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Augustin Cavalier
2021-10-26 19:20:53 +00:00
committed by waddlesplash
parent b69c9008dd
commit a04b2f4c5e
3 changed files with 12 additions and 10 deletions
+6 -2
View File
@@ -1,6 +1,10 @@
target desktop {
env /system/boot/SetupEnvironment
env /system/boot/SetupEnvironment
service x-vnd.Haiku-app_server {
launch /system/servers/app_server
}
target desktop {
service x-vnd.Be-TRAK {
launch /system/Tracker
legacy