Skip to content

Commit 8a26759

Browse files
committed
Create X authorization after the Xorg server is started
Otherwise m_display is not yet set. Issue: #390
1 parent c58196e commit 8a26759

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/daemon/XorgDisplayServer.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,6 @@ namespace SDDM {
116116
if (m_started)
117117
return false;
118118

119-
// generate auth file
120-
addCookie(m_authPath);
121-
changeOwner(m_authPath);
122-
123119
// create process
124120
process = new QProcess(this);
125121

@@ -199,6 +195,10 @@ namespace SDDM {
199195
emit started();
200196
}
201197

198+
// generate auth file
199+
addCookie(m_authPath);
200+
changeOwner(m_authPath);
201+
202202
// set flag
203203
m_started = true;
204204

0 commit comments

Comments
 (0)