1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:17:45 +00:00

SystemServer: Add per user mode (--user)

System server running in user mode will form the basis of a "session"
for login purposes in serenity.
This commit is contained in:
Peter Elliott 2021-10-07 23:17:37 -06:00 committed by Andreas Kling
parent 3ad6d87a45
commit f8fb0359ae
2 changed files with 23 additions and 47 deletions

View file

@ -99,33 +99,6 @@ SocketPermissions=600
Priority=low
User=anon
[DesktopPicker.Applet]
Priority=low
KeepAlive=1
User=anon
[ResourceGraph.Applet]
Arguments=--cpu=CPUGraph,#00bb00 --memory=MemoryGraph,#00bbbb
Priority=low
KeepAlive=1
User=anon
[Audio.Applet]
Priority=low
KeepAlive=1
User=anon
[Network.Applet]
Arguments=--name=Network
Priority=low
KeepAlive=1
User=anon
[ClipboardHistory.Applet]
Priority=low
KeepAlive=1
User=anon
[AudioServer]
# TODO: It would be nice to make this lazy, but Audio.Applet connects to it immediately on startup anyway.
Socket=/tmp/portal/audio
@ -134,20 +107,6 @@ KeepAlive=1
User=anon
BootModes=text,graphical
[Taskbar]
KeepAlive=1
User=anon
[Desktop]
Executable=/bin/FileManager
Arguments=--desktop
KeepAlive=1
User=anon
[Terminal]
User=anon
WorkingDirectory=/home/anon
[Shell@tty0]
Executable=/bin/Shell
StdIO=/dev/tty0
@ -203,3 +162,7 @@ BootModes=self-test
[SpiceAgent]
KeepAlive=0
[SystemServer]
Arguments=--user
User=anon