mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 18:32:28 -05:00
9794e18a20
This was actually rather painless and straightforward. WindowServer now runs as the "window" user. Users in the "window" group can connect to it via the socket in /tmp/portal/window as usual.
60 lines
914 B
INI
60 lines
914 B
INI
[TTYServer]
|
|
# NOTE: We don't start anything on tty0 since that's the "active" TTY while WindowServer is up.
|
|
Arguments=tty1
|
|
StdIO=/dev/tty1
|
|
Priority=high
|
|
|
|
[ProtocolServer]
|
|
Socket=/tmp/portal/protocol
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=protocol
|
|
|
|
[LookupServer]
|
|
Socket=/tmp/portal/lookup
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=lookup
|
|
|
|
[WindowServer]
|
|
Socket=/tmp/portal/window
|
|
SocketPermissions=660
|
|
Priority=high
|
|
KeepAlive=1
|
|
User=window
|
|
|
|
[Clock.MenuApplet]
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[CPUGraph.MenuApplet]
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Audio.MenuApplet]
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[UserName.MenuApplet]
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[AudioServer]
|
|
Socket=/tmp/portal/audio
|
|
# TODO: we may want to start it lazily, but right now WindowServer connects to it immediately on startup
|
|
Priority=high
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Taskbar]
|
|
Priority=high
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Terminal]
|
|
User=anon
|