Hello everyone, I modified the following file: /etc/opt/kde3/share/config/kdm/Xservers so that my X server won't listen to tcp connetions. I added the "-nolisten tcp" to the main line there. I restarted the X Server and when I use netstat I don' t longer see any line listening on port 6000. Before I had: 0.0.0.0:6000 After the change I was expecting to see: 127.0.0.1:6000 The problem is I don't see anything now. How come? I thought that the "-nolisten tcp" argument meant that X should listen only on the loopback device. Isn't X client-server model? Or does it use IPC ? Thanks in advance, Jorge
Quoting Jorge F?bregas <fabregasj@prtc.net>:
Hello everyone,
I modified the following file:
/etc/opt/kde3/share/config/kdm/Xservers
so that my X server won't listen to tcp connetions. I added the "-nolisten tcp" to the main line there. I restarted the X Server and when I use netstat I don' t longer see any line listening on port 6000. Before I had:
0.0.0.0:6000
After the change I was expecting to see:
127.0.0.1:6000
The problem is I don't see anything now. How come? I thought that the "-nolisten tcp" argument meant that X should listen only on the loopback device. Isn't X client-server model? Or does it use IPC ?
It is listening on a Unix domain socket, e.g., /tmp/.X11-unix/X0. HTH, Jeffrey
participants (2)
-
Jeffrey L. Taylor
-
Jorge Fábregas