Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDDM always starts X with '-nolisten tcp' #325

Closed
RAMeijer opened this issue Dec 4, 2014 · 3 comments
Closed

SDDM always starts X with '-nolisten tcp' #325

RAMeijer opened this issue Dec 4, 2014 · 3 comments
Assignees
Milestone

Comments

@RAMeijer
Copy link

RAMeijer commented Dec 4, 2014

I would like to use SDDM but had to switch back to LightDM as I could not find a way to turn off the option '-nolisten tcp' and I need to be able to connect to my X from remote machines...

The only places I can find any reference to that option are the binary itself and the log file:

[root@x-ray ~]# locate sddm|xargs grep -lr nolisten
/usr/bin/sddm
/var/log/sddm.log

Am I missing something?

@phavx
Copy link

phavx commented Jan 17, 2015

Not a developer of sddm, but a quick grep throught the sources for "nolisten" only finds on instance:

src/daemon/XorgDisplayServer.cpp: << "-nolisten" << "tcp"

So a patch is easy, though a compile time option or ideally a config setting would be better, imho.

@jleclanche
Copy link
Member

We need to get the xorg startup arguments from sddm.conf. I think this should be in 1.0 tbh, but it'll depend if anyone wants to pick it up. Marking.

@jleclanche jleclanche added this to the 1.0.0 milestone Feb 20, 2015
@jleclanche jleclanche modified the milestones: New 1.0, 0.12 Jul 16, 2015
@plfiorini plfiorini mentioned this issue Aug 20, 2015
@plfiorini plfiorini modified the milestones: 0.12, New 1.0 Aug 20, 2015
@plfiorini plfiorini self-assigned this Aug 20, 2015
@BETLOG
Copy link

BETLOG commented Nov 22, 2019

[edit] Solution:

sudo nano /etc/lightdm/lightdm.conf

[SeatDefaults]
xserver-allow-tcp=true

OR (OS dependent)

/etc/sddm.conf

[X11]
ServerArguments=-listen tcp -dpi 96

[original comment]
I've just spent several hours trying to figure out why my desktop wont allow me to '-listen tcp' ...and which files even determine this. But I am no closer to a solution. Did someone revert something in Kubuntu 18.04?

uname -a
Linux betlogbrick 4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants