[Bug 969849] New: X server can not be switched to listen on tcp port
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=969849 Bug ID: 969849 Summary: X server can not be switched to listen on tcp port Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: x86-64 OS: openSUSE 42.1 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: werner@suse.com QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- AFACIS from testing the command X :1 -listen tcp vt8 does not open a tcp port anymore. This is what netstat -tuwp reports here. Side effect is that I'm not able to connect such an X server with xterm -display <host>:1 nor with Xdmx :1 -display :0 -display <host>:1 +xinerama instead I see No protocol specified xterm: Xt error: Can't open display: <host>:1 No protocol specified (Fatal Error) dmx: dmxOpenDisplay: Unable to open display <host>:1 with <host> equal to the FQDN of my second host here. IMHO it is OK is -nolisten is the default but this look more like the code for listen on tcp has been disabled on compile time or removed from source by default. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=969849
http://bugzilla.suse.com/show_bug.cgi?id=969849#c1
--- Comment #1 from Dr. Werner Fink
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=969849
http://bugzilla.suse.com/show_bug.cgi?id=969849#c2
--- Comment #2 from Dr. Werner Fink
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=969849
http://bugzilla.suse.com/show_bug.cgi?id=969849#c3
Dr. Werner Fink
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=969849
http://bugzilla.suse.com/show_bug.cgi?id=969849#c4
Egbert Eich
Ahhh ... the X server *requires* a magic cookie to allow the remote connection. This seems to be new and should be documented.
After using keygen to create a MIT-MAGIC-COOKIE-1 it works at least for the xterm and also the Xdmx.
You can use all sorts of access control: host based, auth based or si (server interpreted). The only thing is that access control is required for all but local connections. This has been for a while already. In the code I was able to trace this back since XFree86. To get back the 'old' behaviour, you'd need to specify '-ac' along with '-listen tcp' or run 'xhost +' from a local connection. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com