diff --git a/Base/etc/SystemServer.ini b/Base/etc/SystemServer.ini index 02d93d59d5..40381e257f 100644 --- a/Base/etc/SystemServer.ini +++ b/Base/etc/SystemServer.ini @@ -15,6 +15,7 @@ KeepAlive=1 User=anon [WindowServer] +Socket=/tmp/portal/window Priority=high KeepAlive=1 User=anon diff --git a/Libraries/LibGUI/GWindowServerConnection.h b/Libraries/LibGUI/GWindowServerConnection.h index 522dcb9bcd..218cc0944a 100644 --- a/Libraries/LibGUI/GWindowServerConnection.h +++ b/Libraries/LibGUI/GWindowServerConnection.h @@ -14,7 +14,7 @@ class GWindowServerConnection : public IPC::Client::Connectionlisten("/tmp/wsportal"); + bool ok = m_server->take_over_from_system_server(); + ASSERT(ok); m_server->on_ready_to_accept = [this] { auto client_socket = m_server->accept();