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 |
@@ -184,12 +184,14 @@ XwaylandSocket::XwaylandSocket(OperationMode mode) |
9 |
} |
10 |
|
11 |
const int abstractFileDescriptor = listen_helper(socketFilePath, UnixSocketAddress::Type::Abstract, mode); |
12 |
+#if defined(Q_OS_LINUX) |
13 |
if (abstractFileDescriptor == -1) { |
14 |
QFile::remove(lockFilePath); |
15 |
QFile::remove(socketFilePath); |
16 |
close(unixFileDescriptor); |
17 |
continue; |
18 |
} |
19 |
+#endif |
20 |
|
21 |
m_socketFilePath = socketFilePath; |
22 |
m_lockFilePath = lockFilePath; |