Added
Link Here
|
1 |
$ kwin_wayland --xwayland |
2 |
[...] |
3 |
kwin_xwl: Failed to find free X11 connection socket |
4 |
Failed to establish X11 socket |
5 |
|
6 |
--- src/xwl/lib/xwaylandsocket.cpp.orig 2021-10-26 12:27:37 UTC |
7 |
+++ src/xwl/lib/xwaylandsocket.cpp |
8 |
@@ -183,7 +183,11 @@ XwaylandSocket::XwaylandSocket(OperationMode mode) |
9 |
continue; |
10 |
} |
11 |
|
12 |
+#if defined(Q_OS_LINUX) |
13 |
const int abstractFileDescriptor = listen_helper(socketFilePath, UnixSocketAddress::Type::Abstract, mode); |
14 |
+#else |
15 |
+ const int abstractFileDescriptor = listen_helper(socketFilePath + "_", UnixSocketAddress::Type::Unix, mode); |
16 |
+#endif |
17 |
if (abstractFileDescriptor == -1) { |
18 |
QFile::remove(lockFilePath); |
19 |
QFile::remove(socketFilePath); |