Skip to content

Commit 6fdee0c

Browse files
committed
Do not force -nolisten tcp
Set the new ServerArguments setting with "-nolisten tcp" by default. Users that don't want it will simply override the setting. Closes #325
1 parent c3e881b commit 6fdee0c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/common/Configuration.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ namespace SDDM {
5454
// TODO: Not absolutely sure if everything belongs here. Xsessions, VT and probably some more seem universal
5555
Section(XDisplay,
5656
Entry(ServerPath, QString, _S("/usr/bin/X"), _S("X server path"));
57-
Entry(ServerArguments, QString, _S(""), _S("X server arguments"));
57+
Entry(ServerArguments, QString, _S("-nolisten tcp"), _S("X server arguments"));
5858
Entry(XephyrPath, QString, _S("/usr/bin/Xephyr"), _S("Xephyr path"));
5959
Entry(XauthPath, QString, _S("/usr/bin/xauth"), _S("Xauth path"));
6060
Entry(SessionDir, QString, _S("/usr/share/xsessions"), _S("Session description directory"));

src/daemon/XorgDisplayServer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ namespace SDDM {
156156
// start display server
157157
QStringList args = mainConfig.XDisplay.ServerArguments.get().split(" ", QString::SkipEmptyParts);
158158
args << "-auth" << m_authPath
159-
<< "-nolisten" << "tcp"
160159
<< "-background" << "none"
161160
<< "-noreset"
162161
<< "-displayfd" << QString::number(pipeFds[1])

0 commit comments

Comments
 (0)